To allow tenants to protect Kubernetes clusters, you must configure various parameters in the VMware Cloud Director Object Storage Extension CLI.

For more information on the parameters and the command-line interface scripts, see VMware Cloud Director Object Storage Extension Command-Line Interface Reference.

Procedure

  1. If you have previously customized the Velero version in VMware Cloud Director Object Storage Extension or your tenant Kubernetes clusters are in restricted networks that cannot download images from public networks, you must configure the following parameters in the VMware Cloud Director Object Storage Extension CLI, after you upgrade to the latest VMware Cloud Director Object Storage Extension version.
    1. Set the Velero helm chart package to the latest version.
      The tenant Kubernetes cluster must have outbound access to the package location. If you clone the Velero helm chart and package to a private registry, you can set the path to your registry location.
      ose args set -k oss.k8s.velero.helm-chart-tgz.url -v https://github.com/vmware-tanzu/helm-charts/releases/download/velero-3.0.0/velero-3.0.0.tgz
    2. Set the registry repository path for the Velero package.
      • If you use the default container registry, use the following command.
        ose args set -k oss.k8s.velero.repository -v velero/velero
      • If you use a custom container registry, use the following command.
        ose args set -k oss.k8s.velero.repository -v $custom-container-registry/velero/velero
    3. Set the version tag for Velero.
      ose args set -k oss.k8s.velero.tag -v v1.10.0
    4. Set the S3 client plugin for Velero.
      • If you use the default container registry, use the following command.
        ose args set -k oss.k8s.velero.aws.plug.image -v velero/velero-plugin-for-aws:v1.6.0
      • If you use a custom container registry, use the following command.
        ose args set -k oss.k8s.velero.aws.plug.image -v $custom-container-registry/velero/velero-plugin-for-aws:v1.6.0
    5. Set the registry repository path for the Velero Restore Helper package.
      • If you use the default container registry, use the following command.
        ose set -k oss.k8s.velero.restore-helper.image -v velero/velero-restore-helper:v1.10.0
      • If you use a custom container registry, use the following command.
        ose set -k oss.k8s.velero.restore-helper.image -v $custom-container-registry/velero/velero-restore-helper:v1.10.0
    6. Restart the OSE service.
      ose service restart
  2. If the CPU and memory settings for the Velero node agent are insufficient for the back up, you must increase the CPU and memory of the node agent.
    1. Set the Velero agent node CPU.
      ose args set -k oss.k8s.velero.node-agent.cpu -v 2000m
    2. Set the Velero agent node memory.
      ose args set -k oss.k8s.velero.node-agent.memory -v 2048Mi
    3. Restart the OSE service.
      ose service restart
  3. If the SSL certificate of Object Service Extension is self-signed, you must bypass the certification verification.
    1. Skip the TLS verification for VMware Cloud Director Object Storage Extension self-signed certificate from the Velero agent.
      ose args set -k oss.k8s.velero.insecure.skip.tls.verify -v true
    2. Restart the OSE service.
      ose service restart