Getting below issues while upgrading and attaching pvc to statefulset component "ingester"
"Error: UPGRADE FAILED: cannot patch "loki-loki-distributed-ingester" with kind StatefulSet: StatefulSet.apps "loki-loki-distributed-ingester" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden && cannot patch "loki-loki-distributed-querier" with kind StatefulSet: StatefulSet.apps "loki-loki-distributed-querier" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"
Hello Team,
Getting below issues while upgrading and attaching pvc to statefulset component "ingester"
"Error: UPGRADE FAILED: cannot patch "loki-loki-distributed-ingester" with kind StatefulSet: StatefulSet.apps "loki-loki-distributed-ingester" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden && cannot patch "loki-loki-distributed-querier" with kind StatefulSet: StatefulSet.apps "loki-loki-distributed-querier" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden"
I have this in my yaml inside loki-values.yaml
ingester: kind: StatefulSet replicas: 1 ordinals: {{ $ingesterCount }} deploymentStrategy: type: RollingUpdate image: registry: null repository: null tag: null priorityClassName: null terminationGracePeriodSeconds: 300 topologySpreadConstraints: |