blob: 04b36e4072ac2e50bc401294f832ce5b90c5a67f (
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: {{ desc.globals.manager.machine }}
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
|