Skip to content

Instantly share code, notes, and snippets.

@szydan
Last active October 4, 2024 11:49
Show Gist options
  • Save szydan/073d913b75399faf6273d013bd5d2057 to your computer and use it in GitHub Desktop.
Save szydan/073d913b75399faf6273d013bd5d2057 to your computer and use it in GitHub Desktop.
How to redeploy the deployment with new image
Before running the commands make sure you are on correct cluster
kubectl config use-context gke_siren-cicd_europe-west1-c_cicd-volatile
kubectl -n branch-er set image deployment/branch-er-er \
platform-bundle-demo-data-snapshot=eu.gcr.io/siren-cicd/siren-platform-demo-data-snapshot:branch-er-75
kubectl -n branch-er rollout status deployment/branch-er-er
kubectl -n branch-er rollout undo deployment/branch-er-er
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment