yokawasa / kubectl-plugin-ssh-jump

A kubectl plugin to access nodes or remote services using a SSH jump Pod
Apache License 2.0
172 stars 18 forks source link

Support specifying a custom sshjump pod template #14

Closed partcyborg closed 2 years ago

partcyborg commented 2 years ago

Support specifying a custom pod resource definition for the sshjump pod.

This makes it possible to add additional constraints like nodeSelectors and tolerations.

yokawasa commented 2 years ago

@partcyborg I am super sorry for the late response. Thanks a lot for the contribution!! It looks great to me

yokawasa commented 2 years ago

@partcyborg Now ssh-jump-v0.7.0 is available. It can be used via krew!

# initial install
kubectl krew install ssh-jump

# update
kubectl krew update ssh-jump

# show info
kubectl krew info ssh-jump

NAME: ssh-jump
INDEX: default
URI: https://github.com/yokawasa/kubectl-plugin-ssh-jump/archive/0.7.0.zip
SHA256: 86a4729d84810274bdd010e15b564f89840d9f67fdb0d7dd0fe35d588e9d6391
VERSION: v0.7.0
HOMEPAGE: https://github.com/yokawasa/kubectl-plugin-ssh-jump
DESCRIPTION:
A kubectl plugin to access Kubernetes nodes or remote services using a SSH jump Pod.
A jump Pod is an intermediary Pod or an SSH gateway to Kubernetes node machines or
remote services, through which a connection can be made.

CAVEATS:
\
 | This plugin needs the following programs:
 | * ssh(1)
 | * ssh-agent(1)
 |
 | Please follow the documentation: https://github.com/yokawasa/kubectl-plugin-ssh-jump
/