Upgrade Snapshot Controller¶
This guide will walk you through upgrading the Snapshot Controller.
Overview
What You’ll Need¶
- An upgraded management environment.
- An upgraded Rok deployment.
- An existing Kubernetes cluster.
- Your local clone of the Arrikto GitOps repository.
- Arrikto manifests for EKF version 2.1.
Procedure¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deploymentsUpdate the Snapshot Controller:
Delete the Snapshot Controller
StatefulSet
in thekube-system
namespace:root@rok-tools:~/ops/deployments# kubectl delete sts -n kube-system snapshot-controller statefulset.apps "snapshot-controller" deletedNote
EKF 2.1 deploys Snapshot Controller as a
Deployment
, in accordance with the latest upstream manifests.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¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deploymentsVerify that the Snapshot Controller is up and running. Choose one of the following options, based on your cloud provider.
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.