You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a full deployment using skaffold.
It uses helm, kubectl and kustomize to create many k8s resources in several namespaces.
I want to use the debug feature.
It is working for the pods in the namespaces returned by : GetAllPodNamespaces
But this only includes :
my default namespace
the namespaces created with helm deploy
and nothing else...
But some of my pods are not created using helm, and are not in the default namespace (they are created using kustomize).
For these pods, the injection of the initContainer and the use of the dlv command is working (and i am able to use it with manual port forwarding and dlv connect), but not the automatic portforward.
I tried to patch GetAllPodNamespaces to force it to use my other namespaces, and this works.
This should also work for resources created by kubectl or kustomize in other namespaces, or at least provide a manual configuration of all other namespaces to watch.
The text was updated successfully, but these errors were encountered:
I have a full deployment using skaffold.
It uses helm, kubectl and kustomize to create many k8s resources in several namespaces.
I want to use the debug feature.
It is working for the pods in the namespaces returned by : GetAllPodNamespaces
But this only includes :
But some of my pods are not created using helm, and are not in the default namespace (they are created using kustomize).
For these pods, the injection of the initContainer and the use of the dlv command is working (and i am able to use it with manual port forwarding and dlv connect), but not the automatic portforward.
I tried to patch GetAllPodNamespaces to force it to use my other namespaces, and this works.
This should also work for resources created by kubectl or kustomize in other namespaces, or at least provide a manual configuration of all other namespaces to watch.
The text was updated successfully, but these errors were encountered: