c99e39ec9c
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
23 lines
436 B
YAML
23 lines
436 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-deployment
|
|
labels:
|
|
app: nginx-deployment
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
name: nginx-deployment
|
|
labels:
|
|
app: nginx-deployment
|
|
spec:
|
|
containers:
|
|
- name: nginx-deployment
|
|
image: nginx
|
|
imagePullPolicy: IfNotPresent
|
|
restartPolicy: Always
|
|
selector:
|
|
matchLabels:
|
|
app: nginx-deployment
|