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:
Doug Aaser 2019-10-21 17:34:06 +00:00
parent bf280b624b
commit 63f14a7b4c
2 changed files with 14 additions and 7 deletions

View File

@ -26,6 +26,8 @@ data:
type: array
items:
type: string
config_file_overrides:
type: object
required:
- images
additionalProperties: false

View File

@ -19,17 +19,22 @@ metadata:
name: seccomp-default
path: .seccompDirPath
dest:
path: .arguments[9]
path: .arguments
pattern: SECCOMP_PROFILE_ROOT
recurse:
depth: 1
data:
arguments:
- --cni-bin-dir=/opt/cni/bin
- --cni-conf-dir=/etc/cni/net.d
- --eviction-max-pod-grace-period=-1
- --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
- --feature-gates=PodShareProcessNamespace=true
config_file_overrides:
evictionMaxPodGracePeriod: -1
featureGates:
PodShareProcessNamespace: true
TaintBasedEvictions: false
kubeAPIBurst: 40
kubeAPIQPS: 20
maxPods: 200
nodeStatusUpdateFrequency: "5s"