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?
A classic interview question is what happens from...
80VPS is a long-established Chinese hosting compa...
[[383719]] The author has developed a simple, sta...
Strictly speaking, the Singapore node is not a ne...
"I won't buy any non-5G mobile phones&qu...
Since the beginning of this year, my country'...
It is already March 2018, and the large-scale com...
RAKsmart also offers promotions for cloud servers...
Recently, the Ministry of Industry and Informatio...
[51CTO.com original article] Recently, Huawei'...
When we look at the manufacturing industry and ho...
Self-managing data centers, sometimes called self...
spinservers has sent a special promotion during t...
On April 2, Ruijie Networks held a new product la...
There is a wind power plant abroad that mainly us...