-
Notifications
You must be signed in to change notification settings - Fork 31
Add Standalone gateway and separate brokers #1
Comments
For our deployments/benchmark we will need this as well. Here is a configuration we currently use to deploy a standalone gateway: Deployment:
Service:
Might help to implement this. |
I am currently getting |
Hey @salaboy this is currently expected, we have no fix for that but it should still work |
let me try to deploy some processes |
Still not finding the brokers.. there is something that I'm missing.. in the previous deployment descriptor there is a configMap, which seems to only contain the logging config files.. but is there something else require for the gateway to locate the brokers?
Where no brokers are found, even when the brokers are up and running right besides the gateway. |
does this make sense: -> |
that is basically the name of the pod hosting the gateway. |
@npepinpe i think you setup the last time the standalone gateway any idea? I think in the gateway config the Probably something like:
With the ports i'm always confused we need to document this better |
You need to point the contactPoint to at least one of the brokers - this isn't optimal in terms of discoverability obviously, but that's how it is for now. I don't remember having to do anything in particular tbh. Having the pod name as the node ID is totally fine, I think that's also what I was doing. |
I additionally configured the following environment vars: - name: ZEEBE_GATEWAY_CONTACT_POINT
value: "$(BROKER_SERVICE_NAME)"
- name: ZEEBE_GATEWAY_HOST
value: 0.0.0.0 where $(BROKER_SERVICE_NAME) was taken from the downstream API as - name: BROKER_SERVICE_NAME
objref:
kind: Service
name: broker
apiVersion: v1
fieldref:
fieldpath: metadata.name This was for the kustomize setup, but should be easy enough to adapt. |
Hey guys I think the current setup doesn't work, at least for me. I had to disable the standalone and enable the embedded again to get my benchmarks working
|
Is this fixed by now? |
anybody experienced a double env var for ZEEBE_BROKER_GATEWAY_ENABLE when defining the helm chart(zeebe 0.0.122) like this:
and in kubectl desribe:
and embedded gateway is not started because of this |
@ezolnbl hmm that is interesting.. and totally possible with the current setup.. that is because, half of the ENV variables are defined in the templates and the other half can be injected using the Would you mind sending a PR for that? |
to which repository? zeebe or zeebe-helm? |
@ezolnbl this repository.. you need to change the file that I've linked in my previous message. |
@npepinpe I will close this issue as this is fixed.. |
this worked for me
|
Like here:
https://github.com/camundacon2019/zeebe-ft-demo/blob/master/docker-compose.yml
The text was updated successfully, but these errors were encountered: