Upgrade Snapshot Controller

This guide will walk you through upgrading the Snapshot Controller.

What You’ll Need

Procedure

  1. Go to your GitOps repository, inside your rok-tools management environment:

    root@rok-tools:~# cd ~/ops/deployments
  2. Update the Snapshot Controller:

    1. Delete the Snapshot Controller StatefulSet in the kube-system namespace:

      root@rok-tools:~/ops/deployments# kubectl delete sts -n kube-system snapshot-controller statefulset.apps "snapshot-controller" deleted

      Note

      EKF 2.1 deploys Snapshot Controller as a Deployment, in accordance with the latest upstream manifests.

    2. Apply the Snapshot Controller kustomization:

      root@rok-tools:~/ops/deployments# rok-deploy --apply rok/snapshot-controller/overlays/deploy

    AKS clusters have the latest Snapshot Controller predeployed, so there is nothing to do.

    GKE clusters have the latest Snapshot Controller predeployed, so there is nothing to do.

Verify

  1. Go to your GitOps repository, inside your rok-tools management environment:

    root@rok-tools:~# cd ~/ops/deployments
  2. Verify that the Snapshot Controller is up and running. Choose one of the following options, based on your cloud provider.

    1. Verify that the Snapshot Controller is up-and-running. Ensure that field READY is 2/2:

      root@rok-tools:~# kubectl get deploy -n kube-system snapshot-controller NAME READY AGE snapshot-controller 2/2 1m

    AKS clusters have the latest Snapshot Controller predeployed, so there is nothing to do.

    GKE clusters have the latest Snapshot Controller predeployed, so there is nothing to do.

Summary

You have successfully upgraded the Snapshot Controller.

What’s Next

The next step is to upgrade Kubeflow.