I should install k3s without lvm
This commit is contained in:
parent
82c63c2628
commit
2b560deaad
2 changed files with 28 additions and 23 deletions
|
|
@ -11,3 +11,4 @@ kubernetes_k3s_version: 1.31.0+k3s1
|
|||
kubernetes_pods_network: "10.244.0.0/16"
|
||||
lb_auth_pass: 1be344d62acc46c6858ae8475668a245
|
||||
kubernetes_swap_enabled: false
|
||||
kubernetes_lvm: true
|
||||
|
|
|
|||
|
|
@ -82,6 +82,10 @@
|
|||
- "crictl"
|
||||
- "ctr"
|
||||
|
||||
- name: Create logical volume for k3s
|
||||
when:
|
||||
- kubernetes_lvm|bool
|
||||
block:
|
||||
- name: Create thin volumes for k3s
|
||||
community.general.lvol:
|
||||
vg: "{{ item.vg }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue