mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Added --allow-privileged flag to kubelet and apiserver init command
This commit is contained in:
parent
c1b182694b
commit
b677d94bb9
@ -8,6 +8,7 @@ limit nofile 20000 20000
|
||||
kill timeout 30 # wait 30s between SIGTERM and SIGKILL.
|
||||
|
||||
exec /usr/local/bin/apiserver \
|
||||
--allow-privileged=true \
|
||||
--basic-auth-file=/srv/kubernetes/basic-auth.csv \
|
||||
--bind-address=%(api_private_address)s \
|
||||
--etcd-servers=%(etcd_servers)s \
|
||||
|
@ -9,6 +9,7 @@ kill timeout 60 # wait 60s between SIGTERM and SIGKILL.
|
||||
|
||||
exec /usr/local/bin/kubelet \
|
||||
--address=%(kubelet_bind_addr)s \
|
||||
--allow-privileged=true \
|
||||
--api-servers=%(kubeapi_server)s \
|
||||
--hostname-override=%(kubelet_bind_addr)s \
|
||||
--cadvisor-port=4193 \
|
||||
|
Loading…
Reference in New Issue
Block a user