Change over to static kubelet config
Removing deprecated kubelet command-line flags in favor of a static kubelet configuration file. Change-Id: Ib9f5e816db709e62152615ac832b99715ca82e3c See: https://review.opendev.org/#/c/687927/
This commit is contained in:
parent
bf280b624b
commit
63f14a7b4c
@ -26,6 +26,8 @@ data:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
config_file_overrides:
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- images
|
- images
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
@ -19,17 +19,22 @@ metadata:
|
|||||||
name: seccomp-default
|
name: seccomp-default
|
||||||
path: .seccompDirPath
|
path: .seccompDirPath
|
||||||
dest:
|
dest:
|
||||||
path: .arguments[9]
|
path: .arguments
|
||||||
pattern: SECCOMP_PROFILE_ROOT
|
pattern: SECCOMP_PROFILE_ROOT
|
||||||
|
recurse:
|
||||||
|
depth: 1
|
||||||
data:
|
data:
|
||||||
arguments:
|
arguments:
|
||||||
- --cni-bin-dir=/opt/cni/bin
|
- --cni-bin-dir=/opt/cni/bin
|
||||||
- --cni-conf-dir=/etc/cni/net.d
|
- --cni-conf-dir=/etc/cni/net.d
|
||||||
- --eviction-max-pod-grace-period=-1
|
|
||||||
- --network-plugin=cni
|
- --network-plugin=cni
|
||||||
- --node-status-update-frequency=5s
|
|
||||||
- --max-pods=200
|
|
||||||
- --kube-api-burst=40
|
|
||||||
- --kube-api-qps=20
|
|
||||||
- --seccomp-profile-root=SECCOMP_PROFILE_ROOT
|
- --seccomp-profile-root=SECCOMP_PROFILE_ROOT
|
||||||
- --feature-gates=PodShareProcessNamespace=true
|
config_file_overrides:
|
||||||
|
evictionMaxPodGracePeriod: -1
|
||||||
|
featureGates:
|
||||||
|
PodShareProcessNamespace: true
|
||||||
|
TaintBasedEvictions: false
|
||||||
|
kubeAPIBurst: 40
|
||||||
|
kubeAPIQPS: 20
|
||||||
|
maxPods: 200
|
||||||
|
nodeStatusUpdateFrequency: "5s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user