0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Openshift VirtulizationでIBM FlashSystem Storageを使用する (IBM Block Storage CSI Driver)

0
Last updated at Posted at 2026-03-02

#1.はじめに
「Openshift VirtulizationでIBM FlashSystem Storageを使用する」という記事で、3つの方法があることを紹介しましたが、この記事では、IBM Block Storage CSI Driverについて、導入方法等をご紹介します。

#2. 導入手順
(1)前提条件
・ストレージ:ボリュームを作成し、仮想マシンが動くWorkerノードにマッピング済みであること。

(2)導入手順(概要)

  1. Operatorの導入
    Operator Catalog(ソフトウェアカタログ)から「IBM block storage CSI Driver operator」を選択して導入してください。
    image.png

  2. IBMBlockCSIの作成
    インストール済みのOperatorの画面から、「IBM block storage CSI diver」のインスタンスの作成をしてください。
    image.png
    image.png

  3. ストレージ接続情報のシークレットの作成
    下記のようなyamlでシークレットを作成してください。

kind: Secret
apiVersion: v1
metadata:
  name:  demo-secret
  namespace: default
type: Opaque
stringData:
  management_address: demo-management-address  # Array management addresses
  username: demo-username                      # Array username
data:
  password: ZGVtby1wYXNzd29yZA==               # base64 array password
  1. StorageClassの作成
    下記のようなyamlでStorageClassを作成してください。
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: ibm-block-storage
provisioner: block.csi.ibm.com
parameters:
  pool: demo-pool
  csi.storage.k8s.io/secret-name: demo-secret
  csi.storage.k8s.io/secret-namespace: default
allowVolumeExpansion: true

#3. 仮想マシンでの使用方法
仮想マシンのカスタマイズ画面で、「Disks」タブを選択し、起動ディスクの右側のメニューアイコンから、「編集」を選択します。
image.png
StorageClassに、上記StorageClassで作成したものを指定し、保存をクリックします。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?