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

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

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


See also

Advertising: