HCL-TECH-SOFTWARE / connections-automation

Deployment and upgrade automation scripts for HCL Connections 7.0 based on Ansible
Apache License 2.0
17 stars 30 forks source link

Kubernetes versions just with .1 are available #238

Closed stoeps13 closed 1 year ago

stoeps13 commented 1 year ago

Kubernetes has released 1.24.8, but the playbook seems to just install 1.24.1 (same for other versions, just x.y.1 templates are available. Installation fails if you set kubernetes_version to something different than x.y.1, no kubeadm config template for higher versions are available. From security perspective, newer versions should be possible and should be used as default. https://v1-24.docs.kubernetes.io/releases/download/

sabrina-yee commented 1 year ago

Agreed, we're working on K8s 1.25 support and will test with latest.

stoeps13 commented 1 year ago

So, you're changing the helm charts? I've seen several deprecated messages in 1.24, for stuff which was removed in 1.25.

sabrina-yee commented 1 year ago

Yes, working on changing the Helm charts that don't work on K8s 1.25 anymore.

stoeps13 commented 1 year ago

Hi @sabrina-yee, just deploying the last updates and trying the Kubernetes 1.25 update. First thing I felt over is the default version 1.25.1 why not using 1.25.6, there are tons of known issues with the .1 version. Regards, Christoph

sabrina-yee commented 1 year ago

Noted, you can override the default by setting __kubernetes_version. https://github.com/HCL-TECH-SOFTWARE/connections-automation/blob/3d6f96b5dd37112ebc28a881217fa5bdcba64735/roles/third_party/kubernetes/kubernetes-install/vars/main.yml#L2

We'll bump the default in our next push.

stoeps13 commented 1 year ago

Setting the version to 1.25.6 fails because the Jinja template is just for 1.25.1

sabrina-yee commented 1 year ago

There was an improvement made to move away from the dependency of version specific template.

stoeps13 commented 1 year ago

With the latest

stoeps13 commented 1 year ago

With the latest update, the update / install of K8s falls back to a generic kubeadm file.