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

Exposing vespa-internal service via LB #1448

Open
fabianotex opened this issue Aug 23, 2024 · 2 comments
Open

Exposing vespa-internal service via LB #1448

fabianotex opened this issue Aug 23, 2024 · 2 comments
Assignees

Comments

@fabianotex
Copy link

fabianotex commented Aug 23, 2024

I'm implementing the Vespa multinode-ha example in an on-prem Kubernetes Cluster. Is there a way to properly expose vespa-internal using a LB? My data scientist team prefer to access/use http://myserversxyz:19071 instead of having to "kubectl port-forward pod/vespa-configserver-0 19071" when deploying their application package.

Vespa multinode-ha example shows headless service configured as clusterIP: None. I've tried to modify that to LB, but my LB does not seem to like it. It keeps bringing service up and down at the LB level. Looking at vespa-config-server pods seems to be fine.

Deploying config/configmap.yml, config/headless.yml (modified to use LB) and config/configserver.yml works well. I can curl http://myservicename:19071/state/v1/health without any problem. Problem happens after deploying config/admin.yml. LB will display service nodes/pool going down and up over and over, so when I'm querying http://myservicename:19071/state/v1/health, sometimes will respond with 200, and sometimes with connection refused.

Any idea?

Thanks,
FT

@kkraune
Copy link
Member

kkraune commented Sep 26, 2024

Hi, and sorry for slow reponse! You are describing a situation where the configserver pods are fine, until you deploy the rest of the pods (or at least the admin pod). As these are different pods, it looks like a lack of resource problem?

Can you try reproducing by running the steps in https://github.com/vespa-engine/sample-apps/tree/master/examples/operations/multinode-HA/gke ?

@kkraune
Copy link
Member

kkraune commented Sep 26, 2024

the logs on the configserver pods should indicate if there are problems causing them to go up and down

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