среда, 17 января 2018 г.

kubernetes trick to update image in deployment



kubectl patch deployment your-deployment --namespace=namespace  -p   '{"spec":{"template":{"spec":{"terminationGracePeriodSeconds":30}}}}'

Dont forget to change value and be shure that "imagePullPolicy: Always" is set.

Комментариев нет:

Отправить комментарий