daemonset stress
This commit is contained in:
25
helm/templates/daemonset.yaml
Normal file
25
helm/templates/daemonset.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
{{ if .Values.stress }}
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: stress-{{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: stress-{{ .Release.Name }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: stress-{{ .Release.Name }}
|
||||
spec:
|
||||
containers:
|
||||
- name: stress
|
||||
image: hub.ducoterra.net/ducoterra/stress:latest
|
||||
resources:
|
||||
requests:
|
||||
memory: 1Mi
|
||||
cpu: 1m
|
||||
limits:
|
||||
memory: {{ .Values.stress_mem | quote }}
|
||||
cpu: {{ .Values.stress_cpu | quote }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user