Packages:
Package v1 is the v1 version of the API.
(Appears on:ComputeGroupStatus, FEStatus, MetaServiceStatus)
| Value | Description |
|---|---|
"Available" |
Available represents the service is available. |
"UnAvailable" |
UnAvailable represents the service not available for using. |
(Appears on:DorisDisaggregatedClusterStatus)
| Field | Description |
|---|---|
healthHealth |
represents the cluster overall status. |
feAvailablebool |
represents the fe available or not. |
cgCountint32 |
the number of compute group. |
cgAvailableCountint32 |
the available numbers of compute group. |
cgFullAvailableCountint32 |
the full available numbers of compute group, represents all pod in compute group are ready. |
(Appears on:ComputeGroup, FeSpec, MetaService)
| Field | Description |
|---|---|
replicasint32 |
Replicas represent the number of desired Pod. fe default is 2. fe is master-slave architecture only one is master. |
imagestring |
Image is the Disaggregated docker image to deploy. please reference the selectdb repository to find. |
imagePullSecrets[]Kubernetes core/v1.LocalObjectReference |
(Optional)
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod |
startTimeoutint32 |
pod start timeout, unit is second |
liveTimeoutint32 |
Number of seconds after which the probe times out. Defaults to 180 second. |
ResourceRequirementsKubernetes core/v1.ResourceRequirements |
(Members of defines the specification of resource cpu and mem. ep: {“requests”:{“cpu”: 4, “memory”: “8Gi”},“limits”:{“cpu”:4,“memory”:“8Gi”}} |
labelsmap[string]string |
Labels for organize and categorize objects |
annotationsmap[string]string |
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. |
affinityKubernetes core/v1.Affinity |
(Optional)
Affinity is a group of affinity scheduling rules. |
persistentVolumePersistentVolume |
VolumeClaimTemplate allows customizing the persistent volume claim for the pod. |
tolerations[]Kubernetes core/v1.Toleration |
(Optional)
(Optional) Tolerations for scheduling pods onto some dedicated nodes |
serviceExportService |
export metaservice for accessing from outside k8s. |
configMaps[]ConfigMap |
ConfigMaps describe all configmap that need to be mounted. |
nodeSelectormap[string]string |
(Optional)
specify what’s node to deploy compute group pod. |
serviceAccountstring |
serviceAccount for compute node access cloud service. |
hostAliases[]Kubernetes core/v1.HostAlias |
(Optional)
HostAliases is an optional list of hosts and IPs that will be injected into the pod’s hosts file if specified. This is only valid for non-hostNetwork pods. |
securityContextKubernetes core/v1.PodSecurityContext |
(Optional)
Security context for pod. |
containerSecurityContextKubernetes core/v1.SecurityContext |
(Optional)
Security context for all containers running in the pod (unless they override it). |
envVars[]Kubernetes core/v1.EnvVar |
EnvVars is a slice of environment variables that are added to the pods, the default is empty. |
systemInitializationSystemInitialization |
SystemInitialization for fe, be setting system parameters. |
(Appears on:DorisDisaggregatedClusterSpec)
ComputeGroup describe the specification that a group of compute node.
| Field | Description |
|---|---|
uniqueIdstring |
the unique identifier of compute group, first register in fe will use UniqueId as cluster name. |
CommonSpecCommonSpec |
(Members of |
(Appears on:DorisDisaggregatedClusterStatus)
| Field | Description |
|---|---|
phasePhase |
Phase represent the stage of reconciling. |
statefulsetNamestring |
the statefulset of control this compute group pods. |
serviceNamestring |
the service that can access the compute group pods. |
uniqueIdstring |
|
availableStatusAvailableStatus |
AvailableStatus represents the compute group available or not. |
suspendReplicasint32 |
suspend replicas display the replicas of compute group before resume. |
replicasint32 |
replicas is the number of Pods created by the StatefulSet controller. |
availableReplicasint32 |
(Optional)
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. |
(Appears on:CommonSpec)
| Field | Description |
|---|---|
namestring |
Name specify the configmap need to be mounted in pod in deployed namespace. |
mountPathstring |
display the path of configMap be mounted in pod. the component start conf please mount to /etc/doris, ep: fe-configmap contains ‘fe.conf’, mountPath must be ‘/etc/doris’. key in configMap’s data is file name. |
DorisDisaggregatedCluster defined as CRD format, have type, metadata, spec, status, fields.
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||
specDorisDisaggregatedClusterSpec |
|
||||||||
statusDorisDisaggregatedClusterStatus |
(Appears on:DorisDisaggregatedCluster)
| Field | Description |
|---|---|
metaServiceMetaService |
MetaService describe the metaservice that cluster want to storage metadata. |
feSpecFeSpec |
FeSpec describe the fe specification of doris disaggregated cluster. |
computeGroups[]ComputeGroup |
ComputeGroups describe a list of ComputeGroup, ComputeGroup is a group of compute node to do same thing. |
authSecretstring |
the name of secret that type is |
(Appears on:DorisDisaggregatedCluster)
| Field | Description |
|---|---|
metaServiceStatusMetaServiceStatus |
describe the metaservice status now. |
feStatusFEStatus |
FEStatus describe the fe status. |
clusterHealthClusterHealth |
|
computeGroupStatuses[]ComputeGroupStatus |
ComputeGroupStatuses reflect a list of computeGroup status. |
(Appears on:CommonSpec)
| Field | Description |
|---|---|
typeKubernetes core/v1.ServiceType |
(Optional)
type of service,the possible value for the service type are : ClusterIP, NodePort, LoadBalancer,ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types |
annotationsmap[string]string |
Annotations for using function on different cloud platform. |
portMaps[]PortMap |
PortMaps specify node port for target port in pod, when the service type=NodePort. |
(Appears on:MetaService)
| Field | Description |
|---|---|
addressstring |
if fdb directly deployed in machine, please add fdb access address which generated in ‘etc/foundationdb/fdb.cluster’ default. |
configMapNamespaceNameNamespaceName |
if fdb deployed in kubernetes by fdb-kubernetes-operator, please specify the namespace and configmap’s name generated by |
(Appears on:DorisDisaggregatedClusterStatus)
| Field | Description |
|---|---|
phasePhase |
Phase represent the stage of reconciling. |
availableStatusAvailableStatus |
AvailableStatus represents the fe available or not. |
clusterIdstring |
ClusterId display the clusterId of fe in fe.conf, It is the hash value of the concatenated string of namespace and ddcName |
(Appears on:DorisDisaggregatedClusterSpec)
| Field | Description |
|---|---|
electionNumberint32 |
the number of fe in election. electionNumber <= replicas, left as observers. default value=3 |
CommonSpecCommonSpec |
(Members of |
(Appears on:ClusterHealth)
(Appears on:DorisDisaggregatedClusterSpec)
| Field | Description |
|---|---|
CommonSpecCommonSpec |
(Members of |
fdbFDB |
specify the address of fdb that used by doris Compute-storage decoupled cluster. |
(Appears on:DorisDisaggregatedClusterStatus)
| Field | Description |
|---|---|
phasePhase |
Phase represent the stage of reconciling. |
availableStatusAvailableStatus |
AvailableStatus represents the metaservice available or not. |
metaServiceEndpointstring |
the meta service address for store meta of disaggregated cluster. |
msTokenstring |
the token for access ms service. |
(Appears on:FDB)
| Field | Description |
|---|---|
namespacestring |
|
namestring |
(Appears on:CommonSpec)
PersistentVolume defines volume information and container mount information.
| Field | Description |
|---|---|
persistentVolumeClaimSpecKubernetes core/v1.PersistentVolumeClaimSpec |
PersistentVolumeClaimSpec is a list of claim spec about storage that pods are required. |
mountPaths[]string |
specify mountPaths, if not config, operator will refer from be.conf |
logNotStorebool |
if config true, the log will mount a pvc to store logs. the pvc size is definitely 200Gi, as the log recycling system will regular recycling. |
annotationsmap[string]string |
Annotation for PVC pods. Users can adapt the storage authentication and pv binding of the cloud platform through configuration. It only takes effect in the first configuration and cannot be added or modified later. |
(Appears on:ComputeGroupStatus, FEStatus, MetaServiceStatus)
| Value | Description |
|---|---|
"Failed" |
Failed represents service failed to start, can’t be accessed. |
"Ready" |
|
"Reconciling" |
Creating represents service in creating stage. |
"ResumeFailed" |
|
"ScaleDownFailed" |
|
"Scaling" |
Scaling represents service in Scaling. |
"SuspendFailed" |
|
"Suspended" |
|
"Upgrading" |
Upgrading represents the spec of the service changed, service in smoothing upgrade. |
(Appears on:ExportService)
PortMap for ServiceType=NodePort situation.
| Field | Description |
|---|---|
nodePortint32 |
(Optional)
The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport need in 30000-32767 |
targetPortint32 |
(Optional)
Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod’s container ports. If this is not specified, the value of the ‘port’ field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the ‘port’ field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service |
| Field | Description |
|---|---|
namestring |
specify the secret need to be mounted in deployed namespace. |
mountPathstring |
display the path of secret be mounted in pod. |
| Value | Description |
|---|---|
"access" |
|
"internal" |
(Appears on:CommonSpec)
| Field | Description |
|---|---|
initImagestring |
Image for doris initialization, default is selectdb/alpine:latest. |
command[]string |
Entrypoint array. Not executed within a shell. |
args[]string |
Arguments to the entrypoint. |
Generated with gen-crd-api-reference-docs
on git commit 7d27da0.