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.7.15.7.2. DataVolume を使用した空のディスクイメージの作成
DataVolume 設定ファイルをカスタマイズし、デプロイすることにより、新規の空のディスクイメージを PersistentVolumeClaim に作成することができます。
前提条件
- 1 つ以上の利用可能な PersistentVolume
-
OpenShift CLI (
oc
) のインストール。
手順
DataVolume 設定ファイルを編集します。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 以下のコマンドを実行して、空のディスクイメージを作成します。
oc create -f <blank-image-datavolume>.yaml
$ oc create -f <blank-image-datavolume>.yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow