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
758 B

  1. [Unit]
  2. Description=Kubernetes API Server
  3. Documentation=https://github.com/GoogleCloudPlatform/kubernetes
  4. Wants=etcd-proxy.service
  5. After=etcd-proxy.service
  6. [Service]
  7. EnvironmentFile=/etc/kubernetes/kube-apiserver.env
  8. User=kube
  9. ExecStart={{ bin_dir }}/kube-apiserver \
  10. $KUBE_LOGTOSTDERR \
  11. $KUBE_LOG_LEVEL \
  12. $KUBE_ETCD_SERVERS \
  13. $KUBE_API_ADDRESS \
  14. $KUBE_API_PORT \
  15. $KUBE_API_INSECURE_BIND \
  16. $KUBELET_PORT \
  17. $KUBE_ALLOW_PRIV \
  18. $KUBE_SERVICE_ADDRESSES \
  19. $KUBE_ADMISSION_CONTROL \
  20. $KUBE_RUNTIME_CONFIG \
  21. $KUBE_TLS_CONFIG \
  22. $KUBE_API_ARGS \
  23. $KUBELET_CLOUDPROVIDER
  24. Restart=on-failure
  25. Type=notify
  26. LimitNOFILE=65536
  27. [Install]
  28. WantedBy=multi-user.target