The server and the proxy may be running in a kubernetes namespace that is not default. In such a case the namespace need to be looked for and set with -n namespace in the kubectl commands.
This has been ignored for a while and probably needs fixing in a few places.
Connection.Exec() should add the namespace automatically and Connection.GetPodName() should be able to retrieve the namespace too.
The server and the proxy may be running in a kubernetes namespace that is not
default
. In such a case the namespace need to be looked for and set with-n namespace
in thekubectl
commands. This has been ignored for a while and probably needs fixing in a few places.Connection.Exec()
should add the namespace automatically andConnection.GetPodName()
should be able to retrieve the namespace too.