github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/kube/m3dbnode-configmap.yaml (about)

     1  apiVersion: v1
     2  kind: ConfigMap
     3  metadata:
     4    name: m3dbnode-config
     5    namespace: m3db
     6  data:
     7    m3dbnode.yml: |+
     8      coordinator:
     9        listenAddress: 0.0.0.0:7201
    10        logging:
    11          level: info
    12        metrics:
    13          scope:
    14            prefix: "coordinator"
    15          prometheus:
    16            handlerPath: /metrics
    17            listenAddress: 0.0.0.0:7203
    18          sanitization: prometheus
    19          samplingRate: 1.0
    20          extended: none
    21        tagOptions:
    22          idScheme: quoted
    23  
    24      db:
    25        logging:
    26          level: info
    27  
    28        metrics:
    29          prometheus:
    30            handlerPath: /metrics
    31          sanitization: prometheus
    32          samplingRate: 1.0
    33          extended: detailed
    34  
    35        listenAddress: 0.0.0.0:9000
    36        clusterListenAddress: 0.0.0.0:9001
    37        httpNodeListenAddress: 0.0.0.0:9002
    38        httpClusterListenAddress: 0.0.0.0:9003
    39        debugListenAddress: 0.0.0.0:9004
    40  
    41        hostID:
    42          resolver: hostname
    43  
    44        client:
    45          writeConsistencyLevel: majority
    46          readConsistencyLevel: unstrict_majority
    47  
    48        gcPercentage: 100
    49  
    50        writeNewSeriesAsync: true
    51        writeNewSeriesBackoffDuration: 2ms
    52  
    53        commitlog:
    54          flushMaxBytes: 524288
    55          flushEvery: 1s
    56          queue:
    57            calculationType: fixed
    58            size: 2097152
    59  
    60        filesystem:
    61          filePathPrefix: /var/lib/m3db
    62  
    63        discovery:
    64          config:
    65            service:
    66                env: default_env
    67                zone: embedded
    68                service: m3db
    69                cacheDir: /var/lib/m3kv
    70                etcdClusters:
    71                - zone: embedded
    72                  endpoints:
    73                  - http://etcd-0.etcd:2379
    74                  - http://etcd-1.etcd:2379
    75                  - http://etcd-2.etcd:2379