-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SYS-626 ubuntu 24.04 and ansible updates for k8s 1.31 (#169)
* SYS-626 ubuntu 24.04 and ansible updates for k8s 1.31
- Loading branch information
1 parent
9e57a5d
commit 0d3db95
Showing
36 changed files
with
258 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[fileservers] | ||
k2.ci.net | ||
|
||
[k8s_master] | ||
[k8s_cplane] | ||
borg1.ci.net | ||
|
||
[k8s_nodes] | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
- name: Thin pool create | ||
lvol: | ||
lv: thinpool | ||
shrink: False | ||
size: "{{ docker.thinpool.size }}" | ||
vg: "{{ thinpool_vg }}" | ||
|
||
- name: Thin pool meta | ||
lvol: | ||
lv: thinpoolmeta | ||
vg: "{{ thinpool_vg }}" | ||
size: "{{ docker.thinpool.meta_size }}" | ||
|
||
- name: Convert thinpool | ||
command: > | ||
lvconvert -y --zero n -c 512K --thinpool {{ thinpool_vg }}/thinpool | ||
--poolmetadata {{ thinpool_vg }}/thinpoolmeta | ||
args: | ||
creates: /dev/mapper/{{ thinpool_vg_alt }}-thinpool_tdata | ||
|
||
- name: LVM profile path | ||
file: | ||
path: /etc/lvm/profile | ||
state: directory | ||
|
||
- name: Define thinpool autoextend | ||
template: | ||
dest: /etc/lvm/profile/{{ thinpool_vg }}-thinpool.profile | ||
src: thinpool.profile.j2 | ||
notify: Activate thinpool autoextend | ||
|
||
- name: Initiate thinpool autoextend | ||
shell: > | ||
lvchange --metadataprofile {{ thinpool_vg }}-thinpool {{ thinpool_vg }}/thinpool && | ||
lvs -o+seg_monitor | ||
changed_when: False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.