kapp deploy -a namespace-prep -f <(ytt --ignore-unknown-comments -f values.yaml -f prep.yaml)
kapp deploy -a deploy-app -f <(ytt --ignore-unknown-comments -f values.yaml -f deploy.yaml)
kubectl get pods,secret,sa,ingress,svc,pvc -n test-app
cat <<EOF | kubectl apply -f -
apiVersion: velero.io/v1
kind: Backup
metadata:
creationTimestamp: null
name: test-app-backup-02
namespace: velero
spec:
hooks: {}
storageLocation: gorkemo-minio-target
includedNamespaces:
- test-app
ttl: 720h0m0s
status: {}
EOF
kubectl delete ns test-app
cat <<EOF | kubectl apply -f -
apiVersion: velero.io/v1
kind: Restore
metadata:
creationTimestamp: null
name: test-app-restore-02
namespace: velero
spec:
backupName: test-app-backup-02
includedNamespaces:
- '*'
status: {}
EOF
kubectl get pods,secret,sa,ingress,svc,pvc -n test-app
-
Notifications
You must be signed in to change notification settings - Fork 2
burakvardar/sample-nodejs-app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published