Initially developed by Datawire, Telepresence is a new open-source tool supported by the CNCF (Cloud Native Computing Foundation). It allows developers to run local software while connected to a remote Kubernetes cluster. The application uses a two-way network proxy to simulate TCP connections, environmental variables, and other volumes of services as local processes. This link allows for remote work to be accomplished while seemingly local to the cluster via the proxied connection.
This software allows developers to:
Let’s assume that we have a remote service that listens on port 8080 with a Dockerfile. This Dockerfile builds into an image called examplecom/servicename. Additionally, our service depends on other Kubernetes service instances (called thing1 and thing2) and a cloud-based database.
Our Kubernetes staging environment will look something like this:
Credit to: telepresence.io
Since we need that cloud-based database and the two additional services to test our software, we will need to accomplish the following tasks to examine a code change:
#tutorials #container #kubernetes #services #microservice