OCPBUGS-35752: capi/aws: disable EKS controller in CAPA#8628
OCPBUGS-35752: capi/aws: disable EKS controller in CAPA#8628openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
Conversation
The EKS controller feature gate is enabled by default in CAPA, which causes the following lines to show up in the logs: ``` time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613409 349 logger.go:75] \"enabling EKS controllers and webhooks\" logger=\"setup\"" time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613416 349 logger.go:81] \"EKS IAM role creation\" logger=\"setup\" enabled=false" time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613420 349 logger.go:81] \"EKS IAM additional roles\" logger=\"setup\" enabled=false" time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613425 349 logger.go:81] \"enabling EKS control plane controller\" logger=\"setup\"" time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613449 349 logger.go:81] \"enabling EKS bootstrap controller\" logger=\"setup\"" time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613464 349 logger.go:81] \"enabling EKS managed cluster controller\" logger=\"setup\"" time="2024-06-18T11:43:59Z" level=debug msg="I0618 11:43:59.613496 349 logger.go:81] \"enabling EKS managed machine pool controller\" logger=\"setup\"" ``` Although harmless, they can be confusing for users. This change disables the feature so the lines are gone and we are not running controllers unnecessarily.
|
@r4f4: This pull request references Jira Issue OCPBUGS-35752, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
Here is the feature gate: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/feature/feature.go#L99 |
|
/uncc @andfasano @rwsu |
|
e2e-aws-ovn build log: |
|
/assign @patrickdillon |
mtulio
left a comment
There was a problem hiding this comment.
LGTM with suggestions.
/lgtm
| "--webhook-port={{.WebhookPort}}", | ||
| "--webhook-cert-dir={{.WebhookCertDir}}", | ||
| "--feature-gates=BootstrapFormatIgnition=true,ExternalResourceGC=true,TagUnmanagedNetworkResources=false", | ||
| "--feature-gates=BootstrapFormatIgnition=true,ExternalResourceGC=true,TagUnmanagedNetworkResources=false,EKS=false", |
There was a problem hiding this comment.
@r4f4 looks like FG AutoControllerIdentityCreator(1) is also enabled(2) by default in the current version, are we using it or should we disable it?
I was looking if we have an easy way to "disable-all" then enable desired to prevent upstream changes introducing new unwanted features, or disable something we are using, but it looks like there is not possible.
There was a problem hiding this comment.
But one that is currently disabled by default and we could add to the list is the ROSA one
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: patrickdillon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@r4f4: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
@r4f4: Jira Issue OCPBUGS-35752: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-35752 has been moved to the MODIFIED state. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/cherry-pick release-4.16 |
|
@r4f4: new pull request created: #8694 DetailsIn response to this:
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-sigs/prow repository. |
The EKS controller feature gate is enabled by default in CAPA, which causes the following lines to show up in the logs:
Although harmless, they can be confusing for users. This change disables the feature so the lines are gone and we are not running controllers unnecessarily.