github.com/matrixorigin/matrixone@v1.2.0/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml (about)

     1  apiVersion: core.matrixorigin.io/v1alpha1
     2  kind: MatrixOneCluster
     3  metadata:
     4    name: mo-checkin-regression
     5    namespace: nsformocheckin
     6  spec:
     7    dn:
     8      exportToPrometheus: true
     9      nodeSelector:
    10        tke.matrixorigin.io/mo-checkin-regression: "true"
    11      overlay:
    12        tolerations:
    13        - effect: NoSchedule
    14          key: node-role.kubernetes.io/mo-checkin-regression
    15          operator: Exists    
    16        imagePullSecrets:
    17        - name: tke-registry
    18        env:
    19        - name: GOMEMLIMIT
    20          value: "8000MiB"
    21        podAnnotations:
    22          profiles.grafana.com/memory.scrape: "true"
    23          profiles.grafana.com/memory.port: "6060"
    24          profiles.grafana.com/cpu.scrape: "true"
    25          profiles.grafana.com/cpu.port: "6060"
    26          profiles.grafana.com/goroutine.scrape: "true"
    27          profiles.grafana.com/goroutine.port: "6060"
    28      cacheVolume:
    29        size: 100Gi
    30        storageClassName: cbs-hssd
    31      sharedStorageCache:
    32        memoryCacheSize: 512Mi
    33        diskCacheSize: 100Gi
    34      config: |
    35        [dn.Txn.Storage]
    36        backend = "TAE"
    37        log-backend = "logservice"
    38        [dn.Ckp]
    39        flush-interval = "60s"
    40        min-count = 100
    41        scan-interval = "5s"
    42        incremental-interval = "60s"
    43        global-interval = "100000s"
    44        [dn.LogtailServer]
    45        rpc-max-message-size = "16KiB"
    46        rpc-payload-copy-buffer-size = "16KiB"
    47        rpc-enable-checksum = true
    48        logtail-collect-interval = "2ms"
    49        logtail-response-send-timeout = "10s"
    50        max-logtail-fetch-failure = 5
    51        [observability]
    52        metricUpdateStorageUsageInterval = "15m"
    53        enableStmtMerge = true
    54        enableMetricToProm = true
    55      replicas: 1
    56      resources:
    57        requests:
    58          cpu: 7
    59          memory: 12Gi
    60        limits:
    61          cpu: 7
    62          memory: 14Gi
    63    imageRepository: ccr.ccs.tencentyun.com/matrixone-dev/matrixone
    64    logService:
    65      exportToPrometheus: true
    66      nodeSelector:
    67        tke.matrixorigin.io/mo-checkin-regression-log: "true"
    68      overlay:
    69        tolerations:
    70        - effect: NoSchedule
    71          key: node-role.kubernetes.io/mo-checkin-regression-log
    72          operator: Exists    
    73        imagePullSecrets:
    74        - name: tke-registry
    75        podAnnotations:
    76          profiles.grafana.com/memory.scrape: "true"
    77          profiles.grafana.com/memory.port: "6060"
    78          profiles.grafana.com/cpu.scrape: "true"
    79          profiles.grafana.com/cpu.port: "6060"
    80          profiles.grafana.com/goroutine.scrape: "true"
    81          profiles.grafana.com/goroutine.port: "6060"
    82      replicas: 3
    83      resources:
    84        requests:
    85          cpu: 1.5
    86          memory: 2Gi
    87        limits:
    88          cpu: 1.5
    89          memory: 2Gi
    90      sharedStorage:
    91        s3:
    92          path: s3pathformocheckin
    93          region: regionformocheckin
    94          endpoint: endpointformocheckin
    95          s3RetentionPolicy: Retain
    96          secretRef:
    97            name: tencent-token
    98      pvcRetentionPolicy: Delete
    99      volume:
   100        size: 100Gi
   101        storageClassName: cbs-hssd
   102      config: |
   103        [log]
   104        level = "info"
   105        format = "json"
   106        max-size = 512
   107        [observability]
   108        metricUpdateStorageUsageInterval = "15m"
   109        enableStmtMerge = true
   110        enableMetricToProm = true
   111    tp:
   112      exportToPrometheus: true
   113      cacheVolume:
   114        size: 100Gi
   115        storageClassName: cbs-hssd
   116      sharedStorageCache:
   117        memoryCacheSize: 1Gi
   118        diskCacheSize: 100Gi
   119      config: |
   120        [cn.Engine]
   121        type = "distributed-tae"
   122        [log]
   123        level = "info"
   124        format = "json"
   125        max-size = 512
   126        [cn.rpc]
   127        send-queue-size = 2
   128        busy-queue-size = 1
   129        [cn.ctl.address]
   130        listen-address = "0.0.0.0:19958"
   131        [observability]
   132        metricUpdateStorageUsageInterval = "15m"
   133        enableStmtMerge = true
   134        enableMetricToProm = true
   135        [cn.txn]
   136        enable-leak-check = 1
   137        max-active-ages = "20m"
   138        [cn.txn.trace]
   139        buffer-size = 100000
   140        flush-bytes = "64M"
   141        force-flush-duration = "60s"
   142      replicas: 2
   143      nodeSelector:
   144        tke.matrixorigin.io/mo-checkin-regression: "true"
   145      overlay:
   146        tolerations:
   147        - effect: NoSchedule
   148          key: node-role.kubernetes.io/mo-checkin-regression
   149          operator: Exists    
   150        imagePullSecrets:
   151        - name: tke-registry
   152        env:
   153        - name: GOMEMLIMIT
   154          value: "8000MiB"
   155        podAnnotations:
   156          profiles.grafana.com/memory.scrape: "true"
   157          profiles.grafana.com/memory.port: "6060"
   158          profiles.grafana.com/cpu.scrape: "true"
   159          profiles.grafana.com/cpu.port: "6060"
   160          profiles.grafana.com/goroutine.scrape: "true"
   161          profiles.grafana.com/goroutine.port: "6060"
   162      resources:
   163        requests:
   164          cpu: 7
   165          memory: 12Gi
   166        limits:
   167          cpu: 7
   168          memory: 14Gi
   169    version: imagetag