diff --git a/cluster/ubuntu/config-default.sh b/cluster/ubuntu/config-default.sh index c83b0b72dcc..aef361bf86b 100755 --- a/cluster/ubuntu/config-default.sh +++ b/cluster/ubuntu/config-default.sh @@ -86,8 +86,8 @@ FLANNEL_OTHER_NET_CONFIG=${FLANNEL_OTHER_NET_CONFIG:-""} export ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota -# Path to the config file or directory of files of kubelet -export KUBELET_CONFIG=${KUBELET_CONFIG:-""} +# Path to the pod manifest file or directory of files of kubelet +export KUBELET_POD_MANIFEST_PATH=${KUBELET_POD_MANIFEST_PATH:-""} # A port range to reserve for services with NodePort visibility SERVICE_NODE_PORT_RANGE=${SERVICE_NODE_PORT_RANGE:-"30000-32767"} diff --git a/cluster/ubuntu/util.sh b/cluster/ubuntu/util.sh index 773d242e5e5..997201609f2 100755 --- a/cluster/ubuntu/util.sh +++ b/cluster/ubuntu/util.sh @@ -296,7 +296,7 @@ KUBELET_OPTS="\ --logtostderr=true \ --cluster-dns=${3} \ --cluster-domain=${4} \ - --config=${5} \ + --pod-manifest-path=${5} \ --allow-privileged=${6} $cni_opts" EOF @@ -558,7 +558,7 @@ function provision-node() { '${MASTER_IP}' \ '${DNS_SERVER_IP}' \ '${DNS_DOMAIN}' \ - '${KUBELET_CONFIG}' \ + '${KUBELET_POD_MANIFEST_PATH}' \ '${ALLOW_PRIVILEGED}' \ '${CNI_PLUGIN_CONF}' create-kube-proxy-opts \ @@ -660,7 +660,7 @@ function provision-masterandnode() { '${MASTER_IP}' \ '${DNS_SERVER_IP}' \ '${DNS_DOMAIN}' \ - '${KUBELET_CONFIG}' \ + '${KUBELET_POD_MANIFEST_PATH}' \ '${ALLOW_PRIVILEGED}' \ '${CNI_PLUGIN_CONF}' create-kube-proxy-opts \