News for hackers. Stuff that matters.
Re:Ask HN: If Kubernetes is the solution, why are there so m... by kuschku on Wednesday June 01, 2022 @12:03PM (#31583919)
Don’t do that, use

    kubectl set image deployment/foo main=main:new-image
instead
Re:Ask HN: If Kubernetes is the solution, why are there so m... by mdaniel on Wednesday June 01, 2022 @12:17PM (#31584134)
It 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
Re:Ask HN: If Kubernetes is the solution, why are there so m... by throwaway894345 on Wednesday June 01, 2022 @12:09PM (#31584010)
TIL. Thanks for the advice.