mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
22 lines
374 B
YAML
22 lines
374 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: nginx-deployment-{{ args.environment }}
|
||
|
labels:
|
||
|
app: nginx
|
||
|
spec:
|
||
|
replicas: 3
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: nginx
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: nginx
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: nginx
|
||
|
image: nginx:1.14.2
|
||
|
ports:
|
||
|
- containerPort: 80
|