To install CSPC operator, run the command given below:
kubectl apply -f https://openebs.github.io/charts/cstor-operator.yaml
Sample Output:
namespace/openebs created
serviceaccount/openebs-maya-operator created
customresourcedefinition.apiextensions.k8s.io/cstorpoolclusters.cstor.openebs.io created
customresourcedefinition.apiextensions.k8s.io/cstorpoolinstances.cstor.openebs.io created
customresourcedefinition.apiextensions.k8s.io/cstorvolumes.cstor.openebs.io created
customresourcedefinition.apiextensions.k8s.io/cstorvolumeconfigs.cstor.openebs.io created
customresourcedefinition.apiextensions.k8s.io/cstorvolumepolicies.cstor.openebs.io created
customresourcedefinition.apiextensions.k8s.io/cstorvolumereplicas.cstor.openebs.io created
clusterrole.rbac.authorization.k8s.io/openebs-cstor-operator created
clusterrolebinding.rbac.authorization.k8s.io/openebs-cstor-operator created
clusterrole.rbac.authorization.k8s.io/openebs-cstor-migration created
clusterrolebinding.rbac.authorization.k8s.io/openebs-cstor-migration created
deployment.apps/cspc-operator created
deployment.apps/cvc-operator created
deployment.apps/openebs-cstor-admission-server created
Verify the CSPC, CVC operator pods and openebs-cstor-admission-server are running by using the below command.
kubectl get pods -n openebs
Sample Output:
NAME READY STATUS RESTARTS AGE cspc-operator-9996dc6dd-2j8kr 1/1 Running 0 5m27s cvc-operator-76796bb45d-cf8hq 1/1 Running 0 5m27s openebs-cstor-admission-server-5b6bdb48d4-gx7p2 1/1 Running 0 5m27s
Ensure the pods are up and running.