37 lines
815 B
YAML
37 lines
815 B
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: meet-frontend
|
||
|
|
namespace: lasuite
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: meet-frontend
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: meet-frontend
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: meet-frontend
|
||
|
|
image: meet-frontend
|
||
|
|
ports:
|
||
|
|
- containerPort: 80
|
||
|
|
volumeMounts:
|
||
|
|
- name: nginx-conf
|
||
|
|
mountPath: /etc/nginx/conf.d/default.conf
|
||
|
|
subPath: default.conf
|
||
|
|
readOnly: true
|
||
|
|
resources:
|
||
|
|
limits:
|
||
|
|
memory: 64Mi
|
||
|
|
cpu: 100m
|
||
|
|
requests:
|
||
|
|
memory: 32Mi
|
||
|
|
cpu: 25m
|
||
|
|
volumes:
|
||
|
|
- name: nginx-conf
|
||
|
|
configMap:
|
||
|
|
name: meet-frontend-nginx-conf
|