What's the difference between PATCH and PUT a deployment
864 views
Skip to first unread message
lin.for...@gmail.com
unread,
Aug 5, 2016, 2:56:43 AM8/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kubernetes-dev
Hi,
Can anyone tell me what's the difference between PATCH and PUT a deployment? For example, I just want to change the "change-cause" of rollout action. PATCH the deployment would require this
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kubernetes-dev, lin.for...@gmail.com
I was wondering if I use PATCH to update the "kubernetes.io/change-cause" annotation, will it be passed to related ReplicaSet in the deployment? If yes, then I can view the rollout history with updated change-cause.
Thanks.
Janet Kuo
unread,
Aug 9, 2016, 6:58:55 PM8/9/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kubernetes developer/contributor discussion, lin.for...@gmail.com
Yes, if you update the deployment's change-cause annotation (in fact, all annotations except for some system-generated ones), it'll be copied to its *new* replica set (the one whose template is the same as the deployment's at that moment).
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.