velero | migrate Kubernetes applications and their persistent volumes | Continuous Backup library
kandi X-RAY | velero Summary
kandi X-RAY | velero Summary
Velero (formerly Heptio Ark) gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes. You can run Velero with a public cloud platform or on-premises. Velero lets you:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of velero
velero Key Features
velero Examples and Code Snippets
Community Discussions
Trending Discussions on velero
QUESTION
After the upgrade of velero from 1.3.2 to 1.7.7 backups started failing. When describing the failing backup:
...ANSWER
Answered 2022-Feb-13 at 13:37Not sure if this solves the issue for everyone, but it worked for me. After searching inside the velero source code repo, I located the following go package velero/pkg/cmd/util/output/backup_describer.go that contained the error message I found when describing the failing backup.
The hints at (2) in the source code led me to search on upload issues. As I am using the velero-plugin-for-microsoft-azure to handle uploads to Azure the following GitHub issue finally gave me the nudge in the right direction.
Seems like the velero-plugin-for-microsoft-azure required more memory (512Mi) since v1.5.3 (if I understood it correctly).
The limits on my one were still at 256Mi and failing, I increased the limits to 512Mi and, presto! It started working again.
A big shout out to David L. Smith-Uchida whose breadcrumbs led me to the solution!
QUESTION
I am using Velero to create and backup and restore, Velero has controllers which get triggered when I can create the custom objects.
...ANSWER
Answered 2022-Feb-07 at 18:09If you would like to create a client for custom object follow the following steps:
- Describe the custom resource for which you would like to create a rest client:
QUESTION
i'm trying to use Velero to backup an AKS cluster but for some reason i'm unable to set the backup location in velero.
I can confirm the credentials-velero file I have obtains the correct storage access key, and the secret (cloud-credentials) reflects it as well.
Kind of at a lost as to why it's throwing me this error. Never used Velero before.
EDIT:
So I used the following commands to get the credential file:
Obtain the Azure Storage account access key
...ANSWER
Answered 2022-Jan-08 at 06:43not sure how your cred file formatting is and the command you are running.
Please try the below file and update the command as per need.
Example command :
QUESTION
I'm trying to setup velero for multiple clusters in multiple AWS regions, although i'm using Github Actions and run backup in two different VMs, the EKS cluster at us-east-1
is taking backup without any issues, but not the cluster at ap-southeast-2
.
Below is my velero install command which i use and it's getting installed without any issues, but backup is failing for ap-southeast-2
cluster and in pod logs getting below error.
ANSWER
Answered 2021-Aug-03 at 15:00So fixed it by creating a creds.json
and referencing the file while installing velero. no-secrets
works well for us-east-1 but not for other regions though.
QUESTION
I have an Azure Kubernetes cluster with Velero installed. A Service Principal was created for Velero, per option 1 of the instructions.
Velero was working fine until the credentials for the Service Principal were reset. Now the scheduled backups are failing.
...ANSWER
Answered 2021-Aug-01 at 22:29QUESTION
How do I configure Longhorn backup so it executes some bash scripts in the pod before and after snapshot/backup is taken?
Something similar to Velero's backup hooks.
...ANSWER
Answered 2021-Jun-01 at 10:20Apparently not possible at the moment, according to the longhorn github issue.
You can orchestrate similar behaviour by using volume snapshot
QUESTION
I'm getting this issue below. Anyone has an idea what could be wrong?
...ANSWER
Answered 2021-Apr-19 at 21:54The problem was missing configuration:
QUESTION
I am trying with velero
to create backup of GKE Cluster
. I installed successfully on the GKE Cluster
as shown below
ANSWER
Answered 2020-Oct-07 at 12:47The issue is resolved now
Was seeing below error in log
QUESTION
I am looking to understand things regarding Google Kubernetes Cluster backup . I came across this document but this seems to be more on GCP Anthos On premises GKE Cluster .
https://cloud.google.com/anthos/gke/docs/on-prem/archive/1.1/how-to/administration/backing-up
I saw few blogs talking of a GKE feature to create a clone of existing GKE Cluster but I cannot find any option in GCP Console to create new cluster by cloning an existing GKE Cluster.
https://blog.doit-intl.com/google-kubernetes-engine-cluster-migration-with-velero-4a140b018f32
Can somebody please confirm if this cloning feature is still available in GKE or it is deprecated ?
Apart from Cloning a GKE Cluster , we need to take backup of Cluster resources and PersistentVolumes. It seems Veloro is a useful tool for this and it is GKE aware.
I am looking for further suggestions regarding GKE Cluster backup which takes care of both Cluster resources and persistent volumes. Any recommendation/best practises from Google on GKE backup
...ANSWER
Answered 2020-Sep-30 at 10:00I saw few blogs talking of a GKE feature to create a clone of existing GKE Cluster but I cannot find any option in GCP Console to create new cluster by cloning an existing GKE Cluster.
Can somebody please confirm if this cloning feature is still available in GKE or it is deprecated ?
You can in fact create a duplicate! By going into:
Cloud Console
(Web UI) ->Kubernetes Engine
->CLUSTER-NAME
->Duplicate
.
Disclaimer!
This option will create a duplicate of your cluster but it will not copy the workload (
Pods
,Deployments
,Services
,Persistent Volumes
, etc.)
Transferring your workload will heavily depend on the resources that you are using. You will need to carefully consider all of the resources and choose the solution most appropriate to your use case.
Solution mentioned in the question:
Storage specific:
- Cloud.google.com: Kubernetes Engine: Persistent Volumes: Volume snapshots - available from
GKE
version1.17
- Make snapshots/images from existing
PV's
and create newPV's
from this snapshots/images:
It could be beneficiary to add that you could also take a different approach and use tools that are designed to provision resources multiple times. Once created "scripts" could be used multiple times (on multiple clusters when migrating etc.). Examples of such tools:
Additional resources:
QUESTION
New to kubectl
. I have been tasked with generating a report (via bash script) that retrieves specific annotations from persistent volume claims (PVC), and I am having trouble.
From what I am told, there is at least 1 annotation that describes if a PVC is backed up by Velero or not. This annotation is stored within the PVC.
The psudeo-code goes like this:
...ANSWER
Answered 2020-Sep-28 at 14:47Chasing a red herring with the describe
sub-command it seems. The annotation output is hidden metadata that is accessible via kubectl get
using the -o
flag. For example:
kubectl get persistentvolumeclaims -o json
and can be further parsed by piping the output to jq
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install velero
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page