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

Plugin does not support multiple kubernetes clusters if auth is done with Cluster URL and Token #170

Open
rophy opened this issue Mar 24, 2024 · 0 comments

Comments

@rophy
Copy link

rophy commented Mar 24, 2024

Plugin Version: 2.0.13

Steps to reproduce:

  1. Create two node sources with kubernetes plugin, specifying different kubernetes clusters, auth using Cluster URL and Token
  2. Configure the project to use kubernetes plugin as both Default Node Executor and Default File Copier, without any configuration.
  3. Try to discover nodes, you should be able to discover pods from both clusters.
  4. Try to run command on the nodes, you will fail saying kube_config is not found.

In contrast, in step (1), if you auth using kube_config, then step (4) should work.

Expected result: There should be a way for NodeExecutor and FileCopier to work for multiple kubernetes clusters using Cluster URL + Token.

Actual result: Multiple kubernetes clusters work for kubeconfig, but not for Cluster URL + Token.

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

No branches or pull requests

1 participant