From 1b24de86d4a9ea552e8ac050d6cb2a8c9c1edfbe Mon Sep 17 00:00:00 2001 From: do Date: Sat, 11 Jul 2020 12:57:33 +0200 Subject: [PATCH] adding kube role and user update --- base/hostconfig/wohnz.sls | 2 +- k8s/init.sls | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/base/hostconfig/wohnz.sls b/base/hostconfig/wohnz.sls index 5c1a3b6..2a39177 100644 --- a/base/hostconfig/wohnz.sls +++ b/base/hostconfig/wohnz.sls @@ -14,7 +14,7 @@ systemd: Service: ExecStart: /usr/local/bin/fan_ctrl.py - User: node_exporter + User: prometheus Group: gpio Environment: RPI_FANPIN=21 RPI_FAN_DEBUG=False Install: diff --git a/k8s/init.sls b/k8s/init.sls index 8c3332d..9ba7257 100644 --- a/k8s/init.sls +++ b/k8s/init.sls @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- # vim: ft=yaml --- +chaos-role: + - kubernetes-node sysctl: params: