2016-01-22 13:25:33 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Kubernetes API Server
|
|
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
2016-07-11 14:05:05 +00:00
|
|
|
Wants=etcd-proxy.service
|
|
|
|
After=etcd-proxy.service
|
2016-01-22 13:25:33 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=/etc/kubernetes/kube-apiserver.env
|
|
|
|
User=kube
|
|
|
|
ExecStart={{ bin_dir }}/kube-apiserver \
|
2016-01-25 20:09:42 +00:00
|
|
|
$KUBE_LOGTOSTDERR \
|
|
|
|
$KUBE_LOG_LEVEL \
|
|
|
|
$KUBE_ETCD_SERVERS \
|
|
|
|
$KUBE_API_ADDRESS \
|
|
|
|
$KUBE_API_PORT \
|
2016-06-27 09:01:22 +00:00
|
|
|
$KUBE_API_INSECURE_BIND \
|
2016-01-25 20:09:42 +00:00
|
|
|
$KUBELET_PORT \
|
|
|
|
$KUBE_ALLOW_PRIV \
|
|
|
|
$KUBE_SERVICE_ADDRESSES \
|
|
|
|
$KUBE_ADMISSION_CONTROL \
|
|
|
|
$KUBE_RUNTIME_CONFIG \
|
2016-01-22 13:25:33 +00:00
|
|
|
$KUBE_TLS_CONFIG \
|
2016-03-29 12:50:22 +00:00
|
|
|
$KUBE_API_ARGS \
|
|
|
|
$KUBELET_CLOUDPROVIDER
|
2016-01-22 13:25:33 +00:00
|
|
|
Restart=on-failure
|
|
|
|
Type=notify
|
|
|
|
LimitNOFILE=65536
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|