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
70
stars
64
forks
source link
feat: (IAC-1047) Update to newer release for cluster-autoscaler in EKS #473
Update the default CLUSTER_AUTOSCALER_CHART_VERSION documentation to indicate that a helm chartVersion of 9.29.1 will be used for EKS Kubernetes clusters whose version is >= 1.25
Update the chartVersion value to 9.29.1 that will be used for Kubernetes clusters using versions 1.25 or later
Remove the appVersion value from the CLUSTER_AUTOSCALER_CONFIG for the latest autoScalerVersions entry, Thomas advised that it can be misleading to provide an appVersion since the appVersion field is informational only and has no impact on the chart version calculations.
Tests
Scenario
Provider
kubernetes_version
cluster-autoscaler chart version
cluster-autoscaler application Version
order
cadence
notes
1
AWS
1.26 (v1.26.7-eks)
9.29.1
1.27.2
n/a
n/a
iac-aws apply created cluster with min_node=1 for each worker node group. Stopped the single CAS node instance, the autoscaler restarted a new one to replace it within a few minutes, see PNG screen captures in the scenario1 folder of the IAC-1047.zip file
2
AWS
1.26 (v1.26.7-eks)
9.29.1
1.27.2
n/a
n/a
iac-aws apply created cluster with min_node=3 for the stateless node group. 3 stateless nodes were created as indicated. Stopped 2 stateless node instances, as each stateless node moved to the fully terminated state, the autoscaler created a new node to replace the terminated node within a few minutes, see PNG screen captures in the scenario2 folder of the IAC-1047.zip file
Changes
CLUSTER_AUTOSCALER_CHART_VERSION
documentation to indicate that a helmchartVersion
of 9.29.1 will be used for EKS Kubernetes clusters whose version is >= 1.25chartVersion
value to 9.29.1 that will be used for Kubernetes clusters using versions 1.25 or laterappVersion
value from theCLUSTER_AUTOSCALER_CONFIG
for the latestautoScalerVersions
entry, Thomas advised that it can be misleading to provide anappVersion
since theappVersion
field is informational only and has no impact on the chart version calculations.Tests