mirror of
https://github.com/fluxcd/flagger.git
synced 2026-02-28 00:33:57 +00:00
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: flagger-helmtester
|
|
namespace: kube-system
|
|
labels:
|
|
app: flagger-helmtester
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: flagger-helmtester
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: flagger-helmtester
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
spec:
|
|
serviceAccountName: tiller
|
|
containers:
|
|
- name: helmtester
|
|
image: weaveworks/flagger-loadtester:0.8.0
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- name: http
|
|
containerPort: 8080
|
|
command:
|
|
- ./loadtester
|
|
- -port=8080
|
|
- -log-level=info
|
|
- -timeout=1h
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- wget
|
|
- --quiet
|
|
- --tries=1
|
|
- --timeout=4
|
|
- --spider
|
|
- http://localhost:8080/healthz
|
|
timeoutSeconds: 5
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- wget
|
|
- --quiet
|
|
- --tries=1
|
|
- --timeout=4
|
|
- --spider
|
|
- http://localhost:8080/healthz
|
|
timeoutSeconds: 5
|
|
resources:
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "1000m"
|
|
requests:
|
|
memory: "32Mi"
|
|
cpu: "10m"
|