Open red-0ne opened 11 months ago
@Olshansk, I did not manage to make it work with lightweight localnet. I think we should check if it's malfunctioning and ship this without it.
@okdas , Do you think we could toggle liveness/readiness checks with make debug_pod
run/cancellation?
@red-0ne What is this still a draft? Asking to understand in review process.
@red-0ne What is this still a draft? Asking to understand in review process.
This still does not have dlv on lightweight localnet. I'm OK having this on k8s only for now and switch it as ready for review.
Description
Add debugging capabilites to k8s LocalNet using dlv server and port forwarding.
Summary generated by Reviewpad on 04 Aug 23 08:24 UTC
This pull request includes the following changes:
kube_debug
which sets up a port-forwarding to a specific debugging pod.dlv
in theREADME.md
file.Tiltfile
to include a new entrypoint for thepocket-image
docker build, which enables debugging withdlv
.These changes aim to facilitate debugging and improve the development workflow for Pocket nodes.
Issue
Fixes #183
Type of change
Please mark the relevant option(s):
List of changes
TiltFile
to build pocket containers with dlv and start a debugging server topocket
binaryTesting
make develop_test
; if any code changes were mademake test_e2e
on k8s LocalNet; if any code changes were madee2e-devnet-test
passes tests on DevNet; if any code was changedRequired Checklist
godoc
format comments on touched members (see: tip.golang.org/doc/comment)If Applicable Checklist
shared/docs/*
if I updatedshared/*
README(s)