mirror of
https://github.com/argoproj/argocd-example-apps.git
synced 2024-11-10 09:09:50 +01:00
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: queue-master
|
|
labels:
|
|
name: queue-master
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
name: queue-master
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: queue-master
|
|
spec:
|
|
containers:
|
|
- name: queue-master
|
|
image: weaveworksdemos/queue-master:0.3.1
|
|
env:
|
|
- name: ZIPKIN
|
|
value: zipkin.jaeger.svc.cluster.local
|
|
- name: JAVA_OPTS
|
|
value: -Xms64m -Xmx128m -XX:PermSize=32m -XX:MaxPermSize=64m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom
|
|
resources:
|
|
limits:
|
|
cpu: 300m
|
|
memory: 500Mi
|
|
requests:
|
|
cpu: 300m
|
|
memory: 500Mi
|
|
ports:
|
|
- containerPort: 80
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 80
|
|
initialDelaySeconds: 300
|
|
periodSeconds: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 80
|
|
initialDelaySeconds: 180
|
|
periodSeconds: 3
|
|
nodeSelector:
|
|
beta.kubernetes.io/os: linux
|