vmware-archive / gangway

An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster.
Apache License 2.0
410 stars 112 forks source link

Multiple replicas #161

Closed yhaenggi closed 4 years ago

yhaenggi commented 4 years ago

Hey

In the deployment yamls, you specify 1 replica. We would like to deploy it with multiple replicas. Are there common problems with this, or why did you specifically set it to 1 instead of leaving it out?

BR

jenting commented 4 years ago

You could set to multiple replicas by kubectl scale --replicas=<N> deploy gangway.

If you want to do multiple pod HA, it's better to set node affinity rule to let each pod runs on the different hosts.

yhaenggi commented 4 years ago

Im aware how to scale/set replicas. The questions is if gangway is fully stateless and has no issues with multiple replicas.

jenting commented 4 years ago

AFAIK, it's a stateless application. Moreover, we run the default 3 replicas in our Kubernetes cluster, everything run well :wink:

yhaenggi commented 4 years ago

Thanks for the information.