Skip to content

Commit e40b8b2

Browse files
authored
28.0.0+1.31.5 (#56)
* fix typo * update .gitignore * update k8s_worker_release to 1.31.5
1 parent b2dc3c9 commit e40b8b2

4 files changed

Lines changed: 21 additions & 10 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.swp
22
*.retry
3+
.ansible
34
.vscode

CHANGELOG.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 28.0.0+1.31.5
4+
5+
- **UPDATE**
6+
- update `k8s_worker_release` to `1.31.5`
7+
38
## 27.0.1+1.30.9
49

510
- **UPDATE**
@@ -87,7 +92,7 @@
8792

8893
- **FEATURE**
8994
- When downloading the Kubernetes binaries the task checks the SHA512 checksum.
90-
- Introduce `k8s_worker_api_endpoint_host` and `k8s_worker_api_endpoint_port` variables. Previously `kubelet` and `kube-proxy` where configured to connect to the first host in the Ansible `k8s_controller` group and communicate with the `kube-apiserver` that was running there. This was hard-coded and couldn't be changed. If that host was down the K8s worker nodes didn't receive any updates. Now one can install and use a load balancer like `haproxy` e.g. that distributes requests between all `kube-apiserver`'s and takes a `kube-apiserver` out of rotation if that one is down (also see my Ansible [haproxy role](https://github.com/githubixx/ansible-role-haproxy) for that use case). The default is still to use the first host/kube-apiserver in the Ansible `k8s_controller` group. So behaviorwise nothing changed basically.
95+
- Introduce `k8s_worker_api_endpoint_host` and `k8s_worker_api_endpoint_port` variables. Previously `kubelet` and `kube-proxy` where configured to connect to the first host in the Ansible `k8s_controller` group and communicate with the `kube-apiserver` that was running there. This was hard-coded and couldn't be changed. If that host was down the K8s worker nodes didn't receive any updates. Now one can install and use a load balancer like `haproxy` e.g. that distributes requests between all `kube-apiserver`'s and takes a `kube-apiserver` out of rotation if that one is down (also see my Ansible [haproxy role](https://github.com/githubixx/ansible-role-haproxy) for that use case). The default is still to use the first host/kube-apiserver in the Ansible `k8s_controller` group. So behavior-wise nothing changed basically.
9196
- Add task to generate `kubeconfig` for `kubelet` service (previously this was a separate [playbook](https://github.com/githubixx/ansible-kubernetes-playbooks/tree/v15.0.0_r1.27.5/kubeauthconfig)).
9297
- Add task to generate `kubeconfig` for `kube-proxy` service (previously this was a separate [playbook](https://github.com/githubixx/ansible-kubernetes-playbooks/tree/v15.0.0_r1.27.5/kubeauthconfig)).
9398

@@ -139,7 +144,7 @@
139144
## 21.1.0+1.25.9
140145

141146
- update `k8s_release` to `1.25.9`
142-
- move kubelet parameter `--register-node` to `kubelet.conf` (using the option as parameter is deprected)
147+
- move kubelet parameter `--register-node` to `kubelet.conf` (using the option as parameter is deprecated)
143148
- `tasks/main.yml`: add `changed_when: false` to `Disable swap` task
144149
- `tasks/main.yml`: use `ansible.posix.mount` instead of `ansible.builtin.mount`
145150
- `kubelet`: remove `--container-runtime` (Flag `--container-runtime` has been deprecated, will be removed in 1.27 as the only valid value is `remote`)
@@ -259,7 +264,7 @@ update `k8s_release` to `1.24.4`
259264

260265
- update `k8s_release` to `1.14.2`
261266
- update `k8s_cni_plugin_version` to `0.7.5`
262-
- introduce `k8s_cni_plugin_checksum` variable to determine if CNI plugin tarball has changed and needs to be unarchived
267+
- introduce `k8s_cni_plugin_checksum` variable to determine if CNI plugin tarball has changed and needs to be unarchive
263268

264269
## 8.0.1+1.13.5
265270

@@ -308,7 +313,7 @@ update `k8s_release` to `1.24.4`
308313

309314
- update `k8s_release` to `1.10.4`
310315
- introduce `k8s_worker_kubelet_conf_yaml` variable
311-
- removed deprecated setttings in `k8s_worker_kubelet_settings`
316+
- removed deprecated settings in `k8s_worker_kubelet_settings`
312317
- moved settings in `k8s_worker_kubelet_settings` to `k8s_worker_kubelet_conf_yaml`:
313318
see [kubelet-config-file](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/)
314319
see [types.go](https://github.com/kubernetes/kubernetes/blob/release-1.10/pkg/kubelet/apis/kubeletconfig/v1beta1/types.go)
@@ -328,7 +333,7 @@ update `k8s_release` to `1.24.4`
328333

329334
## r4.1.0_v1.9.3
330335

331-
- remove obsolet kubeconfig.j2 template
336+
- remove obsolete kubeconfig.j2 template
332337

333338
## r4.0.0_v1.9.3
334339

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This Ansible role is used in [Kubernetes the not so hard way with Ansible - Work
44

55
## Versions
66

7-
I tag every release and try to stay with [semantic versioning](http://semver.org). If you want to use the role I recommend to checkout the latest tag. The master branch is basically development while the tags mark stable releases. But in general I try to keep master in good shape too. A tag `27.0.1+1.30.9` means this is release `27.0.1` of this role and it's meant to be used with Kubernetes version `1.30.9` (but should work with any K8s 1.30.x release of course). If the role itself changes `X.Y.Z` before `+` will increase. If the Kubernetes version changes `X.Y.Z` after `+` will increase too. This allows to tag bugfixes and new major versions of the role while it's still developed for a specific Kubernetes release. That's especially useful for Kubernetes major releases with breaking changes.
7+
I tag every release and try to stay with [semantic versioning](http://semver.org). If you want to use the role I recommend to checkout the latest tag. The master branch is basically development while the tags mark stable releases. But in general I try to keep master in good shape too. A tag `28.0.0+1.31.5` means this is release `28.0.0` of this role and it's meant to be used with Kubernetes version `1.31.5` (but should work with any K8s 1.31.x release of course). If the role itself changes `X.Y.Z` before `+` will increase. If the Kubernetes version changes `X.Y.Z` after `+` will increase too. This allows to tag bugfixes and new major versions of the role while it's still developed for a specific Kubernetes release. That's especially useful for Kubernetes major releases with breaking changes.
88

99
## Requirements
1010

@@ -14,7 +14,7 @@ You also need [containerd](https://github.com/githubixx/ansible-role-containerd)
1414

1515
## Supported OS
1616

17-
- Ubuntu 20.04 (Focal Fossa) (reaches EOL April 2024 - not recommended)
17+
- Ubuntu 20.04 (Focal Fossa) (reaches EOL April 2025 - not recommended)
1818
- Ubuntu 22.04 (Jammy Jellyfish)
1919
- Ubuntu 24.04 (Noble Numbat) (recommended)
2020

@@ -28,6 +28,11 @@ See full [CHANGELOG.md](https://github.com/githubixx/ansible-role-kubernetes-wor
2828

2929
**Recent changes:**
3030

31+
## 28.0.0+1.31.5
32+
33+
- **UPDATE**
34+
- update `k8s_worker_release` to `1.31.5`
35+
3136
## 27.0.1+1.30.9
3237

3338
- **UPDATE**
@@ -63,7 +68,7 @@ See full [CHANGELOG.md](https://github.com/githubixx/ansible-role-kubernetes-wor
6368
roles:
6469
- name: githubixx.kubernetes_worker
6570
src: https://github.com/githubixx/ansible-role-kubernetes-worker.git
66-
version: 27.0.1+1.30.9
71+
version: 28.0.0+1.31.5
6772
```
6873
6974
## Role Variables
@@ -91,7 +96,7 @@ k8s_worker_pki_dir: "{{ k8s_worker_conf_dir }}/pki"
9196
k8s_worker_bin_dir: "/usr/local/bin"
9297

9398
# K8s release
94-
k8s_worker_release: "1.30.9"
99+
k8s_worker_release: "1.31.5"
95100

96101
# The interface on which the Kubernetes services should listen on. As all cluster
97102
# communication should use a VPN interface the interface name is

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ k8s_worker_pki_dir: "{{ k8s_worker_conf_dir }}/pki"
2121
k8s_worker_bin_dir: "/usr/local/bin"
2222

2323
# K8s release
24-
k8s_worker_release: "1.30.9"
24+
k8s_worker_release: "1.31.5"
2525

2626
# The interface on which the Kubernetes services should listen on. As all cluster
2727
# communication should use a VPN interface the interface name is

0 commit comments

Comments
 (0)