Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resize/upscale Thamos storage via Observatorium CR #53

Open
tumido opened this issue Mar 15, 2021 · 1 comment
Open

Unable to resize/upscale Thamos storage via Observatorium CR #53

tumido opened this issue Mar 15, 2021 · 1 comment

Comments

@tumido
Copy link

tumido commented Mar 15, 2021

Updating Observatorium CR at .spec.receivers.volumeClaimTemplate.spec.resources.requests.storage

apiVersion: core.observatorium.io/v1alpha1
kind: Observatorium
metadata:
  ....
spec:
  ...
  receivers:
    ...
    volumeClaimTemplate:
      spec:
        ...
        resources:
          requests:
-            storage: 10Gi
+            storage: 50Gi

results in error:

* failed to execute action (CreateOrUpdate): StatefulSet.apps "opf-observatorium-thanos-receive-default" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden

Is there any other way how we can scale the Thanos PVC storage via Observatorium?

Current workaround

Modify the PVC directly

Desired solution

Update PVC directly via the Observatorium resource

Additional context

operate-first/apps#380

haoqing0110 referenced this issue in stolostron/observatorium-operator Apr 7, 2021
@4n4nd
Copy link
Contributor

4n4nd commented Apr 15, 2021

Current workaround is to

  1. Delete the statefulset
  2. Delete the operator pod, force it to reconcile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants