Skip to content

Commit 73d62c6

Browse files
authored
SYS-684 upgrades kubernetes 1.35.3, restic 0.18.1-r5 (#270)
1 parent e499e8b commit 73d62c6

6 files changed

Lines changed: 15 additions & 17 deletions

File tree

ansible/roles/docker_node/handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
- name: Restart sshd
1717
service:
18-
name: sshd
18+
name: ssh
1919
state: restarted
2020

2121
- name: Reload systemd

ansible/roles/kubernetes/defaults/main.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ k8s_defaults:
1313
admin_config: /etc/kubernetes/admin.conf
1414
config_fetch_always: false
1515
apt_repo:
16-
# TODO parameterize hardcoded 1.34 value
17-
repo: deb [signed-by=/etc/apt/keyrings/kubernetes.asc] https://pkgs.k8s.io/core:/stable:/v1.34/deb/ /
18-
url: https://pkgs.k8s.io/core:/stable:/v1.34/deb/Release.key
16+
# TODO parameterize hardcoded 1.35 value
17+
repo: deb [signed-by=/etc/apt/keyrings/kubernetes.asc] https://pkgs.k8s.io/core:/stable:/v1.35/deb/ /
18+
url: https://pkgs.k8s.io/core:/stable:/v1.35/deb/Release.key
1919
cplane_hostip: "{{ hostvars[groups['k8s_cplane'][0]]['ansible_default_ipv4']['address'] | default(groups['k8s_cplane'][0]) }}"
2020
cplane_vip: "{{ hostvars[groups['k8s_cplane'][0]]['ansible_default_ipv4']['address'] | default(groups['k8s_cplane'][0]) }}"
2121
# TODO: might be able to retire cri-dockerd
@@ -26,15 +26,14 @@ k8s_defaults:
2626
local_vols: /var/lib/docker/k8s-volumes
2727
cplane: False
2828
pod_network: 10.244.0.0/16
29-
pod_infra_container_image: registry.k8s.io/pause:3.10.1
3029
service:
3130
enabled: yes
3231
name: kubelet
3332
state: restarted
3433
service_network: 10.96.0.0/12
35-
version: 1.34.3
36-
coredns_version: v1.11.3
37-
cni_version: 1.7.1
34+
version: 1.35.3
35+
coredns_version: v1.13.1
36+
cni_version: 1.8.0
3837
k8s_override: {}
3938
k8s: "{{ k8s_defaults | combine(k8s_override) }}"
4039

ansible/roles/kubernetes/tasks/cplane.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@
3737
# TODO - sed s/kubernetes/{{hostname -s}}/g
3838

3939
- name: Symlink .kube/admin.conf
40-
local_action:
41-
module: file
40+
ansible.builtin.file:
4241
src: "{{ admin_conf_dest }}"
4342
dest: /home/{{ username.stdout }}/.kube/admin.conf
4443
state: link
44+
delegate_to: localhost
4545
when: not kubeadm_ca.stat.exists or k8s.config_fetch_always
4646

4747
- name: Symlink .kube/config
48-
local_action:
49-
module: file
48+
ansible.builtin.file:
5049
src: "{{ admin_conf_dest }}"
5150
dest: /home/{{ username.stdout }}/.kube/config
5251
state: link
52+
delegate_to: localhost
5353
when: not kubeadm_ca.stat.exists or k8s.config_fetch_always
5454

5555
- name: Create kubelet service override directory

ansible/roles/kubernetes/tasks/cri-dockerd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
--network-plugin=cni \
3333
--cni-bin-dir=/opt/cni/bin \
3434
--cni-cache-dir=/var/lib/cni/cache \
35-
--cni-conf-dir=/etc/cni/net.d \
36-
--pod-infra-container-image={{ k8s.pod_infra_container_image }}
35+
--cni-conf-dir=/etc/cni/net.d
3736
3837
- name: Enable cri-docker.service
3938
ansible.builtin.systemd:

k8s/helm/restic/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ sources:
66
- https://github.com/instantlinux/docker-tools
77
- https://github.com/restic/restic
88
type: application
9-
version: 0.1.23
9+
version: 0.1.24
1010
# Remember to update restic==<ver> in values.yaml as releases are published;
1111
# the values.yaml file is not able to reference .Chart.appVersion
12-
appVersion: "0.18.1-r4"
12+
appVersion: "0.18.1-r5"
1313
dependencies:
1414
- name: chartlib
1515
version: 0.1.8

k8s/helm/restic/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ deployment:
1717
mkdir -p /var/log/week && tail -f -n 0 /var/log/restic.log
1818
env:
1919
# Edit the version in Chart.yaml to keep consistent
20-
app_version: 0.18.1-r4
20+
app_version: 0.18.1-r5
2121
env: /etc/profile
2222
tz: UTC
2323
nodeSelector:

0 commit comments

Comments
 (0)