HUB
Sign inSign up

zuzzas/kube-prometheus-auth-proxy

By zuzzas

•Updated about 8 years ago

Image
0

195

zuzzas/kube-prometheus-auth-proxy repository overview

⁠kube-prometheus-auth-proxy

Example:

spec:
  template:
    spec:
      containers:
      - name: prometheus-auth-proxy
        image: flant/kube-prometheus-auth-proxy:v0.1.0
        args:
        - "--listen=9000"
        - "--proxy-pass=http://localhost:9001/metrics"

If you run your pod in hostNetwork, better listen on podIP:

spec:
  template:
    spec:
      containers:
      - name: prometheus-auth-proxy
        image: flant/kube-prometheus-auth-proxy:v0.1.0
        args:
        - "--listen=$(MY_POD_IP):9000"
        - "--proxy-pass=http://localhost:9001/metrics"
        env:
        - name: MY_POD_IP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP

Tag summary
Recent tags
Content type
Image
Digest
Size
7.8 MB
Last updated
about 8 years ago
docker pull zuzzas/kube-prometheus-auth-proxy:proxy_ssl_certificates