File tree Expand file tree Collapse file tree 6 files changed +7
-9
lines changed
Expand file tree Collapse file tree 6 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 2121
2222$CO_CMD $NS delete configmap operator-conf apiserver-conf
2323
24- # $CO_CMD $NS delete service postgres-operator
24+ $CO_CMD $NS delete service postgres-operator
2525
2626$CO_CMD $NS delete deployment postgres-operator
2727
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ $CO_CMD $NS create configmap operator-conf \
3636 --from-file=$COROOT /conf/postgres-operator/pvc-storageclass.json \
3737 --from-file=$COROOT /conf/postgres-operator/cluster/1
3838
39- envsubst < $DIR /deployment.json | $CO_CMD $NS create -f -
39+ expenv -f $DIR /deployment.json | $CO_CMD $NS create -f -
4040
4141$CO_CMD $NS create -f $DIR /service.json
4242
Original file line number Diff line number Diff line change @@ -70,11 +70,6 @@ sudo chmod o+rwx /etc/kubernetes/admin.conf
7070
7171=== Create Project and Clone
7272
73- Install some of the required dependencies:
74- ....
75- yum -y install git gettext
76- ....
77-
7873In your .bashrc file, include the following:
7974....
8075export GOPATH=$HOME/odev
Original file line number Diff line number Diff line change @@ -295,6 +295,9 @@ _pgo_create_cluster()
295295 flags+=(" --labels=" )
296296 two_word_flags+=(" -l" )
297297 local_nonpersistent_flags+=(" --labels=" )
298+ flags+=(" --metrics" )
299+ flags+=(" -m" )
300+ local_nonpersistent_flags+=(" --metrics" )
298301 flags+=(" --node-name=" )
299302 two_word_flags+=(" -n" )
300303 local_nonpersistent_flags+=(" --node-name=" )
Original file line number Diff line number Diff line change 2323 echo " creating PV crunchy-pv$i "
2424 export COUNTER=$i
2525 $CO_CMD --namespace=$CO_NAMESPACE delete pv crunchy-pv$i
26- envsubst < $DIR /crunchy-pv-nfs.json | $CO_CMD --namespace=$CO_NAMESPACE create -f -
26+ expenv -f $DIR /crunchy-pv-nfs.json | $CO_CMD --namespace=$CO_NAMESPACE create -f -
2727done
Original file line number Diff line number Diff line change 2323 echo " creating PV crunchy-pv$i "
2424 export COUNTER=$i
2525 $CO_CMD --namespace=$CO_NAMESPACE delete pv crunchy-pv$i
26- envsubst < $DIR /crunchy-pv.json | $CO_CMD --namespace=$CO_NAMESPACE create -f -
26+ expenv -f $DIR /crunchy-pv.json | $CO_CMD --namespace=$CO_NAMESPACE create -f -
2727done
You can’t perform that action at this time.
0 commit comments