generated from commit-app-playground/backend-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yml
39 lines (39 loc) · 1010 Bytes
/
deployment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: apps/v1
kind: Deployment
metadata:
name: ep-map-backend
spec:
replicas: 1
revisionHistoryLimit: 5
selector:
matchLabels:
app: ep-map-backend
template:
spec:
containers:
- name: ep-map-backend
image: fake-image
resources:
requests:
memory: 128Mi
cpu: 0.1
limits:
memory: 256Mi
cpu: 0.5
ports:
- containerPort: 80
name: http
envFrom:
- configMapRef:
name: ep-map-backend-config
# Uncomment the secretRef block below if your Playground application has secrets
# See the README for instructions on how to create secrets
- secretRef:
name: ep-map-backend-secrets
readinessProbe:
httpGet:
port: http
path: /
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 2