Skip to content

Add a patch job for making the NFS service LoadBalancer type#94

Open
afgane wants to merge 1 commit intoanvilfrom
nfs-service-to-lb
Open

Add a patch job for making the NFS service LoadBalancer type#94
afgane wants to merge 1 commit intoanvilfrom
nfs-service-to-lb

Conversation

@afgane
Copy link
Collaborator

@afgane afgane commented Jul 31, 2025

GCP LoadBalancers (LB) cannot have a mix of protocol types, which is all NFS Ganesha chart supports. This patch job changes the ports exposed by the NFS Service manifest to use only TCP and switches the service type to (an internal) LB. This is all so a GCP Batch job can mount Galaxy's NFS.

Copy link
Member

@nuwang nuwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think copying the service manifest from ganesha would be a much simpler approach. This not only has a non-trivial amount of code, it's also slower since there's now an extra init container etc. In contrast, if we just copy the yaml service manifest off Ganesha and delete the unnecessary ports - the only complicated part would be making sure the pod label selectors match the release-name - which we also do elsewhere so no big deal?

Copy link
Member

@nuwang nuwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I meant to just comment.

@ksuderman
Copy link
Collaborator

It think if we restrict ourselves to NFSv4 we only need TCP. UDP is (was) only needed in NFSv3 for the portmapper service.

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

Successfully merging this pull request may close these issues.

3 participants