How to manage multiple kubernetes cluster?

41 views
Skip to first unread message

roph...@gmail.com

unread,
Mar 23, 2024, 11:39:10 AM3/23/24
to rundeck-discuss
Hi,

I am trying to use a single instance of rundeck community to manage multiple kubernetes clusters.

I can create multiple kubernetes node resource, one for each k8s cluster, and select nodes across clusters.

However, I'm not sure how to configure node executors / file copiers so that they will respect the node (pod) I have selected.

gives me the impression that I can configure node sources without configuring executors, and can run commands on selected nodes (pods), is this possible?

roph...@gmail.com

unread,
Mar 23, 2024, 10:57:28 PM3/23/24
to rundeck-discuss
Traced the logics of kubernetes plugin a bit. I think multiple kubernetes clusters actually work *if* kube_config is used to authenticate kubernetes, but does not work if authenticate using cluster url and token.

Tried to implement a workaround and submitted a pull request: https://github.com/rundeck-plugins/kubernetes/pull/171
Reply all
Reply to author
Forward
0 new messages