github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/qdrant-cluster/templates/cluster.yaml (about)

     1  apiVersion: apps.kubeblocks.io/v1alpha1
     2  kind: Cluster
     3  metadata:
     4    name: {{ include "kblib.clusterName" . }}
     5    namespace: {{ .Release.Namespace }}
     6    labels: {{ include "kblib.clusterLabels" . | nindent 4 }}
     7  spec:
     8    clusterDefinitionRef: qdrant # ref clusterdefinition.name
     9    clusterVersionRef: {{ .Values.version }}
    10    terminationPolicy:  {{ .Values.extra.terminationPolicy }}
    11    {{- include "kblib.affinity" . | indent 2 }}
    12    componentSpecs:
    13      - name: qdrant # user-defined
    14        componentDefRef: qdrant # ref clusterdefinition components.name
    15        {{- include "kblib.componentMonitor" . | indent 6 }}
    16        replicas: {{ .Values.replicas | default 1 }}
    17        {{- include "kblib.componentResources" . | indent 6 }}
    18        {{- include "kblib.componentStorages" . | indent 6 }}
    19        {{- include "kblib.componentServices" . | indent 6 }}