sassoftware / viya4-iac-gcp

This project contains Terraform configuration files to provision infrastructure components required to deploy SAS Viya platform products on Google Cloud
Apache License 2.0
21 stars 17 forks source link

feat: (IAC-695) Add Support for K8s 1.26 #169

Closed jarpat closed 1 year ago

jarpat commented 1 year ago

Changes

Updates kubectl to 1.25.8 and sets the default versions in our example file to 1.25 now that most recent SAS Viya Platform release supports K8s 1.26

Updates made to how the Provider based kubernetes configuration file is generated, the format has been updated to support the use of the gke-gcloud-auth-plugin. The gke-gcloud-auth-plugin binary is required to access any GKE clusters when using kubectl 1.26+ with a "provider based kubernetes configuration file. The "service account and cluster role binding" kubernetes configuration file variant remains the same and still does not require either gcloud or the gke-gcloud-auth-plugin binary to communicate with the cluster.

See doc here: https://github.com/sassoftware/viya4-iac-gcp/blob/IAC-695/docs/user/Kubeconfig.md#notes---viya4-iac-gcp450

Tests

Scenario Provider Cadence kubernetes_version Kube Config Type Orchestration Deployment Method kubectl version INGRESS_NGINX_CHART_VERSION Notes
1 GCP fast:2020 1.26 (v1.26.3-gke.1000) Static DO Docker 1.25.8 4.5.2
2 GCP fast:2020 1.25 (v1.25.8-gke.1000) Static DO Docker 1.25.8 4.5.2
3 GCP fast:2020 1.24 (v1.24.12-gke.1000) Static DO Docker 1.25.8 4.5.2
4 GCP fast:2020 1.26 (v1.26.3-gke.1000) Non-static (auth plugin) DO Docker 1.25.8 4.5.2
5 GCP fast:2020 1.26 (v1.26.3-gke.1000) Non-static (auth plugin) Deploy Docker 1.25.8 4.5.2
6 GCP fast:2020 1.26 (v1.26.3-gke.1000) Non-static (auth plugin) DO Ansible 1.25.8 4.5.2
7 GCP fast:2020 1.26 (v1.26.3-gke.1000) Non-static (auth plugin) Deploy Ansible 1.25.8 4.5.2 SAS will document that this scenario is not supported