~xdavidwu/flux

dadf0fe11d397447bc52acbae567225285351dae — Pinghao Wu 20 days ago ed9d269
cadvisor: rig for prometheus sd
1 files changed, 9 insertions(+), 1 deletions(-)

M monitoring/cadvisor/deployment.yaml
M monitoring/cadvisor/deployment.yaml => monitoring/cadvisor/deployment.yaml +9 -1
@@ 5,6 5,11 @@ metadata:
spec:
  replicas: 1
  template:
    metadata:
      annotations:
        prometheus.xdavidwu.link/instance: parto
      labels:
        metrics: metrics
    spec:
      containers:
        - name: cadvisor


@@ 17,6 22,9 @@ spec:
            - /lxc.payload
            - -housekeeping_interval
            - 30s
          ports:
            - name: metrics
              containerPort: 8080
          volumeMounts:
            - name: cgroup
              mountPath: /sys/fs/cgroup


@@ 26,7 34,7 @@ spec:
              readOnly: true
          readinessProbe:
            httpGet:
              port: 8080
              port: metrics
              path: /healthz
      volumes:
        - name: cgroup