github.com/milvus-io/milvus-sdk-go/v2@v2.4.1/ci/milvus-operator/milvus-cluster.yaml (about)

     1  apiVersion: milvus.io/v1beta1
     2  kind: Milvus
     3  metadata:
     4    name: ${RELEASE_NAME}
     5  spec:
     6    mode: cluster
     7    dependencies:
     8      etcd:
     9        inCluster:
    10          deletionPolicy: Delete
    11          pvcDeletion: true
    12      storage:
    13        inCluster:
    14          deletionPolicy: Delete
    15          pvcDeletion: true
    16          values:
    17            resources:
    18              requests:
    19                memory: 256Mi
    20      pulsar:
    21        inCluster:
    22          deletionPolicy: Delete
    23          pvcDeletion: true
    24          values:
    25            components:
    26              autorecovery: false
    27              functions: false
    28              toolset: false
    29              pulsar_manager: false
    30            monitoring:
    31              prometheus: false
    32              grafana: false
    33              node_exporter: false
    34              alert_manager: false
    35            proxy:
    36              replicaCount: 1
    37              resources:
    38                requests:
    39                  cpu: 0.1
    40                  memory: 256Mi
    41              wsResources:
    42                requests:
    43                  memory: 256Mi
    44                  cpu: 0.1
    45            configData:
    46              PULSAR_MEM: >
    47                -Xms256m -Xmx256m
    48              PULSAR_GC: >
    49                -XX:MaxDirectMemorySize=512m
    50              httpNumThreads: "50"
    51            bookkeeper:
    52              replicaCount: 2
    53              resources:
    54                requests:
    55                  cpu: 0.1
    56                  memory: 512Mi
    57              configData:
    58                PULSAR_MEM: >
    59                  -Xms512m
    60                  -Xmx512m
    61                  -XX:MaxDirectMemorySize=1024m
    62                PULSAR_GC: >
    63                  -Dio.netty.leakDetectionLevel=disabled
    64                  -Dio.netty.recycler.linkCapacity=1024
    65                  -XX:+UseG1GC -XX:MaxGCPauseMillis=10
    66                  -XX:+ParallelRefProcEnabled
    67                  -XX:+UnlockExperimentalVMOptions
    68                  -XX:+DoEscapeAnalysis
    69                  -XX:ParallelGCThreads=32
    70                  -XX:ConcGCThreads=32
    71                  -XX:G1NewSizePercent=50
    72                  -XX:+DisableExplicitGC
    73                  -XX:-ResizePLAB
    74                  -XX:+ExitOnOutOfMemoryError
    75                  -XX:+PerfDisableSharedMem
    76                  -XX:+PrintGCDetails
    77            zookeeper:
    78              replicaCount: 1
    79              resources:
    80                requests:
    81                  cpu: 0.1
    82                  memory: 256Mi
    83              configData:
    84                PULSAR_MEM: >
    85                  -Xms512m
    86                  -Xmx512m
    87                PULSAR_GC: >
    88                  -Dcom.sun.management.jmxremote
    89                  -Djute.maxbuffer=10485760
    90                  -XX:+ParallelRefProcEnabled
    91                  -XX:+UnlockExperimentalVMOptions
    92                  -XX:+DoEscapeAnalysis
    93                  -XX:+DisableExplicitGC
    94                  -XX:+PerfDisableSharedMem
    95                  -Dzookeeper.forceSync=no
    96            broker:
    97              replicaCount: 1
    98              resources:
    99                requests:
   100                  cpu: 0.1
   101                  memory: 512Mi
   102              configData:
   103                PULSAR_MEM: >
   104                  -Xms512m
   105                  -Xmx512m
   106                  -XX:MaxDirectMemorySize=1024m
   107                PULSAR_GC: >
   108                  -Dio.netty.leakDetectionLevel=disabled
   109                  -Dio.netty.recycler.linkCapacity=1024
   110                  -XX:+ParallelRefProcEnabled
   111                  -XX:+UnlockExperimentalVMOptions
   112                  -XX:+DoEscapeAnalysis
   113                  -XX:ParallelGCThreads=32
   114                  -XX:ConcGCThreads=32
   115                  -XX:G1NewSizePercent=50
   116                  -XX:+DisableExplicitGC
   117                  -XX:-ResizePLAB
   118                  -XX:+ExitOnOutOfMemoryError
   119    components:
   120      image: ${IMAGE_REPO}:${IMAGE_TAG}
   121      queryNode:
   122        replicas: 1
   123      dataNode:
   124        replicas: 1
   125      indexNode:
   126        replicas: 1
   127    config:
   128      log:
   129        level: debug