oc-deploy can now deploy Demo
This commit is contained in:
9
k8s/add-datas-demo.sh
Executable file
9
k8s/add-datas-demo.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
start=1
|
||||
end=${1:-1}
|
||||
|
||||
for ((i=start; i<=end; i++)); do
|
||||
export KUBECONFIG=~/.kube/configCluster$i
|
||||
oc-k8s upgrade db -d opencloud -r cluster-$i -n cluster-$i -f ./datas/cluster-$i
|
||||
done
|
||||
Reference in New Issue
Block a user