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

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