Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
VPP_Device - add baseline tests - part IIb)
[csit.git]
/
resources
/
templates
/
kubernetes
/
pods
/
contiv-vnf.yaml
1
apiVersion: v1
2
kind: Pod
3
metadata:
4
name: $$VNF$$-vpp
5
namespace: csit
6
spec:
7
containers:
8
- name: $$VNF$$
9
image: prod_vpp_agent
10
imagePullPolicy: IfNotPresent
11
securityContext:
12
privileged: true
13
ports:
14
- containerPort: 5002
15
- containerPort: 9191
16
readinessProbe:
17
httpGet:
18
path: /readiness
19
port: 9191
20
periodSeconds: 1
21
livenessProbe:
22
httpGet:
23
path: /liveness
24
port: 9191
25
initialDelaySeconds: 15
26
env:
27
- name: MICROSERVICE_LABEL
28
value: $$VNF$$
29
- name: INITIAL_LOGLVL
30
value: debug
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
volumes:
39
- name: vpp-config
40
configMap:
41
name: $$VNF$$-vpp-cfg
42
- name: agent-config
43
configMap:
44
name: vnf-agent-cfg
45
- name: memif-sockets
46
hostPath:
47
path: /tmp