Role - kubeinit_k8s
Role Documentation
Please, refer to the kubeinit_k8s role official docs for further information.
Role Defaults
This section highlights all of the defaults and variables set within the “kubeinit_k8s” role.
# All variables intended for modification should be placed in this file.
# All variables within this role should have a prefix of "kubeinit_k8s_"
kubeinit_k8s_debug: '{{ (ansible_verbosity | int) >= 2 | bool }}'
kubeinit_k8s_hide_sensitive_logs: true
kubeinit_k8s_kubernetes_version: '1.30'
# This is the default container runtime that
# will be deployed when the Vanila k8s cluster
# is deployed.
# So far, cri-o should be the default option,
# but when testing confidential-containers
# at the moment only containerd will work.
kubeinit_k8s_container_runtime: cri-o
# kubeinit_k8s_container_runtime: "containerd"
kubeinit_k8s_flannel_version: 0.25.4
kubeinit_k8s_kustomize_version: 5.4.2
# This is the cluster CIDR taken from the net-conf.json in the kube-flannel-cfg configmap here:
# https://github.com/flannel-io/flannel/releases/download/v{{ kubeinit_k8s_flannel_version }}/kube-flannel.yml
kubeinit_k8s_pod_network_cidr: 10.244.0.0/16
Tasks files
This section highlights all the documentation available in the tasks files.
Molecule Scenarios
Molecule is being used to test the “kubeinit_k8s” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.