summaryrefslogtreecommitdiff
path: root/inventory/group_vars/k8s-chtest
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-05-14 04:10:08 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-05-14 04:10:08 +0200
commit3f2eae6e3d167c231805b88f9ec624c2f8d5b88c (patch)
tree3c0a014cd20b919e77c0c6bf4ea141dcaef0c8c3 /inventory/group_vars/k8s-chtest
parentkubernetes: fix sanity checks (diff)
kubernetes/kubeadm: nuke all bootstrap tokens on cluster-cleanup
Diffstat (limited to 'inventory/group_vars/k8s-chtest')
-rw-r--r--inventory/group_vars/k8s-chtest/vars.yml75
1 files changed, 36 insertions, 39 deletions
diff --git a/inventory/group_vars/k8s-chtest/vars.yml b/inventory/group_vars/k8s-chtest/vars.yml
index 2aa63de7..8ffa66b8 100644
--- a/inventory/group_vars/k8s-chtest/vars.yml
+++ b/inventory/group_vars/k8s-chtest/vars.yml
@@ -6,54 +6,51 @@ kubernetes_cri_tools_pkg_version: 1.26.0-00
kubernetes_container_runtime: containerd
containerd_pkg_provider: docker-com
+
### Kube-Router
#
-#kubernetes_network_plugin: kube-router
-#kubernetes_network_plugin_version: 1.5.1
-#kubernetes_network_plugin_replaces_kube_proxy: yes
-#kubernetes_enable_nodelocal_dnscache: yes
-
+kubernetes_network_plugin: kube-router
+kubernetes_network_plugin_version: 1.5.1
+kubernetes_network_plugin_replaces_kube_proxy: yes
+kubernetes_enable_nodelocal_dnscache: yes
### kubeguard
#
-kubernetes_network_plugin: kubeguard
-kubernetes_network_plugin_replaces_kube_proxy: no
-kubernetes_enable_nodelocal_dnscache: yes
-kubeguard:
- ## node_index must be in the range between 1 and 190 -> 189 hosts possible
- ##
- ## hardcoded hostnames are not nice but if we do this via host_vars
- ## the info is spread over multiple files and this makes it more diffcult
- ## to find mistakes, so it is nicer to keep it in one place...
- node_index:
- ch-calypso: 125
- ch-thetys: 126
- ch-k8s-ctrl: 127
-kubernetes_overlay_node_ip: "{{ kubernetes.pod_ip_range | ansible.utils.ipsubnet(kubernetes.pod_ip_range_size, kubeguard.node_index[inventory_hostname]) | ansible.utils.ipaddr(1) | ansible.utils.ipaddr('address') }}"
-
+#kubernetes_network_plugin: kubeguard
+#kubernetes_network_plugin_replaces_kube_proxy: no
+#kubernetes_enable_nodelocal_dnscache: yes
+#kubeguard:
+# ## node_index must be in the range between 1 and 190 -> 189 hosts possible
+# ##
+# ## hardcoded hostnames are not nice but if we do this via host_vars
+# ## the info is spread over multiple files and this makes it more diffcult
+# ## to find mistakes, so it is nicer to keep it in one place...
+# node_index:
+# ch-calypso: 125
+# ch-thetys: 126
+# ch-k8s-ctrl: 127
+#kubernetes_overlay_node_ip: "{{ kubernetes.pod_ip_range | ansible.utils.ipsubnet(kubernetes.pod_ip_range_size, kubeguard.node_index[inventory_hostname]) | ansible.utils.ipaddr(1) | ansible.utils.ipaddr('address') }}"
### Cilium
#
-# kubernetes_network_plugin: cilium
-# kubernetes_network_plugin_version: 1.13.2
-# kubernetes_network_plugin_replaces_kube_proxy: yes
-# kubernetes_enable_nodelocal_dnscache: no
-# kubernetes_cilium_config:
-# ipam: kubernetes
-# tunnel: disabled
-# ipv4-native-routing-cidr: 192.168.28.0/24
-# auto-direct-node-routes: yes
-# base_sysctl_config_user:
-# net.ipv4.conf.all.rp_filter: 0
-# net.ipv4.conf.default.rp_filter: 0
-
-
-#### None
+#kubernetes_network_plugin: cilium
+#kubernetes_network_plugin_version: 1.13.2
+#kubernetes_network_plugin_replaces_kube_proxy: yes
+#kubernetes_enable_nodelocal_dnscache: no
+#kubernetes_cilium_config:
+# ipam: kubernetes
+# tunnel: disabled
+# ipv4-native-routing-cidr: 192.168.28.0/24
+# auto-direct-node-routes: yes
+#base_sysctl_config_user:
+# net.ipv4.conf.all.rp_filter: 0
+# net.ipv4.conf.default.rp_filter: 0
+
+### None
#
-# kubernetes_network_plugin: none
-# kubernetes_network_plugin_replaces_kube_proxy: yes
-# kubernetes_enable_nodelocal_dnscache: no
-
+#kubernetes_network_plugin: none
+#kubernetes_network_plugin_replaces_kube_proxy: yes
+#kubernetes_enable_nodelocal_dnscache: no
kubernetes: