Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: (IAC-1336) Add support for specifying K8s support plan #361

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

riragh
Copy link
Member

@riragh riragh commented Jan 26, 2024

Changes:

This PR enables user to specify the K8s support plan for the AKS cluster to add support for AKS LTS K8s versions. New variable aks_support_plan cluster_support_tier is introduced with possible values KubernetesOfficial and AKSLongTermSupport. Defaults to KubernetesOfficial.

AKSLongTermSupport can only be enabled along with SKU tier Premium. For details see Long term Support and for which K8s version has long term support see AKS Kubernetes release calendar.

Tests:

Verified following scenarios, see internal ticket for details:

Scenario Provider Task kubectl version cadence Notes
1 Azure aks_cluster_sku_tier = "Premium", aks_support_plan cluster_support_tier = "AKSLongTermSupport", network defaults: aks_network_plugin = "kubenet", aks_network_policy = null, aks_network_plugin_mode = null 1.27.9 fast:2020 (2024.02)
2 Azure aks_cluster_sku_tier = "Premium", aks_support_plan cluster_support_tier= "AKSLongTermSupport", aks_network_plugin = "azure", aks_network_policy = "azure", aks_network_plugin_mode = "overlay" 1.27.9 fast:2020 (2024.02)
3 Azure aks_cluster_sku_tier = "Standard", aks_support_plan cluster_support_tier= "AKSLongTermSupport", network defaults 1.27.9 fast:2020 (2024.02) This was negative test, received expected failure. LTS is only supported on SKU tier Premium.
4 Azure aks_cluster_sku_tier = "Standard", aks_support_plan cluster_support_tier= "KubernetesOfficial", network defaults 1.27.9 fast:2020 (2024.02)

@riragh riragh added the enhancement New feature or request label Jan 26, 2024
@riragh riragh self-assigned this Jan 26, 2024
Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable name change

docs/CONFIG-VARS.md Outdated Show resolved Hide resolved
Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

docs/CONFIG-VARS.md Outdated Show resolved Hide resolved
@riragh riragh merged commit b3586f2 into staging Jan 29, 2024
3 checks passed
@riragh riragh deleted the IAC-1336 branch January 29, 2024 20:12
@riragh riragh mentioned this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants