Skip to content

Commit ed3918b

Browse files
author
Roman Sysoev
committed
chore: update dlv deployment patch
Remove readiness and liveness probes to prevent issues when debugging the Virtualization Controller. Signed-off-by: Roman Sysoev <[email protected]>
1 parent 03e058e commit ed3918b

File tree

1 file changed

+16
-3
lines changed
  • images/virtualization-artifact/hack

1 file changed

+16
-3
lines changed

images/virtualization-artifact/hack/dlv.sh

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,22 @@ kubectl -n d8-virtualization patch deployment ${deployment} --type='strategic' -
7676
"template": {
7777
"spec": {
7878
"containers": [{
79-
"name": "${deployment}",
80-
"image": "${IMAGE}",
81-
"ports": [{"containerPort": 2345, "name": "dlv"}]
79+
"name": "${deployment}",
80+
"image": "${IMAGE}",
81+
"ports": [{"containerPort": 2345, "name": "dlv"}]
82+
"readinessProbe": null,
83+
"livenessProbe": null
84+
},
85+
{
86+
"name": "proxy",
87+
"readinessProbe": null,
88+
"livenessProbe": null
89+
},
90+
{
91+
"name": "kube-rbac-proxy",
92+
"readinessProbe": null,
93+
"livenessProbe": null
94+
}
8295
}]
8396
}
8497
}

0 commit comments

Comments
 (0)