Skip to content

Conversation

jarpat
Copy link
Contributor

@jarpat jarpat commented Feb 21, 2023

Changes

Since the SAS Viya Platform will be supporting K8s 1.23, 1.24, and 1.25 in March as part of the 2023.03 cadence, the kubectl version is being changed to 1.24.10 so that it's within the +/- 1 range of the supported versions.

We've also now added support for using aliased kubernetes versions.

This is only applicable in the "version based" scenario (omitting kubernetes_channel or setting it to "UNSPECIFIED"), Google supports the use of aliased versions when creating your kubernetes cluster. The required format for using aliased versions in your tfvars for kubernetes_version looks like:

  • 1.X
    • Specifies the highest valid patch+gke.N patch release in the 1.X minor version
  • 1.X.Y
    • Specifies the highest valid gke.N patch in the 1.X.Y patch release.

For example you could set:

kubernetes_version = "1.24"

And Google will choose the "highest valid patch+gke.N patch release in the 1.24 minor version" they currently have available.

Setting the full version like before is still supported. (e.g. 1.24.9-gke.3200)

The Kubernetes Versions documentation has been updated to describe this usage

Tests

Ran through the following scenarios, the internal ticket has more details.

Scenario Task Provider Order Cadence kubernetes_version Actual Kubernetes Cluster Version Orchestration Deployment Method kubectl Version INGRESS_NGINX_CHART_VERSION
1 OOTB GCP ------ stable:2023.02 1.24 1.24.9-gke.3200 Deployment Operator Docker 1.24.10 4.3.0
2 OOTB GCP ------ stable:2023.01 1.23.15 1.23.15-gke.1900 Deployment Operator Docker 1.24.10 4.3.0
3 OOTB + Logging Monitoring GCP ------ fast:2020 1.25.6-gke.200 1.25.6-gke.200 Deployment Operator Docker 1.24.10 4.3.0

@jarpat jarpat added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 21, 2023
@jarpat jarpat self-assigned this Feb 21, 2023
@jarpat jarpat marked this pull request as ready for review February 21, 2023 22:12
@jarpat jarpat merged commit 5e600d2 into staging Feb 27, 2023
@jarpat jarpat deleted the IAC-901 branch February 27, 2023 20:15
@riragh riragh mentioned this pull request Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants