ark3 on ssh-cleanup
ark3 on master
Return status rather than crash… Emit a distinct crash message f… Factor out sshuttle command and 3 more (compare)
ark3 on ssh-cleanup
Return status rather than crash… Emit a distinct crash message f… Factor out sshuttle command and 2 more (compare)
ark3 on master
Don't pass --v=4 to kubectl eve… (compare)
ark3 on master
fix: changes depracated method … fix: masks logged tokens chore: adds changelog file and 8 more (compare)
<sanha> @ark3 Exactly. A cannot find B in DNS by B's k8s service name.
I'm trying with various languages like Node, Java in VSCode, IntellIJ... but nothing works.
A can reach out to B only with it's public full domain (like any other process or machine without Telepresence).
Please let me know the thing you are familiar with.
For environment variables, fixing source codes to pull the k8s specific env variables does not sound good.
<sanha> Oh I see. I'll try with vpn-tcp.
I hoped to debug many apps with Telepresence in inject-tcp mode :(
But Telepresence is still useful for debugging single app. Thanks.
For env variables, I misunderstood the usage of them.
I guessed that it will be used for VPN or DNS of Telepresence, but it seems not.
Thanks for your explanation!
telepresence
process can't locate the IDE process in my case. (My guess)
python3
from your shell path.
localhost:9000
and the IDE would have a listener present to pick it up. In a non-telepresence host-run docker container, you'd change localhost
to host.docker.internal
or docker.for.mac.localhost
and the traffic would show up on the OSX host. I suspect that's not quite working right due to the various networking loops going on with telepresence, however. Any suggestions for how to get that connection from my --swap-deployment
container to show up on my hostmachine so the IDE can pick it up? Thanks!
ssh -R
to forward a port in the container to something on the host. This avoids using host.docker.internal
, which doesn't work on Linux.
docker run
command that has --publish=127.0.0.1:port:38022/tcp
Launching Local SSH port forward
to see what I mean.
docker inspect --format='{{(index (index .NetworkSettings.Ports "38022/tcp") 0).HostPort}}' telepresence-1554143629-148726-77228
gets you the right port to connect to