-
Notifications
You must be signed in to change notification settings - Fork 0
/
bird.yml
53 lines (53 loc) · 1.17 KB
/
bird.yml
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
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: bird
namespace: router
spec:
selector:
matchLabels:
app: bird
template:
metadata:
labels:
app: bird
spec:
containers:
- name: bird
env:
- name: BIRD_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: BIRD_HOST
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: BIRD_ML_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: registry.gitlab.com/purelb/bird_router:latest
imagePullPolicy: Always
resources:
limits:
cpu: 500m
memory: 250Mi
requests:
cpu: 500m
memory: 250Mi
securityContext:
capabilities:
add:
- NET_ADMIN
privileged: false
volumeMounts:
- name: bird-cm
mountPath: /usr/local/etc
volumes:
- name: bird-cm
configMap:
name: bird-cm
hostNetwork: true
dnsPolicy: ClusterFirst
enableServiceLinks: true