Difference between revisions of "Error: cannot patch "rancher-monitoring-prometheus-node-exporter""
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: | + | [[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
- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos
Advertising: