Skip to content

Commit 5f6b3af

Browse files
authored
Add sudo when running systemctl
For someone following the guide to setup a cluster, sudo is being used in the initial commands, I think it would great to carry this on till the last commands.
1 parent b905af1 commit 5f6b3af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ or `/etc/default/kubelet`(`/etc/sysconfig/kubelet` for RPMs), please remove it a
307307
Restarting the kubelet is required:
308308

309309
```bash
310-
systemctl daemon-reload
311-
systemctl restart kubelet
310+
sudo systemctl daemon-reload
311+
sudo systemctl restart kubelet
312312
```
313313

314314
The automatic detection of cgroup driver for other container runtimes

0 commit comments

Comments
 (0)