COSCUP 2022

Kubernetes zero-downtime label migration
2022-07-30 , 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.


youtube_link:

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

Target Audience:

有 Kubernetes 經驗者

Difficulty:

中階

A backend engineer in AMIS Technologies Co., Ltd.