diff --git a/contrib/init/systemd/environ/kubelet b/contrib/init/systemd/environ/kubelet index f4d0da2bc5c..303850be496 100644 --- a/contrib/init/systemd/environ/kubelet +++ b/contrib/init/systemd/environ/kubelet @@ -10,5 +10,8 @@ KUBELET_PORT="--port=10250" # You may leave this blank to use the actual hostname KUBELET_HOSTNAME="--hostname_override=127.0.0.1" +# location of the api-server +KUBELET_API_SERVER="--api_server=127.0.0.1:8080" + # Add your own! KUBELET_ARGS="" diff --git a/contrib/init/systemd/kubelet.service b/contrib/init/systemd/kubelet.service index 9c43f50ef1c..112dbe6dc1f 100644 --- a/contrib/init/systemd/kubelet.service +++ b/contrib/init/systemd/kubelet.service @@ -11,7 +11,7 @@ EnvironmentFile=-/etc/kubernetes/kubelet ExecStart=/usr/bin/kubelet \ $KUBE_LOGTOSTDERR \ $KUBE_LOG_LEVEL \ - $KUBE_ETCD_SERVERS \ + $KUBELET_API_SERVER \ $KUBELET_ADDRESS \ $KUBELET_PORT \ $KUBELET_HOSTNAME \