Install MSR

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:

  1. Download the cr-sample-manifest YAML file by clicking cr-sample-manifest.yaml.

  2. Make further edits to the cr-sample-manifest.yaml file 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.

  3. 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
    
  4. 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:

  1. Verify that all msr-* Pods are in the running state.

  2. Set up your load balancer.

  3. Log into the MSR web UI.

  4. Log into MSR from the command line:

    docker login $FQDN
    
  5. Push an image to MSR using docker push.

Note

The default credentials for MSR are:

  • User name: admin

  • password: password

See also