velero | migrate Kubernetes applications and their persistent volumes | Continuous Backup library

 by   vmware-tanzu Go Version: v1.10.3 License: Apache-2.0

kandi X-RAY | velero Summary

kandi X-RAY | velero Summary

velero is a Go library typically used in Backup Recovery, Continuous Backup applications. velero has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

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

            kandi-support Support

              velero has a medium active ecosystem.
              It has 7397 star(s) with 1225 fork(s). There are 137 watchers for this library.
              There were 10 major release(s) in the last 12 months.
              There are 418 open issues and 2707 have been closed. On average issues are closed in 73 days. There are 39 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of velero is v1.10.3

            kandi-Quality Quality

              velero has 0 bugs and 0 code smells.

            kandi-Security Security

              velero has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              velero code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              velero is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              velero releases are available to install and integrate.
              It has 74714 lines of code, 3135 functions and 671 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of velero
            Get all kandi verified functions for this library.

            velero Key Features

            No Key Features are available at this moment for velero.

            velero Examples and Code Snippets

            No Code Snippets are available at this moment for velero.

            Community Discussions

            QUESTION

            velero backups failing for "backup resource list not found"
            Asked 2022-Feb-26 at 16:08

            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:37

            Not 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.

            See line 328 (1)

            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!

            Source https://stackoverflow.com/questions/71065121

            QUESTION

            How to create custom objects in Kubernetes?
            Asked 2022-Feb-07 at 18:09

            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:09

            If you would like to create a client for custom object follow the following steps:

            1. Describe the custom resource for which you would like to create a rest client:

            Source https://stackoverflow.com/questions/70022742

            QUESTION

            Trouble creating Velero storage location with storage access key
            Asked 2022-Jan-14 at 21:21

            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'm getting the error below

            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:43

            not 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 :

            Source https://stackoverflow.com/questions/70629466

            QUESTION

            backup store for location "default" is invalid
            Asked 2021-Aug-03 at 15:00

            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:00

            So 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.

            Source https://stackoverflow.com/questions/68623186

            QUESTION

            How can I change my Velero credentials after they were reset
            Asked 2021-Aug-01 at 22:29

            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:29
            1. Update credentials file

            First, update your credentials file (for most providers, this is credentials-velero and the contents are described in the plugin installation instructions: AWS, Azure, GCP)

            2. Update secret

            Now update the velero secret. On linux:

            Source https://stackoverflow.com/questions/68552496

            QUESTION

            Longhorn backup/snapshot hooks
            Asked 2021-Jun-01 at 10:20

            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:20

            Apparently not possible at the moment, according to the longhorn github issue.

            You can orchestrate similar behaviour by using volume snapshot

            Source https://stackoverflow.com/questions/65630349

            QUESTION

            Velero + MinIO: Unknown desc = AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong;
            Asked 2021-Apr-19 at 21:54

            I'm getting this issue below. Anyone has an idea what could be wrong?

            ...

            ANSWER

            Answered 2021-Apr-19 at 21:54

            The problem was missing configuration:

            Source https://stackoverflow.com/questions/67152412

            QUESTION

            velero backup failing for GKE Cluster
            Asked 2020-Oct-07 at 12:47

            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:47

            The issue is resolved now

            Was seeing below error in log

            Source https://stackoverflow.com/questions/64207390

            QUESTION

            Regarding Google Kubernetes Cluster backup
            Asked 2020-Sep-30 at 10:00

            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.

            https://velero.io/

            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:00

            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.

            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:

            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:

            Source https://stackoverflow.com/questions/64120925

            QUESTION

            kubectl: describe annotations for persistent volume claims
            Asked 2020-Sep-28 at 14:47

            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:47

            Chasing 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

            Source https://stackoverflow.com/questions/64069498

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install velero

            You can download it from GitHub.

            Support

            The documentation provides a getting started guide and information about building from source, architecture, extending Velero, and more. Please use the version selector at the top of the site to ensure you are using the appropriate documentation for your version of Velero.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/vmware-tanzu/velero.git

          • CLI

            gh repo clone vmware-tanzu/velero

          • sshUrl

            git@github.com:vmware-tanzu/velero.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continuous Backup Libraries

            restic

            by restic

            borg

            by borgbackup

            duplicati

            by duplicati

            manifest

            by phar-io

            velero

            by vmware-tanzu

            Try Top Libraries by vmware-tanzu

            octant

            by vmware-tanzuGo

            kubeapps

            by vmware-tanzuGo

            sonobuoy

            by vmware-tanzuGo

            community-edition

            by vmware-tanzuGo

            carvel-ytt

            by vmware-tanzuGo