PrefaceAs we all know, when there is no K8S cluster, we can directly connect to the test environment service to debug. With the arrival of K8S, we can no longer directly connect to the business service to debug. The IP address assigned to the K8S Pod is the internal network of the cluster, and the external network of the cluster cannot directly access the Pod. So what is a good solution to directly connect to the Pod? The following introduces open source Telepresence. Introduction to TelepresenceTelepresence is an open source tool that allows you to run a single service locally while connecting that service to a remote Kubernetes cluster. This enables developers building multi-service applications to:
Open source address: https://github.com/telepresenceio/telepresence How Telepresence WorksTelepresence deploys a bidirectional network proxy in a pod running in your Kubernetes cluster. This pod proxies data from your Kubernetes environment (e.g. TCP connections, environment variables, volumes) to local processes. The local process's network is transparently overlaid so that DNS calls and TCP connections are routed through the proxy to the remote Kubernetes cluster. This approach gives:
Telepresence Supported Platforms
Telepresence InstallationCan be installed using Homebrew, apt or dnf Telepresence Usage ReportTelepresence collects some basic information about its users so that it can send important customer notifications, such as new version availability and security announcements. We also use this information to anonymously aggregate basic usage analytics. To disable this behavior, set the environment variable SCOUT_DISABLE:
How to use TelepresenceI won’t describe it here. For details, please refer to https://www.telepresence.io/tutorials/kubernetes Reference Links
|
<<: Airplanes are all equipped with 5G, so why is the signal on high-speed trains still so poor?
Hello everyone, I am Brother Shu. In complex dist...
Private 5G networks are attractive to the largest...
Since 5G was officially put into commercial use i...
As the main theme of today's IT industry, clo...
It is not easy to "steer" China Mobile....
On August 23, Liang Hua, Chairman of Huawei, atte...
In 2019, people inside and outside the industry s...
With over 1.1 billion users, WeChat is China’s la...
【51CTO.com original article】 Just last week, the ...
HOSTEROID is a foreign hosting company founded in...
HostHatch shared some of their recent work a few ...
EtherNetservers' special annual VPS has alway...
According to a recent report by OpenSignal Mobile...
The internet has become an integral part of our l...