Skip to content

Version 1.2.6 does not provide metrics and version 1.4.1 or 1.4.3 do not exist as container image #110

@telmich

Description

@telmich

Hello,

I am trying to use bird_exporter with bird 2.15.1. I created a k8s manifest as follows:

      containers:
        - name: bird
          image: "ungleich/bird:{{ .Chart.AppVersion }}"
          command:
            - /bin/sh
            - -c
            - "sh /scripts/rp_filter_forward.sh && /usr/sbin/bird -f -c /bird/bird.conf"
          securityContext:
            privileged: true
            capabilities:
              add:
                - NET_BIND_SERVICE
                - NET_RAW
                - NET_ADMIN
          volumeMounts:
            - name: birdconfig
              mountPath: "/bird"
            - name: varrun
              mountPath: "/var/run"
        - name: bird-exporter
          image: czerwonk/bird_exporter:v1.2.6
          args: ["-format.new=true", "-bird.socket=/var/run/bird.ctl"]
          resources:
            limits:
              cpu: 100m
              memory: 32Mi
            requests:
              cpu: 100m
              memory: 32Mi
          volumeMounts:
            - name: varrun
              mountPath: "/var/run"
              readOnly: true

The curl on :9324/metrics results into an empty reply:

% curl -v http://sfpapu1:9324/metrics                                        
* Host sfpapu1:9324 was resolved.
* IPv6: 2a0a:e5c0:10:1:...
* IPv4: (none)
*   Trying [2a0a:e5c0:10:1:...]:9324...
* Connected to sfpapu1.place10.ungleich.ch (2a0a:e5c0:10:1:...) port 9324
> GET /metrics HTTP/1.1
> Host: sfpapu1:9324
> User-Agent: curl/8.9.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
< Content-Type: text/plain; version=0.0.4; charset=utf-8
< Date: Tue, 03 Sep 2024 13:55:04 GMT
< Content-Length: 0
< 
* Connection #0 to host sfpapu1 left intact

Trying to use newer versions such as 1.4.1 (mentioned in sample chart) or 1.4.3 (tag exists) does not seem to have a corresponding image on https://hub.docker.com/r/czerwonk/bird_exporter/tags.

Are there any plans for pushing out newer images and am I doing something totally wrong with 1.2.6 that it does not respond to metrics?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions