Open abhayakyy opened 2 years ago
It looks like you don't have clang
and bpftool
installed on your system.
For vscode, you should change the go version of vscode used to 1.19(try google).
installing these fixed the issue but now I am getting this error
2022-11-06T14:07:52.281386Z error klog pkg/mod/k8s.io/client-go@v0.25.1/tools/cache/reflector.go:169: Failed to watch v1.Pod: failed to list v1.Pod: Get "https://127.0.0.1:45007/api/v1/pods?fieldSelector=spec.nodeName%3Droy&limit=500&resourceVersion=0": dial tcp 127.0.0.1:45007: connect: connection refused
Do I need a running k8s cluster with istio installed on it ?
installing these fixed the issue but now I am getting this error
2022-11-06T14:07:52.281386Z error klog pkg/mod/k8s.io/client-go@v0.25.1/tools/cache/reflector.go:169: Failed to watch v1.Pod: failed to list v1.Pod: Get "https://127.0.0.1:45007/api/v1/pods?fieldSelector=spec.nodeName%3Droy&limit=500&resourceVersion=0": dial tcp 127.0.0.1:45007: connect: connection refused
Do I need a running k8s cluster with istio installed on it ?
Yes, you need to install a Kubernetes cluster with Istio locally. You can either try Kind to create a new cluster and make sure the root user can access it directly via kubectl, or set the KUBECONFIG environment variable manually.
Bug Description
1) - The error when trying to run the code base in the main branch using "dlv" is
2) - Running command "go run -exec sudo ./app/main.go" gives the following error
Version