-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.yaml
71 lines (71 loc) · 1.55 KB
/
run.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
apiVersion: v1
kind: Service
metadata:
name: memory-profiler-service
spec:
type: NodePort
selector:
app: memory-profiler
ports:
- port: 17832
protocol: TCP
name: profiler
- port: 3000
protocol: TCP
name: node-server
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: memory-profiler
name: memory-profiler
spec:
replicas: 1
selector:
matchLabels:
app: memory-profiler
template:
metadata:
labels:
app: memory-profiler
spec:
containers:
- name: openmina
image: vladsimplestakingcom/openmina:keep-frame-pointers
imagePullPolicy: Always
securityContext:
privileged: true
ports:
- name: node
containerPort: 8302
protocol: TCP
- name: profiler
containerPort: 17832
protocol: TCP
- name: node-server
containerPort: 3000
protocol: TCP
env:
- name: BPF_MEM
value: "1"
- name: RUST_LOG
value: "info"
resources:
requests:
memory: 16G
limits:
memory: 32G
volumeMounts:
- mountPath: /sys/kernel/debug
name: sys-kernel-debug
- mountPath: /proc
name: proc
volumes:
- name: sys-kernel-debug
hostPath:
path: /sys/kernel/debug
- name: proc
hostPath:
path: /proc
---