-
Notifications
You must be signed in to change notification settings - Fork 80
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
Could not configure Kubernetes Python Client #97
Comments
Looks like you are not using the default |
Thanks @chadlwilson I followed the docs exactly, and got it running, final question, so it correctly gets the right node count, but i see no restarts, when it says rolling update complete does it only perform it once we upgrade the agents? Should we be expecting this to rollout the worker nodes if we have not upgraded them? [ root@gpd-terraform-builder ~ |
That looks like a "no-op" run, so it probably thinks all nodes are up-to-date - that is they are already using the latest launch template version specified for the ASG(s), so there are no nodes to roll. There is age-based support with You could try "touching" the launch template by modifying it without making new changes, so it saves a new version. You can then run with Might want to do it on a smaller test cluster first, or a single ASG if you have multiple sharing the same launch template, using |
excellent, so this is what ill be after is something like this, as we want a pipeline where we can manually execute this job at any time: Do you have any examples of how we are supposed to pass these variables in?, are they just variables to add to our docker exec command? |
They are just env vars that need to be available to Python, so when running with Docker can supply them the same way you supply any env vars into a container (with |
Hi
I have been looking into this product and testing it, I am hitting this stumbling block of not being able to configure the kubernetes python client, the python client is installed, is this a known issue?, or any ways we can dig deeper in terms of what the kubernetes python client dependencies are?
[ root$] docker run -ti --rm -e AWS_DEFAULT_REGION -v "/root/.aws/config" -v "/root/.kube/us-gpd" eks-rolling-update:latest -c gpdeks1
2021-02-25 02:31:16,139 INFO Describing autoscaling groups...
2021-02-25 02:31:16,444 ERROR Could not configure kubernetes python client
2021-02-25 02:31:16,444 ERROR *** Rolling update of ASG has failed. Exiting ***
2021-02-25 02:31:16,444 ERROR AWS Auto Scaling Group processes will need resuming manually
Thanks
The text was updated successfully, but these errors were encountered: