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

[SEC] SSH into AWS EKS K8s pod without Public IP #5

Open
elgalu opened this issue Nov 5, 2021 · 1 comment
Open

[SEC] SSH into AWS EKS K8s pod without Public IP #5

elgalu opened this issue Nov 5, 2021 · 1 comment

Comments

@elgalu
Copy link

elgalu commented Nov 5, 2021

remote_address = \
task_parameters.get('properties/k8s-gateway-address') or \
task_parameters.get('properties/external_address')

Hi, I'm trying to understand what's the trust point to be able for a user to SSH into a remote cloud K8s Pod (AWS EKS) without having to expose the public IP of K8s worker nodes.

Does it uses K8s ingress for SSH or what is k8s-gateway-address exactly and how is that secured?

Also, can 2 users be SSHing into 2 pods on the same AWS instance (shared big machine) at the same time without being able to impersonate each other?

@jkhenning
Copy link
Member

Hi @elgalu,

To support it, you'll have to use the k8s-glue support in the ClearML Agent (see here) with the --ports-mode option, which automatically labels pods in such a way that you can set up an ingress based on pod labels and SSH to the correct pod using a port assigned by the ingress.

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

2 participants