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.
 
 
 
 
 
 

31 lines
597 B

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