Commit b677d94b authored by Federico Gimenez's avatar Federico Gimenez

Added --allow-privileged flag to kubelet and apiserver init command

parent c1b18269
...@@ -8,6 +8,7 @@ limit nofile 20000 20000 ...@@ -8,6 +8,7 @@ limit nofile 20000 20000
kill timeout 30 # wait 30s between SIGTERM and SIGKILL. kill timeout 30 # wait 30s between SIGTERM and SIGKILL.
exec /usr/local/bin/apiserver \ exec /usr/local/bin/apiserver \
--allow-privileged=true \
--basic-auth-file=/srv/kubernetes/basic-auth.csv \ --basic-auth-file=/srv/kubernetes/basic-auth.csv \
--bind-address=%(api_private_address)s \ --bind-address=%(api_private_address)s \
--etcd-servers=%(etcd_servers)s \ --etcd-servers=%(etcd_servers)s \
......
...@@ -9,6 +9,7 @@ kill timeout 60 # wait 60s between SIGTERM and SIGKILL. ...@@ -9,6 +9,7 @@ kill timeout 60 # wait 60s between SIGTERM and SIGKILL.
exec /usr/local/bin/kubelet \ exec /usr/local/bin/kubelet \
--address=%(kubelet_bind_addr)s \ --address=%(kubelet_bind_addr)s \
--allow-privileged=true \
--api-servers=%(kubeapi_server)s \ --api-servers=%(kubeapi_server)s \
--hostname-override=%(kubelet_bind_addr)s \ --hostname-override=%(kubelet_bind_addr)s \
--cadvisor-port=4193 \ --cadvisor-port=4193 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment