kubernetes-deployment.yml 809 Bytes
Newer Older
1
2
3
4
5
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mediametadatatodb-deployment
  namespace: memobase
Matthias's avatar
Matthias committed
6
7
  labels:
    app: mediametadatatodb-app
8
9
10
11
12
13
14
15
16
17
18
19
20
spec:
  selector:
    matchLabels:
      app: mediametadatatodb-app
  replicas: 1
  template:
    metadata:
      labels:
        app: mediametadatatodb-app
        tier: web
    spec:
      containers:
          - name: mediametadatatodb-container
21
            image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/mediametadatatodb:latest
22
            envFrom:
Matthias's avatar
Matthias committed
23
24
              - configMapRef:
                  name: "prod-kafka-bootstrap-servers"
25
26
              - configMapRef:
                  name: "mediametadatatodb-config"
27
              - secretRef:
28
                  name: mariadb-mb-db1-medienserver
29
            imagePullPolicy: Always