Application Architecture
Our sample app comprises three microservices:
When a client requests product data, products calls inventory to fetch stock counts and then merges the results. auth runs independently.

What We’ll Cover
- Inspect application code and Kubernetes manifests
- Install the Telepresence client locally
- Deploy the Telepresence traffic manager in the cluster
- Establish a connection and verify setup
- Test DNS, service endpoints, and pod IPs from your laptop
- Cleanly disconnect when finished

1. Inspecting the Code
Open the project in VS Code or your preferred IDE. You’ll see three top-level folders—auth, inventory, and products—each containing:
index.js: Node.js entrypointpackage.jsonDockerfile
k8s/ directory are the Kubernetes YAML manifests for each service.

2. Kubernetes Manifests
Auth Deployment & Service
Inventory Deployment & Service
Products Deployment & Service
The products service is exposed via a LoadBalancer:3. Verifying the Kubernetes Cluster
Before proceeding, ensure your cluster is running and yourkubectl context is set correctly.
Ready state.
Make sure your kubeconfig points to the correct context. On managed services like AWS EKS, verify your cluster endpoint and authentication.
4. Installing the Telepresence Client
On Windows, open PowerShell as an Administrator:5. Deploying the Telepresence Traffic Manager
Telepresence uses Helm to install its Traffic Manager. Simply run:ambassador namespace and deploys the traffic manager pods.
6. Connecting to the Cluster
Establish a VPN-like tunnel between your laptop and the Kubernetes cluster:- Connection status
- Active Kubernetes context & namespace
- Routes for service and pod CIDRs
- DNS proxy configuration
- Traffic Manager health
Ensure you have cluster-wide permissions to deploy the Traffic Manager via Helm. You may need a cluster-admin role.
7. Reviewing Cluster Services Locally
With Telepresence active, your laptop now behaves like a pod:8. Testing DNS Resolution
Verify Kubernetes DNS from your laptop:9. Curling Services Locally
Auth Service
Products Service
10. Accessing a Pod by IP
-
List pods with IPs:
-
Curl the pod directly:
11. Disconnecting Telepresence
When you’ve finished testing, terminate the connection:Links and References
- Telepresence: https://www.telepresence.io/
- Kubernetes Basics: https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
- Helm: https://helm.sh/
- AWS EKS: https://aws.amazon.com/eks/