-
Notifications
You must be signed in to change notification settings - Fork 38
/
romana-route-publisher.yaml
63 lines (63 loc) · 1.58 KB
/
romana-route-publisher.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: romana-route-publisher
namespace: kube-system
spec:
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
romana-app: route-publisher
spec:
hostNetwork: true
hostPID: true
securityContext:
seLinuxOptions:
type: spc_t
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: publisher
image: quay.io/romana/x-route-publisher:v2.0.0
imagePullPolicy: Always
args:
- --asn=65534
env:
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
securityContext:
privileged: true
volumeMounts:
- name: run-path
mountPath: /var/run/romana
- name: bird
image: quay.io/romana/x-bird:v2.0.0
imagePullPolicy: Always
args:
- --config-dir=/var/tmp/romana/publisher-config
- --bird-config=bird.conf
- --publisher-template=publisher.conf
env:
- name: NODEIP
valueFrom:
fieldRef:
fieldPath: status.hostIP
securityContext:
privileged: true
volumeMounts:
- name: route-publisher-config
mountPath: /var/tmp/romana/publisher-config
- name: run-path
mountPath: /var/run/romana
volumes:
- name: route-publisher-config
configMap:
name: route-publisher-config
- name: run-path
emptyDir: {}