mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 18:54:06 +00:00
Give kube-apiserver CAP_NET_BIND_SERVICE
It is needed to bind on port 443
This commit is contained in:
parent
e08bd6f3c3
commit
3d10f00401
@ -20,6 +20,10 @@
|
||||
notify:
|
||||
- restart scheduler
|
||||
|
||||
- name: add cap_net_bind_service to kube-apiserver
|
||||
capabilities: path=/usr/bin/kube-apiserver capability=cap_net_bind_service=ep state=present
|
||||
when: not is_atomic
|
||||
|
||||
- name: Enable apiserver
|
||||
service: name=kube-apiserver enabled=yes state=started
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user