Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 627 Bytes
title description tags weight
Nginx loadbalancing in studio
Information about routing with nginx
development
nginx
routing
100

Nginx routing

The router config is stored as a configmap in our kubernetes cluster, and mounted to the pod as a .conf file. When the config needs to be changed, the changes should be done in the loadbalancer-configmap for the correct environment (dev/prod).

Apply the changes, and restart the pod:

Option 1: kill the pod and let the deployment spinn up a new pod.
Option 2: open a shell into the pod kubectl exec -it [POD_NAME] -- sh and run the command nginx -s reload

You can’t perform that action at this time.