rpi.carlosedp.cluster-monit.../manifests/arm-exporter-daemonset.yaml

45 lines
997 B
YAML
Raw Normal View History

apiVersion: apps/v1beta2
kind: DaemonSet
metadata:
labels:
k8s-app: arm-exporter
name: arm-exporter
namespace: monitoring
spec:
selector:
matchLabels:
k8s-app: arm-exporter
template:
metadata:
labels:
k8s-app: arm-exporter
spec:
containers:
- image: carlosedp/arm_exporter:latest
name: arm-exporter
resources:
limits:
cpu: 200m
memory: 180Mi
requests:
cpu: 100m
memory: 180Mi
- args:
- --secure-listen-address=$(IP):9243
- --upstream=http://127.0.0.1:9243/
image: carlosedp/kube-rbac-proxy:v0.4.0
name: kube-rbac-proxy
ports:
- containerPort: 9243
hostPort: 9243
name: https
resources:
limits:
cpu: 20m
memory: 40Mi
requests:
cpu: 10m
memory: 20Mi
nodeSelector:
beta.kubernetes.io/os: linux