FrankWard
Explorer
- Joined
- Feb 13, 2023
- Messages
- 71
This issue started after upgrading to 23.10.2. I haven't changed anything, but I noticed there were ix-applications read-only errors occurring during replication. Here's the cryptic error. It also throws errors trying to upgrade these apps.
Any idea what's the cause/remedy for this?
Code:
[EFAULT] Failed to upgrade App: Error: UPGRADE FAILED: resource mapping not found for name: "cloudnative-pg" namespace: "" from "": no matches for kind "PodMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first [EFAULT] Failed to upgrade App: Error: UPGRADE FAILED: resource mapping not found for name: "prometheus-operator-kps-operator" namespace: "ix-prometheus-operator" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first [EFAULT] Failed to update App: Error: UPGRADE FAILED: cannot patch "cloudnative-pg" with kind Deployment: Deployment.apps "cloudnative-pg" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"cloudnative-pg", "app.kubernetes.io/name":"cloudnative-pg"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
Any idea what's the cause/remedy for this?