2026-04-01 15:21:10 +00:00
|
|
|
apiVersion: v1
|
|
|
|
|
kind: ConfigMap
|
2026-03-31 08:28:16 -04:00
|
|
|
metadata:
|
2026-04-01 15:21:10 +00:00
|
|
|
name: m3coordinator-config
|
2026-03-31 08:28:16 -04:00
|
|
|
namespace: m3db
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: m3coordinator
|
2026-04-01 15:21:10 +00:00
|
|
|
data:
|
|
|
|
|
m3coordinator.yml: |
|
|
|
|
|
listenAddress: 0.0.0.0:7201
|
2026-03-31 08:28:16 -04:00
|
|
|
|
2026-04-01 15:21:10 +00:00
|
|
|
logging:
|
|
|
|
|
level: info
|
2026-03-31 08:28:16 -04:00
|
|
|
|
2026-04-01 15:21:10 +00:00
|
|
|
metrics:
|
|
|
|
|
scope:
|
|
|
|
|
prefix: coordinator
|
|
|
|
|
prometheus:
|
|
|
|
|
handlerPath: /metrics
|
|
|
|
|
listenAddress: 0.0.0.0:7203
|
|
|
|
|
sanitization: prometheus
|
|
|
|
|
samplingRate: 1.0
|
2026-03-31 08:28:16 -04:00
|
|
|
|
2026-04-01 15:21:10 +00:00
|
|
|
tagOptions:
|
|
|
|
|
idScheme: quoted
|
|
|
|
|
|
|
|
|
|
clusters:
|
|
|
|
|
- namespaces:
|
|
|
|
|
- namespace: default
|
|
|
|
|
type: unaggregated
|
|
|
|
|
retention: 720h
|
|
|
|
|
- namespace: agg_1m_60d
|
|
|
|
|
type: aggregated
|
|
|
|
|
retention: 1440h
|
|
|
|
|
resolution: 1m
|
|
|
|
|
- namespace: agg_1h_1y
|
|
|
|
|
type: aggregated
|
|
|
|
|
retention: 8760h
|
|
|
|
|
resolution: 1h
|
|
|
|
|
client:
|
|
|
|
|
config:
|
|
|
|
|
service:
|
|
|
|
|
env: default_env
|
|
|
|
|
zone: embedded
|
|
|
|
|
service: m3db
|
|
|
|
|
cacheDir: /var/lib/m3kv
|
|
|
|
|
etcdClusters:
|
|
|
|
|
- zone: embedded
|
|
|
|
|
endpoints:
|
|
|
|
|
- http://etcd-0.etcd.m3db.svc.cluster.local:2379
|
|
|
|
|
- http://etcd-1.etcd.m3db.svc.cluster.local:2379
|
|
|
|
|
- http://etcd-2.etcd.m3db.svc.cluster.local:2379
|
|
|
|
|
writeConsistencyLevel: majority
|
|
|
|
|
readConsistencyLevel: unstrict_majority
|
|
|
|
|
|
|
|
|
|
downsample:
|
|
|
|
|
rules:
|
|
|
|
|
mappingRules:
|
|
|
|
|
- name: "1min for 60 days"
|
|
|
|
|
filter: "__name__:*"
|
|
|
|
|
aggregations: ["Last"]
|
|
|
|
|
storagePolicies:
|
|
|
|
|
- resolution: 1m
|
|
|
|
|
retention: 1440h
|
|
|
|
|
- name: "1hour for 1 year"
|
|
|
|
|
filter: "__name__:*"
|
|
|
|
|
aggregations: ["Last"]
|
|
|
|
|
storagePolicies:
|
|
|
|
|
- resolution: 1h
|
|
|
|
|
retention: 8760h
|