Closed krook closed 6 years ago
kubectl rolling-update
is the "old" way to do rolling updates via replicasets (before deployments came around). This command works:
kubectl set image deployment/simple-nginx simple-nginx=jzaccone/simple-nginx:latest
@odrodrig demonstrated this as part of the build pipeline. @jzaccone also is working on Ingress in another issue.
This link has good info: https://www.nginx.com/resources/wiki/start/topics/recipes/drupal
Other resources:
Steps required would be:
cd docker/nginx
docker build --tag registry.ng.bluemix.net/jjdojo/nginx:latest --no-cache .
docker push registry.ng.bluemix.net/jjdojo/nginx:latest
kubectl apply -f kubernetes/nginx.yaml
which should pull latest and restartYou might also have to do these steps if the above ones don't work.