Skip to content

[installer-tests] Support tests against multiple version of k8s and ubuntu images #11568

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

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

nandajavarma
Copy link
Contributor

@nandajavarma nandajavarma commented Jul 22, 2022

Description

This PR parameterize the version of node image when possible and version of kubernetes. The node images are not configurable easily on managed self-hosted instances. We can only use the supported images corresponding to the Kubernetes version we are using. Hence the all supported ubuntu versions are tested only in the k3s setup.

Related Issue(s)

Fixes #11349
Fixes #11272

How to test

One can use any of the suggested commands in this internal document to test.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@nandajavarma nandajavarma force-pushed the nvn/fix-11349 branch 4 times, most recently from 6d5c7aa to 2f96118 Compare July 25, 2022 11:34
@nandajavarma nandajavarma marked this pull request as ready for review July 25, 2022 11:34
@nandajavarma nandajavarma requested a review from a team July 25, 2022 11:34
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Jul 25, 2022
@nandajavarma nandajavarma marked this pull request as draft July 27, 2022 10:46
@nandajavarma nandajavarma force-pushed the nvn/fix-11349 branch 3 times, most recently from 842a561 to 1fbce6f Compare July 28, 2022 12:12
@nandajavarma nandajavarma marked this pull request as ready for review July 28, 2022 12:13
tags = {}
api_server_authorized_ip_ranges = []

kubernetes_version = var.cluster_version
Copy link
Contributor

Choose a reason for hiding this comment

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

I have a feeling that this may break in time. Azure tend to remove versions of k8s at fairly short notice, which is why the data "azurerm_kubernetes_service_versions" is the recommended way of getting the versions. You can use a version_prefix as well

My suggestion is to keep this change as you've done it, but do so in the knowledge that we may have to change it in the future.

@mrsimonemms
Copy link
Contributor

mrsimonemms commented Aug 1, 2022

/hold

This only exists so you can see the comment. I'm happy for you remove it at will

@nandajavarma nandajavarma force-pushed the nvn/fix-11349 branch 2 times, most recently from efd29cf to 113a1d3 Compare August 1, 2022 11:49
@nandajavarma
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit efe7930 into main Aug 1, 2022
@roboquat roboquat deleted the nvn/fix-11349 branch August 1, 2022 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none size/XL team: delivery Issue belongs to the self-hosted team
Projects
None yet
3 participants