Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
FIX: Remove old restart sequence - Honeycomb
[csit.git]
/
resources
/
templates
/
kubernetes
/
pods
/
contiv-vswitch.yaml
1
apiVersion: v1
2
kind: Pod
3
metadata:
4
name: vswitch-vpp
5
namespace: csit
6
spec:
7
hostNetwork: true
8
containers:
9
- name: "vswitch"
10
image: prod_vpp_agent
11
imagePullPolicy: IfNotPresent
12
securityContext:
13
privileged: true
14
ports:
15
- containerPort: 5002
16
- containerPort: 9191
17
readinessProbe:
18
httpGet:
19
path: /readiness
20
port: 9191
21
periodSeconds: 1
22
livenessProbe:
23
httpGet:
24
path: /liveness
25
port: 9191
26
periodSeconds: 1
27
initialDelaySeconds: 15
28
env:
29
- name: MICROSERVICE_LABEL
30
value: vswitch
31
- name: INITIAL_LOGLVL
32
value: debug
33
volumeMounts:
34
- name: vpp-config
35
mountPath: /etc/vpp
36
- name: agent-config
37
mountPath: /opt/vpp-agent/dev
38
- name: memif-sockets
39
mountPath: /tmp
40
- name: device-uio
41
mountPath: /dev
42
volumes:
43
- name: vpp-config
44
configMap:
45
name: vswitch-vpp-cfg
46
- name: agent-config
47
configMap:
48
name: vswitch-agent-cfg
49
- name: memif-sockets
50
hostPath:
51
path: /tmp
52
- name: device-uio
53
hostPath:
54
path: /dev