https://pulumi.com logo
Title
v

victorious-exabyte-70545

03/07/2023, 7:13 PM
Hi all, this question is not specific to pulumi, but wondering if anyone has experience exposing ssh (or another tcp service) through ingress controller? I have successfully setup exposing ssh but am running into connection issues. Is exposing ssh through ingress controller (or any non http/https service) a terrible idea? Again, not necessarily pulumi related, but wondering if any kubernetes users have input on this. Thanks much.
b

billowy-army-68599

03/07/2023, 7:16 PM
it largely depends on your ingress controller, most don’’t support this. you’re better off exposing the service directly
s

salmon-account-74572

03/07/2023, 7:53 PM
+1 to what @billowy-army-68599 said. Given the nature of SSH, I think exposing SSH directly is a better approach, if that’s at all possible for you.
Now, the question of why we are talking about SSH in the context of Kubernetes and an ingress controller is another story entirely… 🤣
b

broad-parrot-2692

03/11/2023, 1:36 AM
Is exposing ssh through ingress controller (or any non http/https service) a terrible idea?
Yes. You're probably going to have a bad time doing this with ingress controllers specifically. If you're interested in implementing a pattern similar to this, look into configuring envoy in Istio.