3 ms·
Don’t do that, use kubectl set image deployment/foo main=main:new-image instead
by kuschku 4y ago
Don’t do that, use
kubectl set image deployment/foo main=main:new-image
instead
- throwaway894345 4y agoTIL. Thanks for the advice.
- mdaniel 4y agoIt also accepts "*" if you don't know or care about the container name(s) kubectl set image deployment/foo "*=the/new/image" and then, my other favorite (albeit horribly named, IMHO) "rollout status" to watch it progress: kubectl rollout status deployment/foo