github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/dbnode/config/m3dbnode-cluster-template.yml (about)

     1  coordinator:
     2    local:
     3      namespaces:
     4        - namespace: default
     5          type: unaggregated
     6          retention: 48h
     7  
     8  db:
     9    hostID:
    10      resolver: hostname
    11  
    12  # Fill-out the following and un-comment before using.
    13    # config:
    14    #   discovery: 
    15    #     type: m3db_cluster 
    16    #     m3dbCluster: 
    17    #       env: default_env
    18    #       endpoints: 
    19    #         - HOST1_STATIC_IP_ADDRESS:2379
    20    #         - HOST2_STATIC_IP_ADDRESS:2379
    21    #         - HOST3_STATIC_IP_ADDRESS:2379
    22  #    seedNodes:
    23  #      initialCluster:
    24  #        - hostID: host1
    25  #          endpoint: http://HOST1_STATIC_IP_ADDRESS:2380
    26  #        - hostID: host2
    27  #          endpoint: http://HOST2_STATIC_IP_ADDRESS:2380
    28  #        - hostID: host3
    29  #          endpoint: http://HOST3_STATIC_IP_ADDRESS:2380