Matchexpressions V1.labelselectorrequirement Nil Field Is Immutable 问题已处理 Helm更新job类型报错 Csdn博客
The essential reason for this problem is that two identical deployment (one deployed and one to. I create a deployment use deployment use createorupdate. When any of immutable fields was changed in template, helm upgrade fails because it can't update resources (output below).
v1.LabelSelectorRequirement(nil)} field is immutable · Issue 466
When i change image and use createorupdate again throw exception matchexpressions:. I am not able to use match expressions for setting the filter condition. 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(一个已部署,一个要部署),.
MatchExpressions[]v1.LabelSelectorRequirement(nil)} field is immutabl
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:
v1.LabelSelectorRequirement(nil)} field is immutable · Issue 466
![helm upgrade 部署失败 MatchExpressions[]v1.LabelSelectorRequirement(nil](https://i2.wp.com/img-blog.csdnimg.cn/5b93473b145146538b6a3b92008c97c0.png)
helm upgrade 部署失败 MatchExpressions[]v1.LabelSelectorRequirement(nil