有効化IBM Storageオペレータ クラスタ アドオン

ibm-storage-operator クラスター アドオンは、クラスター内の複数のストレージ構成マップとリソースを管理します。

ibm-storage-operator バージョン以降のVPCクラスターではデフォルトでインストールされます4.15そしてそれ以降はIBM Cloud File Storage for VPCアドオン。

  1. container-service プラグインを最新バージョンに更新してください。 以下のコマンドを実行することで、プラグインを更新できます。
    ibmcloud update && ibmcloud plugin update container-service
    
  2. アドオンが有効になっているかどうかを確認します。
    ibmcloud oc cluster addon ls --cluster CLUSTER_NAME_OR_ID
    
    出力例
    Name                   Version   Health State   Health Status   
    ibm-storage-operator    1.0.0     normal         Addon Ready
    
  3. アドオンが有効になっていない場合は、有効にします。
    ibmcloud oc cluster addon enable ibm-storage-operator -c CLUSTER --version VERSION
    

無効化 ibm-storage-operator アドオン

なお、 ibm-storage-operator を使用している他のアドオンがある場合、このアドオンを無効にすることはできませんのでご注意ください。

  1. アドオンを無効にするには、次のコマンドを実行してください。

    ibmcloud oc cluster addon disable ibm-storage-operator -c CLUSTER
    

    依存関係がインストールされている出力例。

    Data and resources that you created for the add-on might be deleted when the add-on is disabled. Continue? [y/N]> y
    Disabling add-on ibm-storage-operator for cluster devcluster2...
    FAILED
    Unable to disable ibm-storage-operator because it is required by the vpc-file-csi-driver add-on(s).
    
  2. 依存関係が不要になった場合は、続行する前に削除してください。

  3. アドオンを無効にします。

    ibmcloud oc cluster addon disable ibm-storage-operator -c CLUSTER