Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for Kubernetes
  • Comparison with other Yandex Cloud services
  • Getting started
    • All guides
    • Connecting to a node over SSH
    • Connecting to a node via OS Login
    • Updating Kubernetes
    • Configuring autoscaling
      • Getting started with Cloud Marketplace
      • Installing Argo CD
      • Installing Chaos Mesh
      • Installing cert-manager with the Cloud DNS ACME webhook plugin
      • Installing Container Storage Interface for S3
      • Installing Crossplane
      • Installing External Secrets Operator
      • Installing ExternalDNS with a plugin for Cloud DNS
      • Installing Falco
      • Installing Filebeat OSS
      • Installing Fluent Bit
      • Installing Gatekeeper
      • Installing Gateway API
      • Installing the GitLab Agent
      • Installing GitLab Runner
      • Installing HashiCorp Vault
      • Installing Ingress NGINX
      • Installing the Application Load Balancer Ingress controller
      • Upgrading the Application Load Balancer Ingress controller
      • Installing Istio
      • Installing Jaeger
      • Installing Kruise
      • Installing Kyverno & Kyverno Policies
      • Installing Loki
      • Installing Metrics Provider
      • Installing NodeLocal DNS
      • Installing Policy Reporter
      • Installing Prometheus Operator
      • Installing Thumbor
      • Installing Velero
    • Connecting external nodes to the cluster
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Getting started
  • Installation using Yandex Cloud Marketplace
  • Installation using a Helm chart
  • See also
  1. Step-by-step guides
  2. Installing apps from Cloud Marketplace
  3. Installing Velero

Installing Velero

Written by
Yandex Cloud
Improved by
Dmitry A.
Updated at May 5, 2025
  • Getting started
  • Installation using Yandex Cloud Marketplace
  • Installation using a Helm chart
  • See also

Velero is a backup, recovery, and migration tool for Managed Service for Kubernetes cluster objects, including persistent volumes. With Velero, you can:

  • Protect your data from loss using a flexible backup system.
  • Recover a Managed Service for Kubernetes cluster faster if it goes down.
  • Move your data from one Managed Service for Kubernetes cluster to another.

Velero uses the Container Storage Interface driver to create backups and restore persistent volumes from Yandex Cloud disk snapshots.

Getting startedGetting started

  1. If you do not have the Yandex Cloud CLI yet, install and initialize it.

    The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  2. Create a service account needed to access Yandex Object Storage.

    yc iam service-account create --name <service_account_name>
    
  3. Assign the storage.editor role to the service account:

    yc resource-manager folder add-access-binding <folder_ID> \
      --role storage.editor \
      --subject serviceAccount:<service_account_ID>
    
  4. Create a static access key for your service account.

    • If installing Velero in the management console using Yandex Cloud Marketplace, create a static key in JSON format and save it to the sa-key.json file:

      yc iam access-key create \
        --service-account-name=<service_account_name> \
        --format=json > sa-key.json
      
    • If installing Velero using a Helm chart, run the following command and save the key_id and secret key you get:

      yc iam access-key create \
        --service-account-name=<service_account_name>
      
  5. Create an Object Storage bucket.

  6. Make sure that the security groups for the Managed Service for Kubernetes cluster and its node groups are configured correctly. If any rule is missing, add it.

    Warning

    The configuration of security groups determines the performance and availability of the cluster and the services and applications running in it.

  7. Make sure you have enough disk snapshot and disk size quotas to create a backup. To do this, you can use the service for viewing quotas.

Installation using Yandex Cloud MarketplaceInstallation using Yandex Cloud Marketplace

  1. Navigate to the folder dashboard and select Managed Service for Kubernetes.
  2. Click the name of the Managed Service for Kubernetes cluster you need and select the Marketplace tab.
  3. Under Application available for installation, select Velero and click Go to install.
  4. Configure the application:
    • Namespace: Create a namespace named velero. The application uses it by default. If you leave the default namespace, Velero may work incorrectly.

      Note

      If you create a namespace with a different name, you will need to specify it in every command using the --namespace <Velero_application_namespace> parameter.

    • Application name: Specify the application name.

    • Object Storage static access key: Copy the contents of the sa-key.json file or create a new access key for the service account. The service account must have the storage.editor role.

    • Object Storage bucket name: Specify the name of the Object Storage bucket.

  5. Click Install.
  6. Wait for the application to change its status to Deployed.

Installation using a Helm chartInstallation using a Helm chart

  1. Install Helm v3.8.0 or higher.

  2. Install kubect and configure it to work with the new cluster.

  3. To install a Helm chart with Velero, run the following command, specifying the parameters of the resources you created earlier:

    helm pull oci://cr.yandex/yc-marketplace/yandex-cloud/velero/velero \
         --version 8.5.0-4 \
         --untar && \
    helm install \
         --namespace velero \
         --create-namespace \
         --set configuration.backupStorageLocation.bucket=<bucket_name> \
         --set serviceaccountawskeyvalue_generated.accessKeyID=<key_ID> \
         --set serviceaccountawskeyvalue_generated.secretAccessKey=<secret_key> \
         velero ./velero/
    

    Note

    If you are using a Helm version below 3.8.0, append the export HELM_EXPERIMENTAL_OCI=1 && \ string to the command to enable Open Container Initiative (OCI) support in the Helm client.

See alsoSee also

  • Velero documentation
  • Managed Service for Kubernetes cluster backups in Object Storage

Was the article helpful?

Previous
Installing Thumbor
Next
Granting access to an app running in a Kubernetes cluster
© 2025 Direct Cursus Technology L.L.C.