7.4. Gluster Block がバックエンドとしてセットアップされているかどうかの確認

以下のコマンドを実行して、gluster ブロックがロギングおよびメトリクスのバックエンドとして設定されていることを確認します。

  1. インフラストラクチャーの概要を取得するには、以下のコマンドを実行します。

    # oc get pods -n logging -o jsonpath='{range .items[].status.containerStatuses[]}{"Name: "}{.name}{"\n  "}{"Image: "}{.image}{"\n"}{"  State: "}{.state}{"\n"}{end}'
  2. すべての永続ボリューム要求 (PVC) を取得するには、以下のコマンドを実行します。

    # oc get pvc
  3. pvc の詳細を取得するには、以下のコマンドを実行します。

    # oc describe pvc <claim_name>

    ボリュームがマウント可能であること、およびパーミッションが読み取り/書き込みを許可していることを確認します。また、PVC 要求名は、動的にプロビジョニングされた gluster ブロックストレージクラスと一致する必要があります。

    詳細は、https://access.redhat.com/documentation/ja-jp/openshift_container_platform/3.11/html-single/configuring_clusters/#install-config-aggregate-logging-sizing を参照してください。