Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 9c01cbf

Browse files
dklyleobedmr
authored andcommitted
Proxy work around for alpine collectd
Add Dockerfile for building an alpine image with collectd. Published an image to dockerhub and reference it in collectd.yaml Signed-off-by: David Lyle <dklyle0@gmail.com>
1 parent 50553aa commit 9c01cbf

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

metrics/collectd/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM alpine:latest
2+
3+
RUN apk update && apk add collectd
4+
5+
CMD [ "collectd", "-f" ]

metrics/collectd/collectd.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,15 @@ spec:
1919
terminationGracePeriodSeconds: 0
2020
containers:
2121
- name: collectd
22-
image: alpine:latest
22+
image: dklyle/alpine-collectd:1.0
2323
imagePullPolicy: IfNotPresent
2424
securityContext:
2525
# Run a priv container so we really do measure what is happening on the
2626
# host (node) system
2727
privileged: true
2828
command: ["/bin/sh", "-c"]
2929
args:
30-
- apk update && apk add collectd;
31-
collectd -f;
30+
- collectd -f;
3231
volumeMounts:
3332
- name: collectd-config-volume
3433
mountPath: /etc/collectd

0 commit comments

Comments
 (0)