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

Missing cluster argument from feeding methods #999

Open
sumpfork opened this issue Dec 20, 2024 · 0 comments
Open

Missing cluster argument from feeding methods #999

sumpfork opened this issue Dec 20, 2024 · 0 comments

Comments

@sumpfork
Copy link

During a cloud deployment I'd like to call app.feed_data_point() on the just deployed Vespa app, but it does not take a cluster argument and arbitrarily can call the wrong cluster's endpoint on our multi-cluster deployment.

The cloud deployment's get_endpoint() method does take this argument, so hacking something like

    app.end_point = vespa_cloud.get_endpoint(
        auth_method="mtls",
        instance="foo",
        environment="dev",
        cluster="bar",
    )

before trying to feed works, but it seems like the feeding methods should take a cluster argument and pass it through to determine which endpoint to use? Or else, the app should be initialized to point to a specific cluster?

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

1 participant