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.

28 lines
682 B

  1. [Unit]
  2. Description=Kubernetes API Server
  3. Documentation=https://github.com/GoogleCloudPlatform/kubernetes
  4. Requires=etcd.service
  5. After=etcd.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. $KUBELET_PORT \
  16. $KUBE_ALLOW_PRIV \
  17. $KUBE_SERVICE_ADDRESSES \
  18. $KUBE_ADMISSION_CONTROL \
  19. $KUBE_RUNTIME_CONFIG \
  20. $KUBE_TLS_CONFIG \
  21. $KUBE_API_ARGS
  22. Restart=on-failure
  23. Type=notify
  24. LimitNOFILE=65536
  25. [Install]
  26. WantedBy=multi-user.target