Building a Compute Space Custom Resource

When you create a Compute Space (CSpace) in the Kubernetes environment, the Custom Resource should contain values for the following properties:
Property Type Description
clustername string The name of the MapR storage cluster to associate with this CSpace.
Important: This value is required.
clustertype string The type of MapR storage cluster. Specify external to indicate that the MapR cluster is outside the Compute Space environment. Other values are not currently supported.

NOTE: The external MapR storage cluster must be visible from pods running in the Kubernetes cluster. To verify that there is connectivity, get a shell to a running pod on the Kubernetes cluster and ping nodes on the external storage cluster.

baseImageTag string This tag (along with the service name) is used to identify the images to pull unless it is overridden by a specific CSpace service in the CSpace service info section.
imageRegistry string The registry location to pull images from. This value should ALWAYS be provided unless you are pulling images from Docker Hub.
imagePullSecret string Specifies the name of the secret in mapr-system that contains the login information for the image registry.
logLocation string (Optional) Specifies the location on the host to store logs for CSpace pods. This can be changed to any writable location on your K8S host node. Some host OS have different restrictions. The default value is /var/log/mapr/<cspace>/.
coreLocation string (Optional) Specifies the location on the host to store core files for CSpace pods. This can be changed to any writable location on your Kubernetes host node. The default value is /var/log/mapr/<cspace>/cores/.
podInfoLocation string (Optional) Specifies the top-level directory to store persistent pod information, separated by cluster. This can be changed to any writable location on your Kubernetes host node. Some host OS have different restrictions. The default value is /var/log/mapr/<cspace>/podinfo/.
externalClusterInfo object Specifies the settings when the MapR storage cluster is not in the same Kubernetes environment as the Compute Space. This is ignored if clusterType is set to internal. (The internal value is not currently supported.) For more information, see Settings for External Cluster Info.
quotas object Specifies the limitations on Kubernetes resources that may be created in the CSpace namespace. For more information, see Settings for Quotas.
debugging object Specifies the settings for debugging. For more information, see Settings for Debugging.
cspaceservices object Specifies the settings for the CSpace services. For more information, see Settings for CSpace Services.
userList array Specifies the list of Kubernetes user names to add to the CSpace role-based access control (RBAC).
Note: These are Kubernetes users, and not necessarily MapR users.
groupList array Specifies the list of group names to add to the CSpace role-based access control (RBAC).
Note: These are Kubernetes groups, and not necessarily MapR groups.