-
Notifications
You must be signed in to change notification settings - Fork 431
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
enable/disable AKS cluster add-ons #2095
enable/disable AKS cluster add-ons #2095
Conversation
Hi @michalno1. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/area managedclusters |
/ok-to-test |
4ce312d
to
127f2dd
Compare
127f2dd
to
98a3006
Compare
98a3006
to
e0cc92d
Compare
code lgtm Can we add some test coverage to the AKS spec we run tests against at Is there a "simple" addon we can enable in the After making that change run Thanks! |
Heads up I'm removing the multi-tenancy flavor in #2143 to replace it with the regular "aks" flavor since all templates have multi-tenancy now, it's redundant to have a separate "multi-tenancy" flavor. Going forward we'll be testing with https://github.com/kubernetes-sigs/cluster-api-provider-azure/tree/ab1aec6f47646a1f03839b4a4e1b3047cf3aea42/templates/test/ci/prow-aks. |
9c32edb
to
368c445
Compare
@jackfrancis From the addons that can be used I think a good one for testing is @jackfrancis @CecileRobertMichon It seems to me existing e2e tests just check if everything started successfully. Shouldn't they also somehow verify flavor specific settings are really in effect? |
@michalno1 I have a slight preference for not testing functional outcomes and instead relying upon the AKS API to do that if it accepts our requests. The only reason is that it would add test maintenance for outcomes outside of our control (i.e., AKS operational behaviors). But it's not a simple issue, as the project would benefit having more coverage signal to add customer confidence that "this particular way of using AKS will have the desired effect". |
368c445
to
4a1a830
Compare
4a1a830
to
40b3fa8
Compare
@@ -23,6 +23,9 @@ metadata: | |||
name: ${CLUSTER_NAME} | |||
namespace: default | |||
spec: | |||
addonProfiles: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we shouldn't enable features for tests directly in the flavors as those are also exposed as examples for users, but we can add patches in the test/ directory for that sort of stuff
since this is likely to merge before #2143 and I'm removing this template anyways, let's keep this for now and I'll do some cleanup in my PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/assign @CecileRobertMichon |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR allows enabling/disabling AKS cluster add-ons.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1145
Release note: