You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
620 B

apiVersion: apps/v1
kind: Deployment
metadata:
name: https
labels:
app: https
spec:
selector:
matchLabels:
app: https
tier: frontend
strategy:
type: Recreate
template:
metadata:
labels:
app: https
tier: frontend
spec:
containers:
- image: nginx
name: https
ports:
- containerPort: 80
volumeMounts:
- name: https-configs
mountPath: /etc/nginx/conf.d
# Load the configuration files for nginx
volumes:
- name: https-configs
configMap:
name: https-config