Update k3s config file
This commit is contained in:
parent
e4fb1642e5
commit
2c69995cf9
1 changed files with 3 additions and 4 deletions
|
|
@ -40,11 +40,10 @@ selinux: true
|
|||
#embedded-registry: true
|
||||
disable:
|
||||
- traefik
|
||||
{% if kubernetes_interface is defined %}
|
||||
node-ip: {{ kubernetes_interface.address }}
|
||||
#node-ip: {{ lookup('vars', 'ansible_' + kubernetes_interface ).ipv4.address }}
|
||||
{% endif %}
|
||||
{% if lookup('vars', 'ansible_' + kubernetes_interface ) != ansible_host %}
|
||||
node-external-ip: {{ ansible_host }}
|
||||
{% endif %}
|
||||
node-ip: {{ lookup('vars', 'ansible_' + kubernetes_interface ).ipv4.address }}
|
||||
{% if false %}
|
||||
# node-external-ip: 1.2.3.4
|
||||
#node-label:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue