This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.4.3.4. Google Cloud Storage へのデータの保存
Google Cloud Storage にデータを保存するには、既存のバケットを使用する必要があります。
手順
gcs-storage.yaml
ファイルでspec.storage
セクションを編集します。gcs-storage.yaml
ファイルの例Copy to Clipboard Copied! Toggle word wrap Toggle overflow 以下の
Secret
オブジェクトをテンプレートとして使用します。Google Cloud Storage
Secret
オブジェクトの例Copy to Clipboard Copied! Toggle word wrap Toggle overflow シークレットを作成します。
oc create secret -n openshift-metering generic my-gcs-secret \ --from-file gcs-service-account.json=/path/to/my/service-account-key.json
$ oc create secret -n openshift-metering generic my-gcs-secret \ --from-file gcs-service-account.json=/path/to/my/service-account-key.json
Copy to Clipboard Copied! Toggle word wrap Toggle overflow