Skip to content

Conversation

@techknowlogick
Copy link

Allows running kubectl commands in a different cluster without switching the current context via rancher context switch. Using --context is optional, so it doesn't break existing workflows.

Example of how to use: rancher kubectl --context c-xxxxx get nodes (local works as cluster ID too).

@techknowlogick techknowlogick requested a review from a team as a code owner January 21, 2026 23:00
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 this pull request may close these issues.

1 participant