-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new directory and file for 1.14 and above by removing --allow-…
…privileged=true flag (#327)
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[Unit] | ||
Description=Kubernetes Kubelet | ||
Documentation=https://github.com/kubernetes/kubernetes | ||
After=docker.service | ||
Requires=docker.service | ||
|
||
[Service] | ||
ExecStartPre=/sbin/iptables -P FORWARD ACCEPT | ||
ExecStart=/usr/bin/kubelet --cloud-provider aws \ | ||
--config /etc/kubernetes/kubelet/kubelet-config.json \ | ||
--kubeconfig /var/lib/kubelet/kubeconfig \ | ||
--container-runtime docker \ | ||
--network-plugin cni $KUBELET_ARGS $KUBELET_EXTRA_ARGS | ||
|
||
Restart=on-failure | ||
RestartForceExitStatus=SIGPIPE | ||
RestartSec=5 | ||
KillMode=process | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters