Closed pentium10 closed 3 years ago
@ahmetb it worths documenting that officially this does not exist, but there are ways with reverse shell so get Cloud Run instance to connect to a GCE instance for example on launch and this way a tunnel is happening.
Such methods are currently quite hacky. Cloud Run throttles cpu to ~0% when there are no request. So such tunnels would not work easily.
I am well aware of that, but you can ping and keep the cluster online, also think of web socket in future will be throttled under them as well?
What do you mean by "cluster" here? WebSockets are active requests, so not throttled. But as you can see WS isn't supported currently.
Cluster was a wrong word. About WS we will get back to that later. Anyway a lot of people are chasing and one of the most asked and comment things on Cloud Run are how to debug with shell access.
It would be good so Cloud Run engineers should provide a debug mode, and while that is active
Anyway a lot of people are chasing and one of the most asked and comment things on Cloud Run are how to debug with shell access.
As someone who monitors ~all Cloud Run questions asked on Twitter and Stack Overflow and here, I would not say "a lot of people". Also this repo isn't for discussing feature requests. :)
This does not exist. In the future you’ll be able to run stuff like gotty.