Use case : Quickly create a location /loaderio-xxxxxxxx with text response loaderio-xxxxxxxx.
Eg : curl http://clouder.my-domain.io/clouder.my-domain.io must return :
loaderio-xxxxxxxx
- Create a simple
nginx:alpinedeployment and live edit default config usingkubectle exec -it pod-name-xxx. - Reload the config by sending au relaod signal :
nginx -s reload
- To avaoid
execin running pod : mount a configMap as a volume at/usr/share/nginx/htmlon nginx container.
Execute :