-
Notifications
You must be signed in to change notification settings - Fork 25
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
AWS EC2 description filter with tag not working for EKS NodeGroup #314
Labels
community
Issues or PRs opened by an external contributor
proposal
An issue that proposes a feature request
waiting for response
Waiting for author's response
Comments
lucacome
added
proposal
An issue that proposes a feature request
and removed
stale
Pull requests/issues with no activity
labels
Oct 3, 2023
Hi @bsmerja! Welcome to the project! 🎉 Thanks for opening this issue! |
nginx-bot
bot
added
the
community
Issues or PRs opened by an external contributor
label
Aug 24, 2024
Hi @bsmerja I'm trying to reproduce this but creating pods doesn't affect the Autoscaling group for me. Are you still seeing this behavior? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
community
Issues or PRs opened by an external contributor
proposal
An issue that proposes a feature request
waiting for response
Waiting for author's response
Describe the bug
When there are multiple pods running in the EKS environment EKS node members have multiple Private IP addresses based on number of pods running on specific node, nginx-asg-sync fetches any one Private IP address and populates NGINX config, which cause 502 bad gateway.
To Reproduce
Will cause wrong IP addresses in upstream
Provide the following files as part of the bug report
nginx -T
outcomeactual IP addresses of EKS Nodes -
kubectl get nodes -o wide
Also, aws cli command gives Private IP address with filter and query as applied:
config.yaml:
Steps to reproduce the behaviour, such as:
/var/log/nginx-asg-sync/nginx-asg-sync.log
Expected behavior
A clear and concise description of what you expected to happen.
Your environment
nginx-asg-sync version 0.5.0
nginx version: nginx/1.23.2 (nginx-plus-r28)
Amazon Linux 2
Additional context
Is it possible to add an additional query inside of config.yaml which I used to find exact Private address in following command:
aws ec2 describe-instances --filters "Name=tag:aws:autoscaling:groupName,Values=eks-Node-instances<1234>" --profile Users-1234 --query 'Reservations[].Instances[].[PrivateIpAddress]' --output text
The text was updated successfully, but these errors were encountered: