argocd-example-apps/sock-shop/base/payment-dep.yaml

53 lines
1.1 KiB
YAML
Raw Normal View History

2018-06-29 10:44:33 +02:00
---
2018-06-29 10:11:51 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: payment
labels:
name: payment
spec:
replicas: 1
selector:
matchLabels:
name: payment
template:
metadata:
labels:
name: payment
spec:
containers:
- name: payment
image: weaveworksdemos/payment:0.4.3
2018-06-29 10:44:33 +02:00
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 99m
memory: 100Mi
2018-06-29 10:11:51 +02:00
ports:
- containerPort: 80
securityContext:
runAsNonRoot: true
runAsUser: 10001
capabilities:
drop:
- all
add:
- NET_BIND_SERVICE
readOnlyRootFilesystem: true
2018-06-29 10:44:33 +02:00
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 300
periodSeconds: 3
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 180
periodSeconds: 3
2018-06-29 10:11:51 +02:00
nodeSelector:
beta.kubernetes.io/os: linux