added label to cloud-deployment
This commit is contained in:
parent
df46d9e2b5
commit
51a6341441
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
app: cloud-app
|
||||||
app.kubernetes.io/name: cloud-pod
|
app.kubernetes.io/name: cloud-pod
|
||||||
app.kubernetes.io/application: cloud
|
app.kubernetes.io/application: cloud
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -32,7 +32,7 @@ function main()
|
||||||
cd ../../../../ # c4k-nextcloud project root
|
cd ../../../../ # c4k-nextcloud project root
|
||||||
lein uberjar
|
lein uberjar
|
||||||
java -jar target/uberjar/c4k-nextcloud-standalone.jar config-local.edn auth-local.edn | kubectl apply -f -
|
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 wait $POD --for=condition=Ready --timeout=240s
|
||||||
|
|
||||||
kubectl scale deployment backup-restore --replicas 1
|
kubectl scale deployment backup-restore --replicas 1
|
||||||
|
|
Loading…
Reference in a new issue