Default variables
- kubernetes_repo_url
Kubernetes repository URL
kubernetes_repo_url: "{{ _kubernetes_upstream_apt_repository }}"
- kubernetes_version
Kubernetes version
kubernetes_version: 1.22.7
- kubernetes_kernel_modules
List of kernel modules to be automatically loaded
kubernetes_kernel_modules:
- br_netfilter
- kubernetes_sysctls
List of sysctl
parameters to set
kubernetes_sysctls:
- name: net.ipv4.ip_forward
value: 1
- name: net.ipv4.tcp_l3mdev_accept
value: 1
- name: net.ipv4.udp_l3mdev_accept
value: 1
- name: net.bridge.bridge-nf-call-iptables
value: 1
- name: net.bridge.bridge-nf-call-ip6tables
value: 1
- name: net.ipv4.conf.all.rp_filter
value: 0
- name: net.ipv4.neigh.default.gc_thresh1
value: 128
- name: net.ipv4.neigh.default.gc_thresh2
value: 28872
- name: net.ipv4.neigh.default.gc_thresh3
value: 32768
- name: net.ipv6.neigh.default.gc_thresh1
value: 128
- name: net.ipv6.neigh.default.gc_thresh2
value: 28872
- name: net.ipv6.neigh.default.gc_thresh3
value: 32768
- kubernetes_control_plane_group
Name of Ansible group containing all control-plane nodes
kubernetes_control_plane_group: controllers
- kubernetes_control_plane_labels
Labels to apply for all control plane nodes
kubernetes_control_plane_labels:
openstack-control-plane: enabled
openvswitch: enabled
- kubernetes_compute_node_labels
Labels to apply for all compute nodes
kubernetes_compute_node_labels:
openstack-compute-node: enabled
openvswitch: enabled