Skip to content
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

Kubernetes batch system can't pick up config from a pod's service account #2850

Closed
adamnovak opened this issue Nov 12, 2019 · 0 comments · Fixed by #2851
Closed

Kubernetes batch system can't pick up config from a pod's service account #2850

adamnovak opened this issue Nov 12, 2019 · 0 comments · Fixed by #2851

Comments

@adamnovak
Copy link
Member

adamnovak commented Nov 12, 2019

The config loading method we're using to connect to Kubernetes, as described in the module's README, only works when your credentials come from a config file. When they come from a pod's service account, kubectl finds them automatically, but the kubernetes module needs you to manually call a differnet utility method (config.load_incluster_config()) instead.

See:

┆Issue is synchronized with this Jira Task
┆Issue Number: TOIL-449

@adamnovak adamnovak changed the title Kubernetes batch system can;t pick up config from a pod's service account Kubernetes batch system can't pick up config from a pod's service account Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant