Skip to content

Commit

Permalink
Update velero-deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yongkanghe committed May 12, 2023
1 parent 213ad5d commit d0a51aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions velero-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET}
AZURE_RESOURCE_GROUP=${AKS_RG}
EOF

sleep 15

echo "-------Install & Start velero on AKS"
velero install \
--provider azure \
Expand All @@ -43,6 +41,10 @@ velero install \

echo "-------One time On-Demand Backup of yong-postgresql namespace"
kubectl wait --for=condition=ready --timeout=180s -n velero pod -l component=velero
sleep 10
kubectl get bsl -n velero
sleep 5
kubectl get bsl -n velero
velero backup create yong-postgresql-backup --include-namespaces yong-postgresql

echo "-------Hourly scheduled backup of yong-postgresql namespace"
Expand Down

0 comments on commit d0a51aa

Please sign in to comment.