blob: 0e97f7bb8e1ae54ae9b6870719281d897a0afa23 (
plain) (
blame)
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: peach-deployment
labels:
app: peach
spec:
replicas: 3
selector:
matchLabels:
app: peach
template:
metadata:
labels:
app: peach
spec:
containers:
- name: peach
image: public.ecr.aws/w3h8c8i8/peach:20220528135201
ports:
- containerPort: 8151
name: peach-port
env:
- name: PEACH_PHOTON_URL
value: https://photon.komoot.io
---
apiVersion: v1
kind: Service
metadata:
name: peach-service
spec:
type: NodePort
selector:
app: peach
ports:
- protocol: TCP
port: 8151
targetPort: peach-port
nodePort: 30151
|