啟用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