36 lines
803 B
YAML
36 lines
803 B
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: calendars-frontend
|
||
|
|
namespace: lasuite
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: calendars-frontend
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: calendars-frontend
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: calendars-frontend
|
||
|
|
image: calendars-frontend
|
||
|
|
ports:
|
||
|
|
- containerPort: 8080
|
||
|
|
volumeMounts:
|
||
|
|
- name: caddyfile
|
||
|
|
mountPath: /etc/caddy/Caddyfile
|
||
|
|
subPath: Caddyfile
|
||
|
|
resources:
|
||
|
|
limits:
|
||
|
|
memory: 128Mi
|
||
|
|
cpu: 100m
|
||
|
|
requests:
|
||
|
|
memory: 64Mi
|
||
|
|
cpu: 10m
|
||
|
|
volumes:
|
||
|
|
- name: caddyfile
|
||
|
|
configMap:
|
||
|
|
name: calendars-frontend-caddyfile
|