-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdeployment.yml
More file actions
32 lines (32 loc) · 669 Bytes
/
deployment.yml
File metadata and controls
32 lines (32 loc) · 669 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: balancer
service: backend
name: balancer
spec:
replicas: 1
selector:
matchLabels:
app: balancer
strategy: {}
template:
metadata:
labels:
app: balancer
spec:
containers:
- image: ghcr.io/codeforphilly/balancer-main/backend
name: balancer
envFrom:
- configMapRef:
name: balancer-config
ports:
- containerPort: 8000
readinessProbe:
httpGet:
path: /
port: 8000
initialDelaySeconds: 30
periodSeconds: 10