added label to cloud-deployment

This commit is contained in:
bom 2021-12-15 12:15:22 +01:00
parent df46d9e2b5
commit 51a6341441
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@ metadata:
spec:
selector:
matchLabels:
app: cloud-app
app.kubernetes.io/name: cloud-pod
app.kubernetes.io/application: cloud
strategy:

View file

@ -32,7 +32,7 @@ function main()
cd ../../../../ # c4k-nextcloud project root
lein uberjar
java -jar target/uberjar/c4k-nextcloud-standalone.jar config-local.edn auth-local.edn | kubectl apply -f -
POD=$(kubectl get pod -l app=cloud-pod -o name)
POD=$(kubectl get pod -l app=cloud-app -o name)
kubectl wait $POD --for=condition=Ready --timeout=240s
kubectl scale deployment backup-restore --replicas 1