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?
[[428490]] introduce In many business systems, we...
Recently, according to a survey report on data ce...
AlphaVPS is a Bulgarian hosting company registere...
The epidemic has given rise to many new formats a...
2019 is the first year of 5G worldwide. More than...
The tiger is gone and the rabbit is here, everyth...
On October 24, the 2020 Hang Seng LIGHT Developer...
Google announced today that it will stop software...
[51CTO.com original article] Technology has been ...
According to statistics, 20% of the sites in hots...
[[400269]] This article is reprinted from the WeC...
Since the Ministry of Industry and Information Te...
For monitoring projects, many faults are caused b...
In 450 BC, Nehemiah, an official of the Persian E...
It is said that China Mobile has announced that t...