oc-deploy can now deploy Demo

This commit is contained in:
mr
2026-02-06 10:27:42 +01:00
parent 90691a5ec7
commit cbf32fff48
11 changed files with 1364 additions and 600 deletions

9
k8s/add-datas-demo.sh Executable file
View 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