#!/bin/bash
namespace=$1       # k8s 命名空间名称
pvc_name=$2             # 装机只要一个存储默认填1  装机有多存储需求创建多个选2 3 4 5（新增几个执行多次）

kubectl get pvc -n $namespace | grep local-wsmbcifs | grep $pvc_name | awk -F " " '{print "pvcname:"$1,"status:"$2,"pvname:"$3,"size:"$4,"wr:"$5,"scname:"$6,"runtime:"$7}'
