sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71 stars 64 forks source link

(IAC-553) move to kubectl 1.22.10 to support k8s 1.23 #236

Closed dhoucgitter closed 2 years ago

dhoucgitter commented 2 years ago

Changes

Because Viya will support K8s 1.21, 1.22 and 1.23 in June 2022, the version of kubectl needs to be bumped up to 1.22 so that it will be in the required -1/+1 range for supported versions of K8s.

Tests

Cloud Provider kubectl version K8s version Cadence Deployment Stabilized
Azure 1.22.10 1.21.9 Fast:2020 Yes
Azure 1.22.10 1.21.7 Fast:2020 Yes
Azure 1.22.10 1.22.6 Fast:2020 Yes
Azure 1.22.10 1.23.5 Fast:2020 Yes
AWS 1.22.10 1.22.9 Fast:2020 Yes
AWSmith0216 commented 2 years ago

I've made similar comments elsewhere, but saying that "Viya will support K8s 1.21, 1.22 and 1.23 in June 2022" isn't quite accurate. Those versions will be supported at fast/2020, but lts/2022.1, which just came out in May 2022, only supports 1.20-1.22. Another LTS won't be released until November or thereabouts. So if kubectl is bumped to 1.22, this project would be using an unsupported kubectl version for LTS deployments into K8S 1.20.

That being said, I'm not saying this update shouldn't occur, and perhaps I'm being nitpicky. But it's something to keep in mind.