When any of immutable fields was changed in template, helm upgrade fails because it can't update resources (output below). I am not able to use match expressions for setting the filter condition. When i change image and use createorupdate again throw exception matchexpressions:.
[问题已处理]helm更新job类型报错field is immutableCSDN博客
Learn why the nil field of matchexpressions v1.labelselectorrequirement is immutable and how to work around this limitation.
This occurs as a result of a change in the.
You cannot update selectors for (i am not sure this is the complete list, feel free to correct me):. As part of the greater controller ga effort, we have removed defaulting spec.selector to spec.template.labels values in apps/v1beta2 as the defaulting operation is. This article provides a detailed explanation. Field is immutable reason reason:
In api version apps/v1, a deployment’s label selector is immutable after it gets created. I am trying to used set based selectors for replica set in kubernetes. `selector` does not match template `labels` * spec.selector:. Field is immutable 原因 原因:这个问题的本质原因是,两个相同的deployment(一个已部署,一个要部署),.
Release nginx does not exist.
So, you can delete this deployment first, then apply it. When attempting to upgrade the kong service mesh control plane from 1.3 to 1.5+ using helm you may encounter the error below:
![helm upgrade 部署失败 MatchExpressions[]v1.LabelSelectorRequirement(nil](https://i2.wp.com/img-blog.csdnimg.cn/5b93473b145146538b6a3b92008c97c0.png)
![[问题已处理]helm更新job类型报错field is immutableCSDN博客](https://i2.wp.com/img-blog.csdnimg.cn/img_convert/79b96a4480de513a4a67d905ecbbf4db.png)
