mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 01:08:58 +03:00
Protect the Kubelet API
Setting required to prevent: https://github.com/kayrus/kubelet-exploit
This commit is contained in:
@@ -185,6 +185,7 @@ Requires=crio.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/kubelet \\
|
ExecStart=/usr/local/bin/kubelet \\
|
||||||
|
--authorization-mode=Webhook \\
|
||||||
--allow-privileged=true \\
|
--allow-privileged=true \\
|
||||||
--cluster-dns=10.32.0.10 \\
|
--cluster-dns=10.32.0.10 \\
|
||||||
--cluster-domain=cluster.local \\
|
--cluster-domain=cluster.local \\
|
||||||
|
|||||||
Reference in New Issue
Block a user