Velero - Backup & Restore Kubernetes Cluster (Application with Persistent Volume )

  Рет қаралды 13,354

WeMake

WeMake

Күн бұрын

Пікірлер: 13
@ramveergupta3696
@ramveergupta3696 4 жыл бұрын
Thanks Rohtash to share this demo. this will help for me to namespace backup.
@subhankarb100
@subhankarb100 Жыл бұрын
thanks for your nice video but do I need to install miniO in the same k8s machine? or I can install that in a separate server for storage only?
@bulmust
@bulmust 3 ай бұрын
Velero needs an endpoint for the backup, so you can use either minio in the same cluster or separate s3 storage
@MyYuichan
@MyYuichan 3 жыл бұрын
i wonder what is the k8s version ?
@tauqeerahmad9516
@tauqeerahmad9516 2 жыл бұрын
I tried this but my server nodeport have issue. When I try to access minio the port no change itself to console port. In log I can see console have different port no than nodeport service . Any advice please
@paccciii
@paccciii 8 ай бұрын
did you find any solution?
@taimurmalik280
@taimurmalik280 Жыл бұрын
I did not find this command Please paste it here
@dhirajraj8498
@dhirajraj8498 4 жыл бұрын
Thanks for the video..Can you post the velero video for AKS clsuter where the storage will be Azure blob storage instead of minio? . Thanks in advance
@wemake8369
@wemake8369 4 жыл бұрын
Sure Once get time , Here i just want to Aware about tools.
@Martin-pd6mc
@Martin-pd6mc 4 жыл бұрын
Thanks for the video! Can you please put the commands you executed? Did you try to actually install Velero inside a kubernetes Cluster? Can you make a video for that? Thanks!
@wemake8369
@wemake8369 4 жыл бұрын
Yes , I did. Already one old recording there
@Martin-pd6mc
@Martin-pd6mc 4 жыл бұрын
@@wemake8369 could you share the link? Thanks!
@wemake8369
@wemake8369 4 жыл бұрын
#### Dow#### Download The Release ##### github.com/vmware-tanzu/velero/releases/tag/v1.2.0 velero-v1.3.0-beta.2-darwin-amd64 ####### Change NodePort for S3 Compatible local Storage ##### velero-v1.3.0-beta.2-darwin-amd64/examples/minio/ clusterIP replaced by NodePort kubectl apply -f 00-minio-deployment.yaml ###### Credential File for minio setup ######### vim credentials-velero [default] aws_access_key_id = minio aws_secret_access_key = minio123 kubectl get svc -n velero ####### velero Install ##### ./velero install \ --provider aws \ --plugins velero/velero-plugin-for-aws:v1.0.0 \ --bucket velero \ --secret-file ./credentials-velero \ --use-volume-snapshots=false \ --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=minio.velero.svc:9000,publicUrl=localhost:30000 --use-restic ############################### Veryfy the Installation ###### kubectl get deployments -l component=velero --namespace=velero ######## Create your App with PV ########## ####### PVC ###### apiVersion: v1 kind: PersistentVolumeClaim metadata: name: local-path-pvc namespace: nginx spec: accessModes: - ReadWriteOnce storageClassName: hostpath ### Depend upon your SC ####### resources: requests: storage: 5Mi ##########POD############# apiVersion: v1 kind: Pod metadata: name: volume-test namespace: nginx spec: containers: - name: volume-test image: nginx:stable-alpine imagePullPolicy: IfNotPresent volumeMounts: - name: volv mountPath: /data ports: - containerPort: 80 volumes: - name: volv persistentVolumeClaim: claimName: local-path-pvc ################################# ./velero backup create nginx --include-namespaces nginx --wait ./velero backup logs nginx ./velero restore create --from-backup nginx kubectl get pod -n ngix kubectl get pod -n nginx nload The Release ##### github.com/vmware-tanzu/velero/releases/tag/v1.2.0 velero-v1.3.0-beta.2-darwin-amd64 ####### Change NodePort for S3 Compatible local Storage ##### velero-v1.3.0-beta.2-darwin-amd64/examples/minio/ clusterIP replaced by NodePort kubectl apply -f 00-minio-deployment.yaml ###### Credential File for minio setup ######### vim credentials-velero [default] aws_access_key_id = minio aws_secret_access_key = minio123 kubectl get svc -n velero ####### velero Install ##### ./velero install \ --provider aws \ --plugins velero/velero-plugin-for-aws:v1.0.0 \ --bucket velero \ --secret-file ./credentials-velero \ --use-volume-snapshots=false \ --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=minio.velero.svc:9000,publicUrl=localhost:30000 --use-restic ############################### Veryfy the Installation ###### kubectl get deployments -l component=velero --namespace=velero ######## Create your App with PV ########## ####### PVC ###### apiVersion: v1 kind: PersistentVolumeClaim metadata: name: local-path-pvc namespace: nginx spec: accessModes: - ReadWriteOnce storageClassName: hostpath ### Depend upon your SC ####### resources: requests: storage: 5Mi ##########POD############# apiVersion: v1 kind: Pod metadata: name: volume-test namespace: nginx spec: containers: - name: volume-test image: nginx:stable-alpine imagePullPolicy: IfNotPresent volumeMounts: - name: volv mountPath: /data ports: - containerPort: 80 volumes: - name: volv persistentVolumeClaim: claimName: local-path-pvc ################################# ./velero backup create nginx --include-namespaces nginx --wait ./velero backup logs nginx ./velero restore create --from-backup nginx kubectl get pod -n ngix kubectl get pod -n nginx
Master Kubernetes Backups with Velero: Step-by-Step Guide
15:52
DevOps Toolkit
Рет қаралды 3,4 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Kubernetes Volume Snapshots
13:00
Beyond the README
Рет қаралды 1,5 М.
Velero Backup - 1 minute Enable Container Backups on EKS by Yongkang | Kubernetes Backup
11:54
Kubernetes - An Enterprise Guide  (Backups, Velero, Kanister)
48:22
Using CSI snapshots to backup and restore your data in Kubernetes
19:49
CNCF [Cloud Native Computing Foundation]
Рет қаралды 8 М.
Kubernetes Backups, Upgrades, Migrations - with Velero
26:01
That DevOps Guy
Рет қаралды 39 М.
[ Kube 105 ] Renewing Kubernetes certificates with Kubeadm
21:58
Just me and Opensource
Рет қаралды 13 М.
[ Kube 45 ] Velero - Backup & Restore Kubernetes Cluster
40:18
Just me and Opensource
Рет қаралды 34 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН