Added securityContext.priviledged = true to fix RPi GPU temp issue

This commit is contained in:
pamvdam 2020-10-07 18:48:20 +01:00
parent 301785dc46
commit feefef8121

View File

@ -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' });