35 lines
769 B
YAML
35 lines
769 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: vbrowser-gateway
|
|
namespace: vbrowser-gateway
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: vbrowser-gateway
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: vbrowser-gateway
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:alpine
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /etc/nginx/nginx.conf
|
|
subPath: nginx.conf
|
|
resources:
|
|
requests:
|
|
memory: 32Mi
|
|
cpu: 10m
|
|
limits:
|
|
memory: 64Mi
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: vbrowser-gateway
|