Dan Erez

Developing locally with Kubernetes - a Guide and Best Practices

What if you could debug a service in a shared Kubernetes cluster, without waiting for a container build?

Developing locally with Kubernetes - a Guide and Best Practices
#1about 5 minutes

Understanding the pros and cons of microservices architecture

Microservices offer benefits like independent scaling and deployment, but can lead to complex systems that are difficult to manage.

#2about 5 minutes

Using Kubernetes for complex integration testing

As business processes involve more microservices, Kubernetes becomes essential for managing integration testing environments that local setups cannot handle.

#3about 2 minutes

Comparing local, remote, and hybrid Kubernetes environments

Developers can choose between isolated local setups, scalable remote clusters, or a hybrid model, but shared environments introduce collision risks.

#4about 3 minutes

Managing the high cost of cloud development environments

The rising expense of public cloud services necessitates careful cost management using tools like OpenCost to avoid impacting a company's financial health.

#5about 3 minutes

Leveraging idle employee machines as a free cloud

A novel approach to reduce cloud costs involves creating a distributed computing grid by utilizing the idle processing power of employee computers.

#6about 3 minutes

The benefits of running Kubernetes locally for development

Using a local Kubernetes setup ensures environment parity with production, reduces bugs, improves developer familiarity with operations, and enables offline work.

#7about 6 minutes

How to choose the right local Kubernetes distribution

A comparison of popular local Kubernetes distributions like Kind, Minikube, and K3s highlights their trade-offs in resource usage, features, and setup complexity.

#8about 5 minutes

Using Telepresence to solve the shared cluster problem

Tools like Telepresence solve the developer collision problem in shared clusters by intercepting and redirecting specific traffic to a developer's local machine for debugging.

#9about 5 minutes

Demo of local debugging with Kind and Telepresence

A practical demonstration shows how to use Kind to run a local cluster and Telepresence to intercept traffic for live debugging and code changes.

#10about 1 minute

Key takeaways for an efficient Kubernetes development workflow

Choose the simplest approach that works, from avoiding Kubernetes entirely to using a central cluster with tools like Telepresence for complex projects.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.