summaryrefslogblamecommitdiffstats
path: root/peach.yaml
blob: f592328f0ae220bfda88333235b55ed32a5f152c (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:20220602221709
        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