-
Notifications
You must be signed in to change notification settings - Fork 2
/
manager_patch.yaml
43 lines (43 loc) · 1.15 KB
/
manager_patch.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: garm-operator-controller-manager
namespace: garm-operator-system
spec:
template:
spec:
containers:
- name: manager
command:
[
"/dlv",
"--listen=:2345",
"--headless=true",
"--api-version=2",
"--accept-multiclient",
"exec",
"/manager",
"--wd",
"/tmp",
"--",
]
args:
- --garm-server=http://garm-server.garm-server.svc:9997
- --garm-username=admin
- --garm-password=LmrBG1KcBOsDfNKq4cQTGpc0hJ0kejkk
- --operator-watch-namespace=garm-operator-system
- --operator-min-idle-runners-age=1m
- --operator-runner-reconciliation=true
ports:
- containerPort: 2345
name: delve
protocol: TCP
resources:
limits:
memory: 1Gi
requests:
memory: 1Gi
livenessProbe:
$patch: delete
readinessProbe:
$patch: delete