Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/docker_node/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- name: Restart sshd
service:
name: sshd
name: ssh
state: restarted

- name: Reload systemd
Expand Down
13 changes: 6 additions & 7 deletions ansible/roles/kubernetes/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ k8s_defaults:
admin_config: /etc/kubernetes/admin.conf
config_fetch_always: false
apt_repo:
# TODO parameterize hardcoded 1.34 value
repo: deb [signed-by=/etc/apt/keyrings/kubernetes.asc] https://pkgs.k8s.io/core:/stable:/v1.34/deb/ /
url: https://pkgs.k8s.io/core:/stable:/v1.34/deb/Release.key
# TODO parameterize hardcoded 1.35 value
repo: deb [signed-by=/etc/apt/keyrings/kubernetes.asc] https://pkgs.k8s.io/core:/stable:/v1.35/deb/ /
url: https://pkgs.k8s.io/core:/stable:/v1.35/deb/Release.key
cplane_hostip: "{{ hostvars[groups['k8s_cplane'][0]]['ansible_default_ipv4']['address'] | default(groups['k8s_cplane'][0]) }}"
cplane_vip: "{{ hostvars[groups['k8s_cplane'][0]]['ansible_default_ipv4']['address'] | default(groups['k8s_cplane'][0]) }}"
# TODO: might be able to retire cri-dockerd
Expand All @@ -26,15 +26,14 @@ k8s_defaults:
local_vols: /var/lib/docker/k8s-volumes
cplane: False
pod_network: 10.244.0.0/16
pod_infra_container_image: registry.k8s.io/pause:3.10.1
service:
enabled: yes
name: kubelet
state: restarted
service_network: 10.96.0.0/12
version: 1.34.3
coredns_version: v1.11.3
cni_version: 1.7.1
version: 1.35.3
coredns_version: v1.13.1
cni_version: 1.8.0
k8s_override: {}
k8s: "{{ k8s_defaults | combine(k8s_override) }}"

Expand Down
8 changes: 4 additions & 4 deletions ansible/roles/kubernetes/tasks/cplane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@
# TODO - sed s/kubernetes/{{hostname -s}}/g

- name: Symlink .kube/admin.conf
local_action:
module: file
ansible.builtin.file:
src: "{{ admin_conf_dest }}"
dest: /home/{{ username.stdout }}/.kube/admin.conf
state: link
delegate_to: localhost
when: not kubeadm_ca.stat.exists or k8s.config_fetch_always

- name: Symlink .kube/config
local_action:
module: file
ansible.builtin.file:
src: "{{ admin_conf_dest }}"
dest: /home/{{ username.stdout }}/.kube/config
state: link
delegate_to: localhost
when: not kubeadm_ca.stat.exists or k8s.config_fetch_always

- name: Create kubelet service override directory
Expand Down
3 changes: 1 addition & 2 deletions ansible/roles/kubernetes/tasks/cri-dockerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
--network-plugin=cni \
--cni-bin-dir=/opt/cni/bin \
--cni-cache-dir=/var/lib/cni/cache \
--cni-conf-dir=/etc/cni/net.d \
--pod-infra-container-image={{ k8s.pod_infra_container_image }}
--cni-conf-dir=/etc/cni/net.d

- name: Enable cri-docker.service
ansible.builtin.systemd:
Expand Down
4 changes: 2 additions & 2 deletions k8s/helm/restic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ sources:
- https://github.com/instantlinux/docker-tools
- https://github.com/restic/restic
type: application
version: 0.1.23
version: 0.1.24
# Remember to update restic==<ver> in values.yaml as releases are published;
# the values.yaml file is not able to reference .Chart.appVersion
appVersion: "0.18.1-r4"
appVersion: "0.18.1-r5"
dependencies:
- name: chartlib
version: 0.1.8
Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/restic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ deployment:
mkdir -p /var/log/week && tail -f -n 0 /var/log/restic.log
env:
# Edit the version in Chart.yaml to keep consistent
app_version: 0.18.1-r4
app_version: 0.18.1-r5
env: /etc/profile
tz: UTC
nodeSelector:
Expand Down
Loading