diff --git a/metrics/collectd/Dockerfile b/metrics/collectd/Dockerfile new file mode 100644 index 0000000..2a857bc --- /dev/null +++ b/metrics/collectd/Dockerfile @@ -0,0 +1,5 @@ +FROM alpine:latest + +RUN apk update && apk add collectd + +CMD [ "collectd", "-f" ] diff --git a/metrics/collectd/collectd.yaml b/metrics/collectd/collectd.yaml index 5947c47..fcd4a74 100644 --- a/metrics/collectd/collectd.yaml +++ b/metrics/collectd/collectd.yaml @@ -19,7 +19,7 @@ spec: terminationGracePeriodSeconds: 0 containers: - name: collectd - image: alpine:latest + image: dklyle/alpine-collectd:1.0 imagePullPolicy: IfNotPresent securityContext: # Run a priv container so we really do measure what is happening on the @@ -27,8 +27,7 @@ spec: privileged: true command: ["/bin/sh", "-c"] args: - - apk update && apk add collectd; - collectd -f; + - collectd -f; volumeMounts: - name: collectd-config-volume mountPath: /etc/collectd