From 19302e70106360004a819798b60eaf842916a70a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 13 Jan 2022 22:27:36 +0100 Subject: ch-apps: basic install --- inventory/host_vars/ch-apps.yml | 52 +++++++++++++++++++++++++++++++++++++++++ inventory/hosts.ini | 1 + 2 files changed, 53 insertions(+) (limited to 'inventory') diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml index 5d7d27ab..b04d7978 100644 --- a/inventory/host_vars/ch-apps.yml +++ b/inventory/host_vars/ch-apps.yml @@ -19,6 +19,24 @@ install: size: 100g properties: 'syncoid:sync': 'false' + system_lvm: + volumes: + - name: root + size: 3G + filesystem: ext4 + mountpoint: / + - name: var + size: 1280M + filesystem: ext4 + mountpoint: /var + - name: var+log + size: 768M + filesystem: ext4 + mountpoint: /var/log + mount_options: + - noatime + - nodev + - noexec interfaces: - bridge: br-svc name: svc0 @@ -43,6 +61,9 @@ apt_repo_components: - main - contrib ## for zfs +spreadspace_apt_repo_components: + - container + zfs_arc_size: min: 512MB @@ -58,3 +79,34 @@ zfs_sanoid_modules: use_template: production recursive: yes process_children_only: yes + storage/docker: + use_template: ignore + recursive: yes + storage/kubelet: + use_template: ignore + recursive: yes + + +docker_pkg_provider: docker-com + +docker_storage: + type: zfs + pool: storage + name: docker + properties: + quota: 10G + 'syncoid:sync': 'false' + +kubelet_storage: + type: zfs + pool: storage + name: kubelet + properties: + quota: 10G + 'syncoid:sync': 'false' + +kubernetes_version: 1.23.1 +kubernetes_cri_tools_pkg_version: 1.22.0-1 +kubernetes_container_runtime: docker +kubernetes_standalone_max_pods: 42 +kubernetes_standalone_cni_variant: with-portmap diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 0cf1dd8e..44d89a04 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -507,6 +507,7 @@ k8s-emc k8s-chtest [standalone-kubelet] +ch-apps sk-cloudio ele-thetys ele-coturn -- cgit v1.2.3