After installing the prerequisites, you can deploy MSR by editing and applying the custom resource manifest, downloadable herein.
Following MSR installation, you can make changes to the the MSR CustomResource (CR) by using kubectl to edit the custom resource manifest.
To install MSR:
Download the cr-sample-manifest YAML file by clicking
Make further edits to the
cr-sample-manifest.yamlfile as needed. Default values will be applied for any fields that are both present in the manifest and left blank. If the field is not present in the manifest, it will receive an empty value.
Invoke the following command to run the webhook health check and create the custom resource:
kubectl wait --for=condition=ready pod -l \ app.kubernetes.io/name="msr-operator" && kubectl apply -f cr-sample-manifest.yaml
Verify completion of the reconciliation process:
kubectl get msrs.msr.mirantis.com kubectl get rethinkdbs.rethinkdb.com
To troubleshoot the reconciliation process, run the following commands:
kubectl describe msrs.msr.mirantis.com kubectl describe rethinkdbs.rethinkdb.com
Review the MSR Operator Pod logs for more detailed results:
kubectl logs <msr-operator-pod-name>
To verify the success of your MSR installation:
Verify that all
msr-*Pods are in the
Log into the MSR web UI.
Log into MSR from the command line:
docker login $FQDN
Push an image to MSR using docker push.
The default credentials for MSR are:
Kubernetes official documentation: Storage Classes