-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Please provide worker nodes details as an output map (information like instance id, private ip) #1048
Comments
I've managed to resolve the issue by assigning to target group to autoscale group.
Closing the ticket since it's possible to create NLB and register worker groups made from this module. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I have issues
When creating AWS EKS worker instances details are needed for creation of AWS NLB Load Balancer. Currently, it's not possible to do so, since it requires target (instance or IP) which is not known while creating the cluster as it's not defined as an output. If we want fully terraform managed environment, NLB should be created by terraform and not kubernetes.
I'm submitting a...
What is the current behavior?
Creating the EKS cluster there is no information on details of workers created.
If this is a bug, how to reproduce? Please include a code sample if relevant.
Default installation is enough. Here is a code sample:
As documentation for AWS NLB states:
target_id
(Required) The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is ip, specify an IP address. If the target type is lambda, specify the arn of lambda.What's the expected behavior?
After creation as an output it would be nice to have detailed information for worker group instances (non-aws managed).
Creation of AWS NLB Load Balancer is not possible since it requires target (instance or IP) which is not known while creating the cluster.
Are you able to fix this problem and submit a PR? Link here if you have already.
Maybe this PR can be referenced #992
Environment details
0.12
Any other relevant info
Terraform destroy won't work if LB is created by Kubernetes and NLB (network load balancer) cannot be created by terraform since there is no information on worker instance id or private IP. This is a setup of K8s in AWS private subnet which is hidden from internet. Another LB is in-front that accepts ports 80 and 443. NLB is chosen for speed in private subnet.
The text was updated successfully, but these errors were encountered: