Error: cannot patch "rancher-monitoring-prometheus-node-exporter"

From wikieduonline
Jump to navigation Jump to search
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: