Skip to content

Commit

Permalink
kubelet-1.19: remove '--volume-plugin-dir', specify in config instead
Browse files Browse the repository at this point in the history
'--volume-plugin-dir' has been deprecated. Now specifying
volumePluginDir via kubelet's config file.
  • Loading branch information
etungsten committed Jan 6, 2021
1 parent 0d7efc1 commit dee158a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions packages/kubernetes-1.19/kubelet-config
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ serverTLSBootstrap: true
configMapAndSecretChangeDetectionStrategy: Cache
tlsCipherSuites:
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
volumePluginDir: "/var/lib/kubelet/plugins/volume/exec"
maxPods: {{default 110 settings.kubernetes.max-pods}}
1 change: 0 additions & 1 deletion packages/kubernetes-1.19/kubelet.service
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ ExecStart=/usr/bin/kubelet \
--network-plugin cni \
--root-dir /var/lib/kubelet \
--cert-dir /var/lib/kubelet/pki \
--volume-plugin-dir /var/lib/kubelet/plugins/volume/exec \
--node-ip ${NODE_IP} \
--node-labels "${NODE_LABELS}" \
--register-with-taints "${NODE_TAINTS}" \
Expand Down

0 comments on commit dee158a

Please sign in to comment.