Add comments to variables

role_nftables
Ruakij 2 years ago
parent f9a859e95c
commit 4321d78cf8

@ -2,13 +2,15 @@
kubernetes: kubernetes:
ipPool: ipPool:
ipv4: ipv4:
# Minimum: /24
cluster_cidr: 10.42.0.0/16 cluster_cidr: 10.42.0.0/16
service_cidr: 10.43.0.0/16 service_cidr: 10.43.0.0/16
ipv6: ipv6:
# Minimum: /120
cluster_cidr: fd42::/56 cluster_cidr: fd42::/56
service_cidr: fd43::/112 service_cidr: fd43::/112
# Replace - with _ # Interface to grab node-IPv4/v6 from
nodeIp_interface: <interface to grab nodeIp from> nodeIp_interface: <interface to grab nodeIp from>
control_plane: control_plane:

@ -1,5 +1,6 @@
## Base ## ## Base ##
{% if inventory_hostname == groups['kubernetes'][0] %} {% if inventory_hostname == groups['kubernetes'][0] %}
# Initialize with internal etcd
cluster-init: true cluster-init: true
{% else %} {% else %}
server: https://{{ groups['kubernetes'][0] }}:6443 server: https://{{ groups['kubernetes'][0] }}:6443

Loading…
Cancel
Save