k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
749 B
30 lines
749 B
[Unit]
|
|
Description=Kubernetes API Server
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
Requires=etcd.service
|
|
After=etcd.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/kubernetes/kube-apiserver.env
|
|
User=kube
|
|
ExecStart={{ bin_dir }}/kube-apiserver \
|
|
$KUBE_LOGTOSTDERR \
|
|
$KUBE_LOG_LEVEL \
|
|
$KUBE_ETCD_SERVERS \
|
|
$KUBE_API_ADDRESS \
|
|
$KUBE_API_PORT \
|
|
$KUBE_API_INSECURE_BIND \
|
|
$KUBELET_PORT \
|
|
$KUBE_ALLOW_PRIV \
|
|
$KUBE_SERVICE_ADDRESSES \
|
|
$KUBE_ADMISSION_CONTROL \
|
|
$KUBE_RUNTIME_CONFIG \
|
|
$KUBE_TLS_CONFIG \
|
|
$KUBE_API_ARGS \
|
|
$KUBELET_CLOUDPROVIDER
|
|
Restart=on-failure
|
|
Type=notify
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|