forked from twright-msft/sockFactory3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpod-sqllatency.yaml
50 lines (50 loc) · 1.26 KB
/
pod-sqllatency.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
apiVersion: v1
kind: Pod
metadata:
name: pocapp-noinit-sqllatency-kernel
spec:
nodeSelector:
agentpool: "sqllatency"
# initContainers:
# - command:
# - /bin/sh
# - -c
# - apt-get update && apt-get install iproute2 -y
# - ip route change default via 169.254.1.1 dev eth0 proto static quickack 1
# image: a9d593e2/pocapp-40ms:01
# imagePullPolicy: IfNotPresent
# name: init-setquickack
# securityContext:
# capabilities:
# add:
# - NET_ADMIN
# - SYS_ADMIN
containers:
- name: debuger
image: a9d593e2/tshark-ek:010
env:
- name: JFILTER
value: "frame ip tcp"
securityContext:
privileged: true
- name: pocapp-40ms
#image: twrightmsft/pocapp:v1 #Adventure Works
image: twrightmsft/pocapp:v2 #4k table similar to customer env
#image: a9d593e2/sockerfactory3-jovan:v1.4 #Similar to customer env
#image: a9d593e2/pocapp-40ms:01 # image using the JDBS driver with 40ms
command:
- sleep
- inf
env:
- name: DBNAME
value: "test-db-dhl-westeu"
- name: USERNAME
value: "sqladmin"
- name: SERVERNAME
value: ""
- name: PASSWORD
value: ""
- name: PORT
value: "1433"
- name: USEFASTACK
value: "false" #true/false