COSCUP 2022

Your locale preferences have been saved. We like to think that we have excellent support for English in pretalx, but if you encounter issues or errors, please contact us!

Kubernetes zero-downtime label migration
07-30, 13:50–14:10 (Asia/Taipei), AU101
Language: 漢語

According to the official Kubernetes website, there is one note: “In API version apps/v1, a Deployment's label selector is immutable after it gets created.” However, it's inevitable to update labels in existing deployments sometimes. Due to the immutability of the label selector, the simple way is to recreate deployments. Nevertheless, in most cases, it's not a good practice to directly shut down services. Therefore, in this session, we will introduce a zero-downtown label migration method that AMIS engineers based on ingress rule priority setting came up with.


Target Audience

有 Kubernetes 經驗者

Difficulty

中階

youtube_link

https://www.youtube.com/watch?v=veLgqyzzyXU

A backend engineer in AMIS Technologies Co., Ltd.