summaryrefslogblamecommitdiffstats
path: root/peach.yaml
blob: b09fa2c252492f5a337b29b9208e43bbdcfa2750 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                        
                                                           
              


















                                           
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:20220602224503
        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