File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ spec:
111111 name : data
112112 spec :
113113 accessModes : [ "ReadWriteOnce" ]
114+ storageClassName : " standard"
114115 resources :
115116 requests :
116117 storage : 1Gi
Original file line number Diff line number Diff line change @@ -127,20 +127,23 @@ spec:
127127 name : kafka-data
128128 spec :
129129 accessModes : [ "ReadWriteOnce" ]
130+ storageClassName : " standard"
130131 resources :
131132 requests :
132133 storage : 1Gi
133134 - metadata :
134135 name : zk-data
135136 spec :
136137 accessModes : [ "ReadWriteOnce" ]
138+ storageClassName : " standard"
137139 resources :
138140 requests :
139141 storage : 1Gi
140142 - metadata :
141143 name : zk-datalog
142144 spec :
143145 accessModes : [ "ReadWriteOnce" ]
146+ storageClassName : " standard"
144147 resources :
145148 requests :
146149 storage : 1Gi
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function check()
7878 echo " ERROR: Max number of attempts was reached (${MAX_ATTEMPTS} )"
7979 exit 1
8080 fi
81- READY_REPLICAS=$( kubectl get -f $1 -o jsonpath=' {.items[?(@.kind=="StatefulSet")].status.readyReplicas }' 2>&1 )
81+ READY_REPLICAS=$( kubectl get -f $1 -o jsonpath=' {.items[?(@.kind=="StatefulSet")].status.currentReplicas }' 2>&1 )
8282 echo " [${ATTEMPTS} /${MAX_ATTEMPTS} ] - Ready replicas : ${READY_REPLICAS:- 0} /$REPLICAS ... "
8383 done
8484 kubectl get all
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ function check()
7373 echo " ERROR: Max number of attempts was reached (${MAX_ATTEMPTS} )"
7474 exit 1
7575 fi
76- READY_REPLICAS=$( oc get statefulset -l component=${2:- kafka} -o jsonpath=' {.items[?(@.kind=="StatefulSet")].status.readyReplicas }' 2>&1 )
76+ READY_REPLICAS=$( oc get statefulset -l component=${2:- kafka} -o jsonpath=' {.items[?(@.kind=="StatefulSet")].status.currentReplicas }' 2>&1 )
7777 echo " [${ATTEMPTS} /${MAX_ATTEMPTS} ] - Ready replicas : ${READY_REPLICAS:- 0} /$REPLICAS ... "
7878 done
7979 oc get all
You can’t perform that action at this time.
0 commit comments