mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-08-29 13:47:06 +02:00
specify address and bind port
This commit is contained in:
parent
54ff919347
commit
2ae09c6bce
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Join control node to Kubernetes control plane.
|
- name: Join control node to Kubernetes control plane.
|
||||||
command: "{{ kubernetes_join_command }} --control-plane --certificate-key {{ kubernetes_certificate }} --ignore-preflight-errors='all'"
|
command: "{{ kubernetes_join_command }} --control-plane --apiserver-advertise-address {{ kubernetes_apiserver_advertise_address }} --apiserver-bind-port 6443 --certificate-key {{ kubernetes_certificate }} --ignore-preflight-errors='all'"
|
||||||
args:
|
args:
|
||||||
creates: /etc/kubernetes/kubelet.conf
|
creates: /etc/kubernetes/kubelet.conf
|
||||||
tags: ["skip_ansible_lint"]
|
tags: ["skip_ansible_lint"]
|
||||||
|
Loading…
Reference in New Issue
Block a user