Sam Perrin TIL Blog

Kubernetes - Deploy new image to pod

July 30, 2019

Deploy a new image to an existing Kubernetes pod. Will perform a rolling update

kubectl set image deployment/msd-api msd-api=samperrin/development:release-0.2

kubectl set image deployment/{deployment-name} {spec.containers.name}={registry}:{image-tag}


Sam Perrin

Written by Sam Perrin who loves all things Automation related! You should follow him on Twitter