summaryrefslogtreecommitdiff
path: root/templates/default/kubernetes/flumotion-manager-deploy.yml.j2
blob: 4d86e89e29dd62113a7d11335450db320b41d873 (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
40
41
42
43
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: {{ namespace }}
  name: flumotion-manager
  labels:
    app: flumotion
    type: manager
spec:
  replicas: 1
  selector:
    matchLabels:
      app: flumotion
      type: manager
  strategy:
    type: Recreate
  revisionHistoryLimit: 5
  template:
    metadata:
      labels:
        app: flumotion
        type: manager
    spec:
      nodeName: dione
      containers:
      - name: flumotion
        image: spreadspace/flumotion:manager
        imagePullPolicy: Always
        args:
        - --verbose
        - /etc/flumotion/planet.xml
        volumeMounts:
        - name: home
          mountPath: /srv
        - name: planet-config
          mountPath: /etc/flumotion
      volumes:
      - name: home
        emptyDir:
          medium: Memory
      - name: planet-config
        configMap:
          name: flumotion-manager