SlideShare a Scribd company logo
Building Microservice Systems
Without Cooking Your Laptop
Going “Remocal” with Docker, Telepresence & Kubernetes
Daniel Bryant
@danielbryantuk
Felipe Cruz
@felipecruz
@danielbryantuk | @felipecruz
tl;dr
2
• The inner development loop can be painful with microservices & Kubernetes
• Docker Desktop enables your development journey to cloud native
• Telepresence “proxies” your local machine into the cluster, increasing fast feedback
• Docker Desktop Extension for Telepresence enables “remocal” development
• Telepresence supports several workflows to make you more productive
@danielbryantuk | @felipecruz
@danielbryantuk
3
Daniel Bryant
@danielbryantuk
Ambassador Labs
Felipe Cruz
@felipecruz
Docker
@danielbryantuk | @felipecruz
Setting the Scene
4
@danielbryantuk | @felipecruz
Inner and outer dev loops
5
Hat tip to Mitch Denny (now 404): https://mitchdenny.com/the-inner-loop/
http://jorgemoral.es/posts/2020_03_17-develop_apps…
@danielbryantuk | @felipecruz
SOA: There’s just more stu
ff
(and dependencies)
6
@danielbryantuk | @felipecruz
So, let’s run everything locally…
7
@danielbryantuk | @felipecruz
Docker Desktop becomes your second IDE
Body Text
8
@danielbryantuk | @felipecruz
But if you’re
successful…
Mo’ services,
mo’ problems
9
@danielbryantuk | @felipecruz
tl;dr
10
“My laptop only has 16GB
RAM and you’re asking it
to run Kubernetes and a
JVM and a database???”
@danielbryantuk | @felipecruz
Okay, let’s run everything remotely…
11
@danielbryantuk | @felipecruz
Inner and outer dev loops with K8s
can be the same
12
• Write code
• Build container
• Push to registry
• Deploy to cluster
• Test
And can be …. SLOW.
@danielbryantuk | @felipecruz
Automation can help…
13
@danielbryantuk | @felipecruz
tl;dr
14
But you want a really fast inner loop (no docker build/push) …
@danielbryantuk | @felipecruz
tl;dr
15 And you want to use your own tools.
@danielbryantuk | @felipecruz
tl;dr
16
And you want to avoid the “works on my machine”
production vs local development debacle
@danielbryantuk | @felipecruz
17
+
@danielbryantuk | @felipecruz
What are Docker Extensions?
Extend Docker Desktop
A way to add new functionality into
Docker Desktop
Improve your team workflows
Connect your favorite dev tools to your
application development and
deployment workflows
Distribution channel
for your tooling
A way for the community and partners
to reach million of developers
18
@danielbryantuk | @felipecruz
What is Telepresence
19
• “Fancy Kubernetes VPN for development”
• “kubectl port-forward on steroids”
• “kubectl proxy all-the-things”
• A network bridge between your laptop and the Kubernetes cluster
@danielbryantuk | @felipecruz
Demo Time!
20
@danielbryantuk | @felipecruz
Our Emoji-User Demo App $$$
21
Web
Emoji
User
Ambassador
Edge Stack
(Ingress)
T
A
Traf
fi
c-
manager
User
@danielbryantuk | @felipecruz
Docker Desktop Extension for Telepresence
22
getambassador.io/testing-with-telepresence-and-docker
@danielbryantuk | @felipecruz
Key scenarios
23
@danielbryantuk | @felipecruz
Remocal development
24
www.slideshare.net/dbryant_uk/jax-london-22-debugging-microservices-remocally-in-kubernetes-with-telepresence
@danielbryantuk | @felipecruz
Testing Microservices: What to use, when
25
Mocks Service virtualization Remocal
Unit tests ✅
Integration tests ✅ ✅
Component tests ✅ ✅ ✅
End-to-end tests ✅ ✅
Poking around an
existing API
✅
Building an API ✅ ✅
@danielbryantuk | @felipecruz
Continuous Delivery
26
https://learning.oreilly.com/library/view/continuous-delivery-in/9781491986011/ch01.html#idm140291459013360
https://www.youtube.com/watch?v=hJkhPP2OLA8&t=291s
@danielbryantuk | @felipecruz
27
Continuous Delivery and build pipelines
@danielbryantuk | @felipecruz
Wrapping up
28
@danielbryantuk | @felipecruz
Telepresence is a CNCF project, with a wide variety of users
29
@danielbryantuk | @felipecruz
Conclusion
30
• The inner development loop can be painful with microservices & Kubernetes
• Docker Desktop enables your development journey to cloud native
• Telepresence “proxies” your local machine into the cluster, increasing fast feedback
• Docker Desktop Extension for Telepresence enables “remocal” development
• Telepresence supports several workflows to make you more productive
@danielbryantuk | @felipecruz
Thank you! Questions?
31
Sample code and extensions:
• github.com/ambassadorlabs/docker-extension-telepresence-java
• docs.docker.com/desktop/extensions/
Learn more:
• www.getambassador.io/kubernetes-learning-center/telepresence-docker-extension/
• hub.docker.com/extensions/ambassador/telepresence-docker-extension

More Related Content

PDF
Building the 10x better bank
PDF
The Next Wave in Sales & Marketing
PDF
KubeCrash 22: Debugging Microservices "Remocally" in Kubernetes with Telepres...
PDF
LJC 4/21"Easy Debugging of Java Microservices Running on Kubernetes with Tele...
PDF
Java Meetup 23: 'Debugging Microservices "Remocally" in Kubernetes with Telep...
PDF
Devoxx UK 22: Debugging Java Microservices "Remocally" in Kubernetes with Tel...
PDF
JAX London 22: Debugging Microservices "Remocally" in Kubernetes with Telepre...
PDF
MJC 2021: "Debugging Java Microservices Running on Kubernetes with Telepresence"
Building the 10x better bank
The Next Wave in Sales & Marketing
KubeCrash 22: Debugging Microservices "Remocally" in Kubernetes with Telepres...
LJC 4/21"Easy Debugging of Java Microservices Running on Kubernetes with Tele...
Java Meetup 23: 'Debugging Microservices "Remocally" in Kubernetes with Telep...
Devoxx UK 22: Debugging Java Microservices "Remocally" in Kubernetes with Tel...
JAX London 22: Debugging Microservices "Remocally" in Kubernetes with Telepre...
MJC 2021: "Debugging Java Microservices Running on Kubernetes with Telepresence"

Similar to Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” with Docker, Telepresence & Kubernetes (20)

PDF
Container Days: Easy Debugging of Microservices Running on Kubernetes with Te...
PDF
KubeCon NA 2019 "Introduction to Telepresence: Fast Development (and Debuggin...
PDF
CraftConf 2023 "Microservice Testing Techniques: Mocks vs Service Virtualizat...
PDF
Introduction to telepresence
PDF
Local development using telepresence
PDF
Haufe #msaday - Building a Microservice Ecosystem by Daniel Bryant
PDF
Building a microservice ecosystem
PDF
Haufe #msaday: "Building a Microservice Ecosystem"
PPTX
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
PDF
Telepresence - Fast Development Workflows for Kubernetes
PDF
Developer Experience Cloud Native - From Code Gen to Git Commit without a CI/...
PDF
Java one kubernetes, jenkins and microservices
PDF
Microservices with Kubernetes, Docker, and Jenkins
PDF
Microservices with Docker, Kubernetes, and Jenkins
PDF
Javaone kubernetesjenkins
PPTX
OReilly SACON 2016 "A Practical Guide for Continuous Delivery with Containers"
PDF
Your Developers Can Be Heroes on Kubernetes
PDF
KubeCon 2017: Kubernetes from Dev to Prod
PDF
DevEx | there’s no place like k3s
PPTX
CodeOne SF 2018 "Continuous Delivery with Containers: Lessons Learned"
Container Days: Easy Debugging of Microservices Running on Kubernetes with Te...
KubeCon NA 2019 "Introduction to Telepresence: Fast Development (and Debuggin...
CraftConf 2023 "Microservice Testing Techniques: Mocks vs Service Virtualizat...
Introduction to telepresence
Local development using telepresence
Haufe #msaday - Building a Microservice Ecosystem by Daniel Bryant
Building a microservice ecosystem
Haufe #msaday: "Building a Microservice Ecosystem"
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
Telepresence - Fast Development Workflows for Kubernetes
Developer Experience Cloud Native - From Code Gen to Git Commit without a CI/...
Java one kubernetes, jenkins and microservices
Microservices with Kubernetes, Docker, and Jenkins
Microservices with Docker, Kubernetes, and Jenkins
Javaone kubernetesjenkins
OReilly SACON 2016 "A Practical Guide for Continuous Delivery with Containers"
Your Developers Can Be Heroes on Kubernetes
KubeCon 2017: Kubernetes from Dev to Prod
DevEx | there’s no place like k3s
CodeOne SF 2018 "Continuous Delivery with Containers: Lessons Learned"
Ad

More from Daniel Bryant (20)

PDF
ITKonekt 2023: The Busy Platform Engineers Guide to API Gateways
PDF
PlatformCon 23: "The Busy Platform Engineers Guide to API Gateways"
PPTX
DevRelCon 2022: "Is Product Led Growth (PLG) the “DevOps” of the DevRel World"
PDF
Fall 22: "From Kubernetes to PaaS to... err, what's next"
PDF
CloudBuilders 2022: "The Past, Present, and Future of Cloud Native API Gateways"
PDF
KubeCon EU 2022: From Kubernetes to PaaS to Err What's Next
PDF
DevXDay KubeCon NA 2021: "From Kubernetes to PaaS to Developer Control Planes"
PDF
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
PDF
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
PDF
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
PPTX
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
PDF
Ambassador Fest: "Kubernetes Workflow 101: The Big Picture of Idea to an API ...
PDF
ADDO 2020: "The past, present, and future of cloud native API gateways"
PDF
GOTOpia 2020: "The Past, Present, and Future of Cloud Native API Gateways"
PDF
SoftwareCircus 2020 "The Past, Present, and Future of Cloud Native API Gateways"
PDF
DevOpsCon 2020: The Past, Present, and Future of Cloud Native API Gateways
PDF
AllTheTalks 2020: "The Past, Present, and Future of Cloud Native API Gateways"
PDF
[DW Webinar] Effective Management of APIs and the Edge when Adopting Kubernetes
PPTX
SACON EU 2019 "API Gateways and Service Meshes: Opening the Door to Applicati...
PPTX
JAX London 2019 "Cloud Native Communication: Using an API Gateway and Service...
ITKonekt 2023: The Busy Platform Engineers Guide to API Gateways
PlatformCon 23: "The Busy Platform Engineers Guide to API Gateways"
DevRelCon 2022: "Is Product Led Growth (PLG) the “DevOps” of the DevRel World"
Fall 22: "From Kubernetes to PaaS to... err, what's next"
CloudBuilders 2022: "The Past, Present, and Future of Cloud Native API Gateways"
KubeCon EU 2022: From Kubernetes to PaaS to Err What's Next
DevXDay KubeCon NA 2021: "From Kubernetes to PaaS to Developer Control Planes"
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
Ambassador Fest: "Kubernetes Workflow 101: The Big Picture of Idea to an API ...
ADDO 2020: "The past, present, and future of cloud native API gateways"
GOTOpia 2020: "The Past, Present, and Future of Cloud Native API Gateways"
SoftwareCircus 2020 "The Past, Present, and Future of Cloud Native API Gateways"
DevOpsCon 2020: The Past, Present, and Future of Cloud Native API Gateways
AllTheTalks 2020: "The Past, Present, and Future of Cloud Native API Gateways"
[DW Webinar] Effective Management of APIs and the Edge when Adopting Kubernetes
SACON EU 2019 "API Gateways and Service Meshes: Opening the Door to Applicati...
JAX London 2019 "Cloud Native Communication: Using an API Gateway and Service...
Ad

Recently uploaded (20)

PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
history of c programming in notes for students .pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Transform Your Business with a Software ERP System
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPT
Introduction Database Management System for Course Database
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
AI in Product Development-omnex systems
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
System and Network Administraation Chapter 3
PDF
Digital Strategies for Manufacturing Companies
PPTX
ai tools demonstartion for schools and inter college
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
top salesforce developer skills in 2025.pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ISO 45001 Occupational Health and Safety Management System
ManageIQ - Sprint 268 Review - Slide Deck
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
history of c programming in notes for students .pptx
Design an Analysis of Algorithms I-SECS-1021-03
Odoo POS Development Services by CandidRoot Solutions
Transform Your Business with a Software ERP System
Design an Analysis of Algorithms II-SECS-1021-03
Introduction Database Management System for Course Database
PTS Company Brochure 2025 (1).pdf.......
AI in Product Development-omnex systems
How to Choose the Right IT Partner for Your Business in Malaysia
System and Network Administraation Chapter 3
Digital Strategies for Manufacturing Companies
ai tools demonstartion for schools and inter college
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
top salesforce developer skills in 2025.pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How Creative Agencies Leverage Project Management Software.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design

Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” with Docker, Telepresence & Kubernetes