-
Notifications
You must be signed in to change notification settings - Fork 37
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
ExistingEKSCluster: unable to deploy awsnative-observability-pattern due to error: serviceaccounts "aws-load-balancer-controller" already exists #172
Comments
I have also confirmed that deployment of all of the above works fine when |
@JonVDB First question is how did you create your EKS Cluster before following the existing cluster pattern? Is your EKS cluster created via blueprints? If so or not so, did you have |
@elamaran11 I created my EKS Cluster using EKS Blueprints for CDK. The specific code can be found above in the spoilers ("details"). That code does include the I wasn't aware that Thank you for your swift response by the way, I do appreciate it! |
Hey @JonVDB Yes in your case, either remove the ALB and Argo Addon from previous cluster blueprint and add those addons to CDK stack with observability to existing cluster which has ObservabilityBuilder or create a new one. Basically the idea here is to demonstrate to users how to setup observability on top of existing clusters. Thankyou for trying these out for your implementation. |
@elamaran11 Perfect, thank you for explaining! |
@JonVDB Closing the issue. Based on our above interaction. Please reachout for any questions in future. |
Describe the bug
When trying to deploy existing-eks-awsnative-observability-pattern using the steps in EKS Blueprints for CDK Workshop: AWS Native Observability Pattern for an EKS Blueprints stack that has already deployed the AwsLoadBalancerControllerAddOn(), the deployment returns the error:
error when creating "/tmp/manifest.yaml": serviceaccounts "aws-load-balancer-controller" already exists
.I don't understand why it tries to deploy a second version of the LoadBalancerController?
To Reproduce
Steps to reproduce the behavior:
AwsLoadBalancerControllerAddOn()
without any special configurations.(This stack also includes the
nodeRole
,mngProps
andclusterProvider
as instructed in EKS Blueprints for CDK Workshop: AWS Native Observability Pattern.)XrayAddOn()
replaced withCloudWatchLogsAddon()
andenableControlPlaneLogging()
added as instructed in EKS Blueprints for CDK Workshop: AWS Native Observability Pattern.error when creating "/tmp/manifest.yaml": serviceaccounts "aws-load-balancer-controller" already exists
.Expected behavior
The
ObservabilityBuilder
can deploy the existing-eks-awsnative-observability-pattern without issue.Screenshots
No screenshots, but I will provide code snippets & error logs below.
My main EKS stack in
lib
:details
My Main EKS stack in
bin
:details
Error:
Additional context
N/A
CDK version used
2.133.0 (build dcc1e75)
EKS Blueprints Version
1.15.1
Node.js Version
v20.11.0
Environment details (OS name and version, etc.)
Win11Pro22H2
The text was updated successfully, but these errors were encountered: