forked from joe-elliott/netcore-kubernetes-profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperfcollect.yaml
44 lines (44 loc) · 976 Bytes
/
perfcollect.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
apiVersion: v1
kind: Pod
metadata:
name: sample-netcore-app
labels:
app: sample-netcore-app
spec:
shareProcessNamespace: true
containers:
- name: sample-netcore-app
image: joeelliott/sample-netcore-app:v1.0.0-2.2.5
imagePullPolicy: IfNotPresent
env:
- name: COMPlus_PerfMapEnabled
value: "1"
- name: COMPlus_EnableEventLog
value: "1"
- name: COMPlus_ZapDisable
value: "1"
- name: ASPNETCORE_URLS
value: http://*:8080
volumeMounts:
- mountPath: /var/run/lttng
name: lttng
- mountPath: /tmp
name: tmp
- name: profile-sidecar
image: joeelliott/netcore-debugging-tools:v0.0.7-2.2.5
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
args:
- sleep
- infinity
volumeMounts:
- mountPath: /var/run/lttng
name: lttng
- mountPath: /tmp
name: tmp
volumes:
- name: lttng
emptyDir: {}
- name: tmp
emptyDir: {}