2014-10-15 15:55:20 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Kubernetes API Server
|
|
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/kubernetes/config
|
|
|
|
EnvironmentFile=-/etc/kubernetes/apiserver
|
|
|
|
User=kube
|
|
|
|
ExecStart=/usr/bin/kube-apiserver \
|
|
|
|
${KUBE_LOGTOSTDERR} \
|
|
|
|
${KUBE_LOG_LEVEL} \
|
|
|
|
${KUBE_ETCD_SERVERS} \
|
|
|
|
${KUBE_API_ADDRESS} \
|
|
|
|
${KUBE_API_PORT} \
|
2014-10-29 16:33:34 +00:00
|
|
|
${KUBELET_PORT} \
|
2014-10-15 15:55:20 +00:00
|
|
|
${KUBE_ALLOW_PRIV} \
|
|
|
|
${KUBE_SERVICE_ADDRESSES} \
|
|
|
|
${KUBE_API_ARGS}
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|