mirror of
https://github.com/argoproj/argocd-example-apps.git
synced 2024-11-10 09:09:50 +01:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: catalogue
|
|
labels:
|
|
name: catalogue
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
name: catalogue
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: catalogue
|
|
spec:
|
|
containers:
|
|
- name: catalogue
|
|
image: weaveworksdemos/catalogue:0.3.5
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
ports:
|
|
- containerPort: 80
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 10001
|
|
capabilities:
|
|
drop:
|
|
- all
|
|
add:
|
|
- NET_BIND_SERVICE
|
|
readOnlyRootFilesystem: true
|
|
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
|