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

NodePort type service #243

Open
BonzTM opened this issue Sep 8, 2023 · 6 comments
Open

NodePort type service #243

BonzTM opened this issue Sep 8, 2023 · 6 comments

Comments

@BonzTM
Copy link

BonzTM commented Sep 8, 2023

I'm surprised to not have seen this request yet, but my request would be to implement a NodePort type service.

Is your feature request related to a problem? Please describe.
LoadBalancer type service is great, if you have IPs to play around with or a L2 implementation in-cluster like MetalLB. Local is great, but unstable and slow with large PVs. A NodePort service implementation would be easier to implement and possibly solve a missing piece between these solutions.

Describe the solution you'd like
A NodePort option that creates a service of type NodePort, therefore opening a high-port on each node for incoming traffic (40000 for instance) and forwarding SSH from that port to 22 on the pod.

@utkuozdemir
Copy link
Owner

What would you prefer the rsync target to be? <ip-of-a-random-node>:<nodeport> or something else?

@BonzTM
Copy link
Author

BonzTM commented Oct 1, 2023

What would you prefer the rsync target to be? <ip-of-a-random-node>:<nodeport> or something else?

Yes. I think pulling one from kubectl would be good, but requiring the user to input a node IP would also be fine

@pavlovnicola
Copy link

Hi,

I also was looking on how to setup NodePort.

I suppose this flag should do it:

--helm-set sshd.service.type=NodePort

@utkuozdemir
Copy link
Owner

@pavlovnicola It wouldn't work unfortunately, it needs explicit support. Setting some helm values can prevent pv-migrate to work correctly, and this is one of the cases - the whole logic depends on service type being LoadBalancer there.

@pavlovnicola
Copy link

@utkuozdemir I tried it anyway and you are right. It does not work. Thanks for clarifying.

@santimar
Copy link

Any update on this?
I am trying to move data between two self hosted clusters (there isn't any LB on both)

I would use local strategy but I am facing the same error reported on #236

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

4 participants