Telepresence: Fast Inner-Loop Development on Kubernetes
Shriira Press
Develop and debug a single service against a live Kubernetes cluster, without rebuilding a container for every change.
Welcome to Telepresence: Fast Inner-Loop Development on Kubernetes.
Telepresence is a CNCF sandbox project that collapses the slow edit-build-push-deploy cycle of Kubernetes development back down to the speed of running code on your laptop. It does this with two complementary tricks: it connects your local machine to the cluster's internal network so your code can reach in-cluster services by their normal names, and it can intercept traffic destined for a remote service and reroute it to a process running locally — either all of it, or just the requests carrying a header that belongs to you. A traffic-manager in the cluster and lightweight traffic-agents injected beside your workloads make this possible. This book walks through the whole picture: the inner-loop problem Telepresence solves (Chapter 1), the architecture of daemons, manager, and agents (Chapter 2), how cluster connectivity and DNS work (Chapter 3), how global and personal intercepts route traffic (Chapter 4), the environment and volumes that make a local process behave like a pod (Chapter 5), team workflows and preview URLs (Chapter 6), and operating Telepresence well in practice (Chapter 7).
This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.
A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.
We hope it serves you well.
— Shriira Press