Deploy Rok Disk Manager¶
This section will guide you through deploying Rok Disk Manager (RDM).
If you have already deployed the Rok Disk Manager, expand this box to fast-forward.
- Proceed to the Verify section.
Choose one of the following options to deploy Rok:
- Option 1: Deploy Rok Disk Manager Automatically (preferred).
- Option 2: Deploy Rok Disk Manager Manually.
Choose one of the following options, based on your cloud provider.
If you want to deploy Rok Disk Manager manually, follow the instructions below.
Follow the Patch All Images for Your Deployment guide to patch all kustomizations to use the mirrored images from your internal Docker registry.
Go to your GitOps repository, inside your
rok-toolsmanagement environment:root@rok-tools:~# cd ~/ops/deployments
Create the Rok namespaces,
rok-system, that will host Rok and its system components:root@rok-tools:~/ops/deployments# rok-deploy --apply rok/rok-namespaces/overlays/deploy
Edit the kustomization manifest. Choose one of the following options, based on your cloud provider:
Commit your changes:root@rok-tools:~/ops/deployments# git commit -am "Deploy Rok Disk Manager"
Deploy RDM:root@rok-tools:~/ops/deployments# rok-deploy \ > --apply rok/rok-disk-manager/overlays/deploy
From inside your management environment, verify that the Rok Disk Manager Pods are up-and-running. Check the Pod status and verify that field STATUS is Running and field READY is 1/1 for all Pods:root@rok-tools:~# kubectl -n rok-system get pods NAME READY STATUS RESTARTS AGE rok-disk-manager-tmwqz 1/1 Running 0 1m rok-disk-manager-c4w7n 1/1 Running 0 1m
The number of Pods you are seeing in the above output should be equal with the number of nodes you have in your cluster.