I have a kubernetes container running on GCE.
One of the service is nginx that working as proxy, and with replication controller it hass 10 replicas.
Now i need to change the nginx.conf for some tweaking.
Is there a way for me to reload all the nginx pods?
Right now the only way for me is scale it 0, then scale it up again to 10.
This will cause short downtime.
You can use rolling update which creates a temporarpy replication controller to scale the new version of the pods up, and then scales down the old version afterwards.
In the future, you might want to swtich to using Deployment, which allows declarative deployments.