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.jsonCopy to Clipboard Copied! Toggle word wrap Toggle overflow