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

Using multiple instances within k8s deployment with zookeeper triggers panic and crashes pod #43

Open
stefan-chivu opened this issue Feb 23, 2022 · 0 comments

Comments

@stefan-chivu
Copy link

Hi, so I've been trying to use gnmi-gateway within a k8s cluster and deploy it with clustering using zookeeper.

For this configuration, everything is working fine:

image

As you can see here, the gateway acquires the lock for each target, syncs with them and starts sending requests and overall the deployment works fine:

image

Then, for testing purposes, I manually scaled up the gnmi-gateway deployment to two replicas, and started having issues with the second replica of the deployment, while the first one keeps running fine:

image
image

And then the pod enters in a crashloop.

I haven't figured out if I am missing some configuration when I traced the error and I was wondering what could be causing that panic.

@stefan-chivu stefan-chivu changed the title Please use a meaningful title Using multiple instances within k8s deployment triggers panic Feb 23, 2022
@stefan-chivu stefan-chivu changed the title Using multiple instances within k8s deployment triggers panic Using multiple instances within k8s deployment with zookeeper triggers panic and crashes pod Feb 23, 2022
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