mirror of https://github.com/easzlab/kubeasz.git
21 lines
501 B
Django/Jinja
21 lines
501 B
Django/Jinja
[Unit]
|
|
Description=Kubernetes Kube-Proxy Server
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
After=network.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/var/lib/kube-proxy
|
|
ExecStart={{ bin_dir }}/kube-proxy \
|
|
--bind-address={{ NODE_IP }} \
|
|
--hostname-override={{ NODE_IP }} \
|
|
--cluster-cidr={{ SERVICE_CIDR }} \
|
|
--kubeconfig=/etc/kubernetes/kube-proxy.kubeconfig \
|
|
--logtostderr=true \
|
|
--v=2
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|