sdb-cluster-crd. yaml
This is the custom resource definition for the MemsqlCluster resource.MemsqlCluster
resource to the internal api-resources in the cluster so that objects of this kind can be generated.
Create a CustomResourceDefinition file to define the MemsqlCluster resource type.
apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata:name: memsqlclusters.memsql.comspec:group: memsql.comnames:kind: MemsqlClusterlistKind: MemsqlClusterListplural: memsqlclusterssingular: memsqlclustershortNames:- singlestore- singlestoredb- memsqlscope: Namespacedversions:- name: v1alpha1served: truestorage: trueschema:openAPIV3Schema:description: Schema for the SingleStore Clusterproperties:apiVersion:description: 'APIVersion defines the versioned schema of this representationof an object. Servers should convert recognized schemas to the latestinternal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'type: stringkind:description: 'Kind is a string value representing the REST resource thisobject represents. Servers may infer this from the endpoint the clientsubmits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'type: stringmetadata:type: objectspec:description: Spec defines the desired state of Clustertype: objectx-kubernetes-preserve-unknown-fields: truestatus:description: Status defines the observed state of Clustertype: objectx-kubernetes-preserve-unknown-fields: truetype: objectsubresources:status: {}additionalPrinterColumns:- name: Aggregatorstype: integerdescription: Number of AggregatorsjsonPath: .status.expectedAggregators- name: Leavestype: integerdescription: Number of Leaf Nodes (per availability group)jsonPath: .status.expectedLeaves- name: Redundancy Leveltype: integerdescription: Redundancy level of the ClusterjsonPath: .spec.redundancyLevel- name: Agetype: datejsonPath: .metadata.creationTimestamp
Last modified: July 20, 2023