Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-containers / kubernetes / files / contrib / init / systemd / kube-proxy.service
diff --git a/meta-stx/recipes-containers/kubernetes/files/contrib/init/systemd/kube-proxy.service b/meta-stx/recipes-containers/kubernetes/files/contrib/init/systemd/kube-proxy.service
new file mode 100644 (file)
index 0000000..6574a7c
--- /dev/null
@@ -0,0 +1,18 @@
+[Unit]
+Description=Kubernetes Kube-Proxy Server
+Documentation=https://kubernetes.io/docs/concepts/overview/components/#kube-proxy https://kubernetes.io/docs/reference/generated/kube-proxy/
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/kubernetes/config
+EnvironmentFile=-/etc/kubernetes/proxy
+ExecStart=/usr/bin/kube-proxy \
+           $KUBE_LOGTOSTDERR \
+           $KUBE_LOG_LEVEL \
+           $KUBE_MASTER \
+           $KUBE_PROXY_ARGS
+Restart=on-failure
+LimitNOFILE=65536
+
+[Install]
+WantedBy=multi-user.target