From 4113181fff14a44ad616e3fc4163e44741c8a7c1 Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Mon, 15 Jan 2024 15:59:25 +0100 Subject: [PATCH] Add a snap volume for every kubernetes node --- kubenodes.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/kubenodes.yaml b/kubenodes.yaml index c0969c3..c232bdd 100644 --- a/kubenodes.yaml +++ b/kubenodes.yaml @@ -1,12 +1,22 @@ --- -- name: Create kubernetes nodes os volume +- name: Create os volume for kubernetes nodes openstack.cloud.volume: state: present size: 30 image: debian-12 is_bootable: true state: present - name: kube{{ item }}-matrix-test-sunet-se-vol + name: kube{{ item }}-matrix-test-sunet-se-osvol + loop: "{{ range(1,4)|list }}" + +- name: Create snap volume for kubernetes nodes + openstack.cloud.volume: + state: present + size: 20 + image: debian-12 + is_bootable: true + state: present + name: kube{{ item }}-matrix-test-sunet-se-snapvol loop: "{{ range(1,4)|list }}" - name: OS secgroups