Update kubernetes to version 1.26.0
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
5fe7a7eec6
commit
faa4048861
3 changed files with 7 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ kubernetes_interface: '{{ ansible_default_ipv4.interface }}'
|
||||||
# value for kuberntes_network: flannel, calico, weave-net
|
# value for kuberntes_network: flannel, calico, weave-net
|
||||||
#kubernetes_network: weave-net
|
#kubernetes_network: weave-net
|
||||||
kubernetes_kubeproxy_mode: ipvs
|
kubernetes_kubeproxy_mode: ipvs
|
||||||
kubernetes_version: 1.25.5
|
kubernetes_version: 1.26.0
|
||||||
|
kubernetes_k3s_version: 1.26.0
|
||||||
kubernetes_pods_network: "10.244.0.0/16"
|
kubernetes_pods_network: "10.244.0.0/16"
|
||||||
lb_auth_pass: 1be344d62acc46c6858ae8475668a245
|
lb_auth_pass: 1be344d62acc46c6858ae8475668a245
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
when:
|
when:
|
||||||
- ansible_pkg_mgr == "dnf"
|
- ansible_pkg_mgr == "dnf"
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
- ansible_distribution_major_version == '8'
|
- ansible_distribution_major_version >= '8'
|
||||||
|
|
||||||
- name: Check if /usr/local/bin/k3s already existe
|
- name: Check if /usr/local/bin/k3s already existe
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
- name: Retreive k3s binary for x86_64
|
- name: Retreive k3s binary for x86_64
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://github.com/rancher/k3s/releases/download/v1.25.4%2Bk3s1/k3s"
|
url: "https://github.com/rancher/k3s/releases/download/v{{ kubernetes_k3s_version }}%2Bk3s1/k3s"
|
||||||
dest: "/usr/local/bin/k3s"
|
dest: "/usr/local/bin/k3s"
|
||||||
group: root
|
group: root
|
||||||
owner: root
|
owner: root
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
- name: Retreive k3s binary for arm64
|
- name: Retreive k3s binary for arm64
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://github.com/rancher/k3s/releases/download/v1.25.4%2Bk3s1/k3s-arm64"
|
url: "https://github.com/rancher/k3s/releases/download/v{{ kubernetes_k3s_version }}%2Bk3s1/k3s-arm64"
|
||||||
dest: "/usr/local/bin/k3s"
|
dest: "/usr/local/bin/k3s"
|
||||||
group: root
|
group: root
|
||||||
owner: root
|
owner: root
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
- name: Retreive k3s binary for armv6/armv7
|
- name: Retreive k3s binary for armv6/armv7
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://github.com/rancher/k3s/releases/download/v1.25.4%2Bk3s1/k3s-armhf"
|
url: "https://github.com/rancher/k3s/releases/download/v{{ kubernetes_k3s_version }}%2Bk3s1/k3s-armhf"
|
||||||
dest: "/usr/local/bin/k3s"
|
dest: "/usr/local/bin/k3s"
|
||||||
group: root
|
group: root
|
||||||
owner: root
|
owner: root
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
when:
|
when:
|
||||||
- kubernetes_kubeproxy_mode == "ipvs"
|
- kubernetes_kubeproxy_mode == "ipvs"
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
- ansible_distribution_major_version == '8'
|
- ansible_distribution_major_version >= '8'
|
||||||
|
|
||||||
- name: Create thin volumes for kubernetes
|
- name: Create thin volumes for kubernetes
|
||||||
community.general.lvol:
|
community.general.lvol:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue