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

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  v1.LabelSelector{MatchLabels:map[string]string{"app":"prometheus-adapter", "release":"rancher-monitoring"}, MatchExpressions: []v1.LabelSelectorRequirement(nil)}: [[field is immutable]]
 
  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
  
  
Line 9: Line 12:
 
* {{terraform}}
 
* {{terraform}}
  
[[Category:TF]]
+
[[Category:Terraform]]

Revision as of 15:16, 4 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


See also

Advertising: