-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s_manifest.yml
49 lines (46 loc) · 1.03 KB
/
k8s_manifest.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
40
41
42
43
44
45
46
47
48
49
apiVersion: apps/v1
kind: Deployment
metadata:
name: comitiva-esperanca-backend
labels:
app: comitiva-esperanca-backend
name: comitiva-esperanca-backend
spec:
replicas: 1
selector:
matchLabels:
app: comitiva-esperanca-backend
strategy: {}
template:
metadata:
labels:
app: comitiva-esperanca-backend
spec:
containers:
- image: mfelipemota/comitivaesperanca-backend:main
name: comitiva-esperanca-backend
env:
- name: ASPNETCORE_URLS
value: http://+:5400
- name: ASPNETCORE_ENVIRONMENT
value: Development
imagePullPolicy: Always
resources: {}
ports:
- containerPort: 5400
status: {}
---
apiVersion: v1
kind: Service
metadata:
name: comitiva-esperanca-backend-service
labels:
run: comitiva-esperanca-backend-service
spec:
ports:
- port: 80
targetPort: 5400
protocol: TCP
selector:
app: comitiva-esperanca-backend
type: LoadBalancer