開源人年會 2022

Kubernetes zero-downtime label migration
2022年7月30日 , AU視聽館
語言: 漢語

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.


目標聽眾族群

有 Kubernetes 經驗者

內容難易度

中階

youtube_link

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

A backend engineer in AMIS Technologies Co., Ltd.