Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
3 new static kubelet configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Jan 3, 2018
1 parent a78a542 commit 98add88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/clusterdefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ Below is a list of kubelet options that are *not* currently user-configurable, e
|"--kubeconfig"|"/var/lib/kubelet/kubeconfig"|
|"--register-node" (master nodes only)|"true"|
|"--register-with-taints" (master nodes only)|"node-role.kubernetes.io/master=true:NoSchedule"|
|"--read-only-port"|"0"|
|"--protect-kernel-defaults"|"true"|
|"--keep-terminated-pod-volumes"|"false"|
|"--feature-gates" (agent nodes only)|"Accelerators=true"|

#### controllerManagerConfig
Expand Down
3 changes: 3 additions & 0 deletions pkg/acsengine/defaults-kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ func setKubeletConfig(cs *api.ContainerService) {
"--enforce-node-allocatable": "",
"--kubeconfig": "/var/lib/kubelet/kubeconfig",
"--azure-container-registry-config": "/etc/kubernetes/azure.json",
"--read-only-port": "0",
"--protect-kernel-defaults": "true",
"--keep-terminated-pod-volumes": "false",
}

staticWindowsKubeletConfig := make(map[string]string)
Expand Down

0 comments on commit 98add88

Please sign in to comment.