PowerFlex 4.0: NFSおよびHTTPポッドが保留中の状態でスタックする
Summary: PowerFlex Managerバージョン4.0.2では、nfs-server-0ポッドとhttp-share-0ポッドの両方が保留中の状態でスタックします。
Symptoms
1.PowerFlex Managerバージョン4.0.2で、NFS共有とHTTP共有の両方が保留中と表示される

2.kubectl describe pod http-share-0 -n PowerFlex show pod is unbound to pvc.

describe コマンドからのメッセージ。
0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 preemption is not helpful for scheduling
PFxM GUIからのメッセージ
RCM files unavailable at the httpshare location

3. kubectl get pvc -n PowerFlex show both nfs-volume-nfs-server-0 and wwwdata-volume-http-share-0 as pending

Cause
問題は、PVC上のNFS共有とHTTP共有の両方でStorageclassがManualに設定されていることです。

Resolution
1.yamlファイルの出力を取得し、ファイルを保存します。
kubectl get pvc wwwdata-volume-http-share-0 -n powerflex -o yaml > wwwdata-volume-http-share-0.yaml
kubectl get pvc nfs-volume-nfs-server-0 -n powerflex -o yaml > nfs-volume-nfs-server-0.yaml

2.viエディターでファイルを開き、wwwdata-volume-http-share-0.yamlとnfs-volume-nfs-server-0.yamlの両方のファイルについて、storageClassNameをmanualからlocal-pathに変更します。

3.catコマンドを実行して変更を確認します。

4.次のコマンドを実行して、既存のpvcを削除 します。
kubectl delete pvc -n powerflex wwwdata-volume-http-share-0
kubectl delete pvc -n powerflex nfs-volume-nfs-server-0


5.ファイルから変更を適用します。
kubectl apply -f wwwdata-volume-http-share-0.yaml
kubectl apply -f nfs-volume-nfs-server-0.yaml


6.両方のポッドのステータスをもう一度確認します。[Pending]から[Running]までの表示には数分かかる場合があります。

Additional Information
kubectl rollout status sts -n powerflex または kubectl rollout status deploy -n powerflex 両方のポッドが保留中の状態の場合も、応答なし/空白の出力が表示されます。