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.
About Una Chen
AMIS is a financial technology company creating bonds between traditional and decentralized worlds. We provide security and accessibility for blockchains as well as for cryptocurrencies. With us, our customers are able to adopt blockchain technology with ease and confidence.