summaryrefslogtreecommitdiff
path: root/inventory/group_vars/k8s-chtest
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/group_vars/k8s-chtest')
-rw-r--r--inventory/group_vars/k8s-chtest/main.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/inventory/group_vars/k8s-chtest/main.yml b/inventory/group_vars/k8s-chtest/main.yml
new file mode 100644
index 00000000..2e5d56d3
--- /dev/null
+++ b/inventory/group_vars/k8s-chtest/main.yml
@@ -0,0 +1,41 @@
+---
+docker_pkg_provider: docker-com
+docker_pkg_name: docker-ce
+
+kubernetes_version: 1.18.3
+kubernetes_container_runtime: docker
+kubernetes_network_plugin: kubeguard
+
+kubernetes:
+ cluster_name: chtest
+
+ dedicated_master: True
+ api_extra_sans:
+ - 178.63.180.139
+ - 178.63.180.140
+
+ pod_ip_range: 172.18.0.0/16
+ pod_ip_range_size: 24
+ service_ip_range: 172.18.192.0/18
+
+
+kubernetes_secrets:
+ encryption_config_keys: "{{ vault_kubernetes_encryption_config_keys }}"
+
+
+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-k8s-w0: 1
+ ch-k8s-w1: 2
+ ch-k8s-m0: 100
+ ch-k8s-m1: 101
+ ch-k8s-m2: 102
+
+kubernetes_overlay_node_ip: "{{ kubernetes.pod_ip_range | ipsubnet(kubernetes.pod_ip_range_size, kubeguard.node_index[inventory_hostname]) | ipaddr(1) | ipaddr('address') }}"
+
+kubernetes_metrics_server_version: 0.3.6