1.24.2. Resolving the problem: PVC does not change after editing statefulSetSize


If you have this problem, update the storage parameter in each data-observability-observatorium-thanos-receive-default-x PVC. Complete the following steps:

  1. Confirm that the disk space is full by running a query.

    1. Log in to the Red Hat OpenShift Container Platform console.
    2. From the navigation menu, click Monitoring > Metrics.
    3. Enter the following query in the Expression window and sort the query to ascend by the Volume column:

      kubelet_volume_stats_available_bytes{namespace="open-cluster-management-observability"}/kubelet_volume_stats_capacity_bytes{namespace="open-cluster-management-observability"}
      Copy to Clipboard Toggle word wrap

      Note: If the value is 0, then the disk is full. If the disk is full continue with the following tasks.

  2. Expand the data-observability-observatorium-thanos-receive-default-x PVC to update the storage parameter to a greater value than the statefulSetSize value from the MultiClusterObservability (mco) CR. Run the following command for each data-observability-observatorium-thanos-receive-default-x PVC:

    kubectl get pvc data-observability-observatorium-thanos-receive-default-0 -o yaml
    Copy to Clipboard Toggle word wrap

    Your data-observability-observatorium-thanos-receive-default-x PVC might resemble the following content:

    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage:
    Copy to Clipboard Toggle word wrap

    This might take some time to work. Your changes go into effect when the value of storage and status match. Run the previous command to check.

  3. Verify the fix by completing the following steps:

    1. Log in to your Red Hat Advanced Cluster Management console.
    2. From the navigation menu, select Observe environments > Overview.
    3. Click the Grafana link that is near the console header to view the metrics from your managed clusters.
    4. Check the metrics-collector-deployment-x pod logs. When the error is fixed in the logs, the following message appears: Metrics pushed successfully.
    5. Confirm if the disk space is no longer full by running a query from your Red Hat OpenShift Container Platform console. Enter the following query in the Expression window and sort the query to ascend by the Volume column:

      kubelet_volume_stats_available_bytes{namespace="open-cluster-management-observability"}/kubelet_volume_stats_capacity_bytes{namespace="open-cluster-management-observability"}
      Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat