[GH-ISSUE #365] How to manage K8S behind bastion #99

Open
opened 2026-05-07 00:18:51 +02:00 by BreizhHardware · 1 comment

Originally created by @thomas-aw on GitHub (Feb 23, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/365

Hi,

I'm using the bastion and i have a server behind the bastion that manages a K8S cluster. I want to install some helm charts on this cluster but charts are on my local.

How i can use kubectl to communicate with the server behind the bastion ? I saw that the ssh tunnel was not possible with bastion.

Could you help me ?

Many thanks

Originally created by @thomas-aw on GitHub (Feb 23, 2023). Original GitHub issue: https://github.com/ovh/the-bastion/issues/365 Hi, I'm using the bastion and i have a server behind the bastion that manages a K8S cluster. I want to install some helm charts on this cluster but charts are on my local. How i can use kubectl to communicate with the server behind the bastion ? I saw that the ssh tunnel was not possible with bastion. Could you help me ? Many thanks
Author
Owner

@Pierrelefort commented on GitHub (Dec 22, 2023):

One way to address this issue is by utilizing Ansible with the the-bastion-ansible-wrapper. This allows you to execute commands, such as helm or kubectl, on your server.

<!-- gh-comment-id:1868074664 --> @Pierrelefort commented on GitHub (Dec 22, 2023): One way to address this issue is by utilizing Ansible with the [the-bastion-ansible-wrapper](https://github.com/ovh/the-bastion-ansible-wrapper). This allows you to execute commands, such as helm or kubectl, on your server.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#99
No description provided.