Difference between revisions of "Error: cannot patch "rancher-monitoring-prometheus-node-exporter""

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
 
Error: cannot patch "rancher-monitoring-prometheus-node-exporter" with kind DaemonSet: DaemonSet.apps "rancher-monitoring-prometheus-node-exporter" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-node-exporter", "release":"rancher-monitoring"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "rancher-monitoring-kube-state-metrics" with kind Deployment: Deployment.apps "rancher-monitoring-kube-state-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"kube-state-metrics"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "rancher-monitoring-prometheus-adapter" with kind Deployment: Deployment.apps "rancher-monitoring-prometheus-adapter" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-adapter", "release":"rancher-monitoring"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: [[field is immutable]]
 
  
</pre>
+
Error: cannot patch "[[rancher-monitoring-prometheus-node-exporter]]" with [[kind DaemonSet]]: DaemonSet.apps "rancher-monitoring- prometheus-node-exporter" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-node-exporter", "release":"rancher-monitoring"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "rancher-monitoring-kube-state-metrics" with [[kind Deployment:]] Deployment.apps "rancher-monitoring-kube-state-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"kube-state-metrics"}, MatchExpressions: []v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "rancher-monitoring-prometheus-adapter" with kind
 +
Deployment: Deployment.apps "rancher-monitoring-prometheus-adapter" is invalid: spec.selector: Invalid value:
 +
v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-adapter", "release":"rancher-monitoring"}, MatchExpressions: []v1.LabelSelectorRequirement(nil)}: [[field is immutable]]
 +
 
 +
 
 +
== Related ==
 +
* https://ranchermanager.docs.rancher.com/v2.0-v2.4/explanations/integrations-in-rancher/cluster-monitoring/prometheus
  
 
== See also ==
 
== See also ==
 
* {{terraform}}
 
* {{terraform}}
  
[[Category:TF]]
+
[[Category:Terraform]]

Latest revision as of 13:36, 9 January 2024

Error: cannot patch "rancher-monitoring-prometheus-node-exporter" with kind DaemonSet: DaemonSet.apps "rancher-monitoring- prometheus-node-exporter" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-node-exporter", "release":"rancher-monitoring"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "rancher-monitoring-kube-state-metrics" with kind Deployment: Deployment.apps "rancher-monitoring-kube-state-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"kube-state-metrics"}, MatchExpressions: []v1.LabelSelectorRequirement(nil)}: field is immutable && cannot patch "rancher-monitoring-prometheus-adapter" with kind 
Deployment: Deployment.apps "rancher-monitoring-prometheus-adapter" is invalid: spec.selector: Invalid value: 
v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-adapter", "release":"rancher-monitoring"}, MatchExpressions: []v1.LabelSelectorRequirement(nil)}: field is immutable


Related[edit]

See also[edit]

Advertising: