summaryrefslogtreecommitdiff
path: root/inventory/group_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-16 19:23:20 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-16 19:23:20 +0200
commita7e29b93eefbc82c7740d45da0cc1e61a286a241 (patch)
tree5f411d5374fb72c2e6c8b9bbbac6042b465694d2 /inventory/group_vars
parentadd apt-repo/base and backports (diff)
kubernetes: set cgroup driver to systemd, enable metrics-server and node-local-dns
Diffstat (limited to 'inventory/group_vars')
-rw-r--r--inventory/group_vars/k8s-emc/main.yml2
-rw-r--r--inventory/group_vars/k8s-lwl/main.yml2
-rw-r--r--inventory/group_vars/kubernetes-cluster/vars.yml2
-rw-r--r--inventory/group_vars/kubernetes/vars.yml6
4 files changed, 12 insertions, 0 deletions
diff --git a/inventory/group_vars/k8s-emc/main.yml b/inventory/group_vars/k8s-emc/main.yml
index 367fcda9..605c7310 100644
--- a/inventory/group_vars/k8s-emc/main.yml
+++ b/inventory/group_vars/k8s-emc/main.yml
@@ -50,3 +50,5 @@ kubeguard:
ele-helene: eno2
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
diff --git a/inventory/group_vars/k8s-lwl/main.yml b/inventory/group_vars/k8s-lwl/main.yml
index 3827841a..791e393f 100644
--- a/inventory/group_vars/k8s-lwl/main.yml
+++ b/inventory/group_vars/k8s-lwl/main.yml
@@ -47,3 +47,5 @@ kubeguard:
lw-helene: eno2
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
diff --git a/inventory/group_vars/kubernetes-cluster/vars.yml b/inventory/group_vars/kubernetes-cluster/vars.yml
new file mode 100644
index 00000000..c1149988
--- /dev/null
+++ b/inventory/group_vars/kubernetes-cluster/vars.yml
@@ -0,0 +1,2 @@
+---
+kubernetes_nodelocal_dnscache_ip: 169.254.20.10
diff --git a/inventory/group_vars/kubernetes/vars.yml b/inventory/group_vars/kubernetes/vars.yml
new file mode 100644
index 00000000..a0e08c5c
--- /dev/null
+++ b/inventory/group_vars/kubernetes/vars.yml
@@ -0,0 +1,6 @@
+---
+kubernetes_cri_sockets:
+ containerd: "unix:///run/containerd/containerd.sock"
+ docker: ""
+
+kubernetes_cri_socket: "{{ kubernetes_cri_sockets[kubernetes_container_runtime] }}"