Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
CSIT-1110: Update code after jumpavg 0.1.2 release
[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
volumeMounts:
32
- name: vpp-config
33
mountPath: /etc/vpp
34
- name: agent-config
35
mountPath: /opt/vpp-agent/dev
36
- name: memif-sockets
37
mountPath: /tmp
38
- name: device-uio
39
mountPath: /dev
40
volumes:
41
- name: vpp-config
42
configMap:
43
name: vswitch-vpp-cfg
44
- name: agent-config
45
configMap:
46
name: vswitch-agent-cfg
47
- name: memif-sockets
48
hostPath:
49
path: /tmp
50
- name: device-uio
51
hostPath:
52
path: /dev