mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
37 lines
807 B
YAML
37 lines
807 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: missing
|
|
applications.argoproj.io/app-name: nginx
|
|
something-else: bla
|
|
name: nginx-deployment
|
|
namespace: default
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx
|
|
applications.argoproj.io/app-name: nginx
|
|
spec:
|
|
containers:
|
|
- image: 'nginx:1.23.1'
|
|
imagePullPolicy: Never
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- cat
|
|
- non-existent-file
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 180
|
|
name: nginx
|
|
ports:
|
|
- containerPort: 8081
|
|
protocol: UDP
|
|
- containerPort: 80
|
|
protocol: TCP
|