Try Kubernetes 1.24.4.

This commit is contained in:
Jeff Geerling 2022-09-15 17:41:21 -05:00
parent 57292bdfc8
commit 70e203de3f
5 changed files with 11 additions and 26 deletions

View File

@ -43,13 +43,13 @@ jobs:
include:
- distro: rockylinux8
playbook: converge.yml
# - distro: ubuntu2004
# playbook: converge.yml
# - distro: debian11
# playbook: converge.yml
- distro: ubuntu2004
playbook: converge.yml
- distro: debian11
playbook: converge.yml
# - distro: debian11
# playbook: calico.yml
- distro: debian11
playbook: calico.yml
steps:
- name: Check out the codebase.

View File

@ -27,8 +27,8 @@ kubernetes_packages:
Kubernetes packages to be installed on the server. You can either provide a list of package names, or set `name` and `state` to have more control over whether the package is `present`, `absent`, `latest`, etc.
```yaml
kubernetes_version: '1.25'
kubernetes_version_rhel_package: '1.25.0'
kubernetes_version: '1.24'
kubernetes_version_rhel_package: '1.24.4'
```
The minor version of Kubernetes to install. The plain `kubernetes_version` is used to pin an apt package version on Debian, and as the Kubernetes version passed into the `kubeadm init` command (see `kubernetes_version_kubeadm`). The `kubernetes_version_rhel_package` variable must be a specific Kubernetes release, and is used to pin the version on Red Hat / CentOS servers.

View File

@ -9,8 +9,8 @@ kubernetes_packages:
- name: kubernetes-cni
state: present
kubernetes_version: '1.25'
kubernetes_version_rhel_package: '1.25.0'
kubernetes_version: '1.24'
kubernetes_version_rhel_package: '1.24.4'
kubernetes_role: control_plane

View File

@ -9,7 +9,7 @@ platforms:
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /var/lib/containerd
privileged: true
pre_build_image: true

View File

@ -25,21 +25,6 @@
{{ kubernetes_kubeadm_init_extra_opts }}
register: kubeadmin_init
when: (not kubernetes_init_stat.stat.exists) and (kubernetes_ignore_preflight_errors is defined)
# failed_when: false # DELETEME START ---
# - name: Test
# command: systemctl status kubelet
# changed_when: false
# register: systemctl_result
# - debug: var=systemctl_result
# - name: Test 2
# command: journalctl --no-pager -xeu kubelet
# changed_when: false
# register: journalctl_result
# - debug: var=journalctl_result
# # DELETEME END ---
- name: Print the init output to screen.
debug: