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 \
|
2015-02-05 16:36:55 +00:00
|
|
|
$KUBE_LOGTOSTDERR \
|
|
|
|
$KUBE_LOG_LEVEL \
|
|
|
|
$KUBE_ETCD_SERVERS \
|
|
|
|
$KUBE_API_ADDRESS \
|
|
|
|
$KUBE_API_PORT \
|
|
|
|
$KUBELET_PORT \
|
|
|
|
$KUBE_ALLOW_PRIV \
|
|
|
|
$KUBE_SERVICE_ADDRESSES \
|
2015-03-20 19:27:55 +00:00
|
|
|
$KUBE_ADMISSION_CONTROL \
|
2015-02-05 16:36:55 +00:00
|
|
|
$KUBE_API_ARGS
|
2014-10-15 15:55:20 +00:00
|
|
|
Restart=on-failure
|
2015-02-26 18:54:55 +00:00
|
|
|
LimitNOFILE=65536
|
2014-10-15 15:55:20 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|