mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
node e2e: run kubelet with kubenet
This commit is contained in:
parent
b096b4a2db
commit
5e0cc2179d
@ -241,6 +241,9 @@ func (es *e2eService) startKubeletServer() (*killCmd, error) {
|
|||||||
"--config", es.kubeletStaticPodDir,
|
"--config", es.kubeletStaticPodDir,
|
||||||
"--file-check-frequency", "10s", // Check file frequently so tests won't wait too long
|
"--file-check-frequency", "10s", // Check file frequently so tests won't wait too long
|
||||||
"--v", LOG_VERBOSITY_LEVEL, "--logtostderr",
|
"--v", LOG_VERBOSITY_LEVEL, "--logtostderr",
|
||||||
|
"--network-plugin=kubenet",
|
||||||
|
"--pod-cidr=10.180.0.0/24", // Assign a fixed CIDR to the node because there is no node controller.
|
||||||
|
"--hairpin-mode=hairpin-veth",
|
||||||
)
|
)
|
||||||
cmd := exec.Command("sudo", cmdArgs...)
|
cmd := exec.Command("sudo", cmdArgs...)
|
||||||
hcc := newHealthCheckCommand(
|
hcc := newHealthCheckCommand(
|
||||||
|
Loading…
Reference in New Issue
Block a user