1.3.5. 詳細 設定の追加

詳細 設定セクションを追加して、可観測性コンポーネントごとの保持内容を更新できます。以下の手順を実行します。

  1. クラスターにログインします。
  2. mco observability を編集します。以下のコマンドを実行します。

    oc edit mco observability -o yaml
  3. 詳細 設定を themco observability YAML に追加します。YAML ファイルは以下の内容のようになります。

    spec:
      advanced:
        retentionConfig:
          blockDuration: 2h
          deleteDelay: 48h
          retentionInLocal: 24h
          retentionResolutionRaw: 30d
          retentionResolution5m: 180d
          retentionResolution1h: 0d
        receive:
          resources:
            limits:
              memory: 4096Gi
          replicas: 3

詳細 設定に追加できるすべてのパラメーターの説明は、「Observability API」を参照してください。