From feefef812152f76661507f9c44409965c8cccdbc Mon Sep 17 00:00:00 2001 From: pamvdam Date: Wed, 7 Oct 2020 18:48:20 +0100 Subject: [PATCH] Added securityContext.priviledged = true to fix RPi GPU temp issue --- modules/arm_exporter.jsonnet | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/arm_exporter.jsonnet b/modules/arm_exporter.jsonnet index 9489ac1..9306aa3 100644 --- a/modules/arm_exporter.jsonnet +++ b/modules/arm_exporter.jsonnet @@ -49,6 +49,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; '/bin/rpi_exporter', '--web.listen-address=127.0.0.1:9243', ]) + + container.mixin.securityContext.withPrivileged(true) + container.mixin.resources.withRequests({ cpu: '50m', memory: '50Mi' }) + container.mixin.resources.withLimits({ cpu: '100m', memory: '100Mi' });