OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
Este contenido no está disponible en el idioma seleccionado.
6.4. Starting the Heketi Pods
Execute the following commands on the client machine.
- Execute the following command to navigate to the project where the Heketi pods are running:
oc project <project_name>
# oc project <project_name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:oc project glusterfs
# oc project glusterfs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to get the
DeploymentConfig
:oc get dc
# oc get dc
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:oc get dc
# oc get dc NAME REVISION DESIRED CURRENT TRIGGERED BY glusterblock-provisioner-dc 1 1 1 config heketi 1 1 1 config
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to increase the replica count from 0 to 1. This brings back the Heketi pod:
oc scale dc <heketi_dc> --replicas=1
# oc scale dc <heketi_dc> --replicas=1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to verify that the Heketi pod is present:
oc get pods
# oc get pods
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow