DevSpace: The Inner Loop for Kubernetes Development

Shriira Press

Preface

Build, test, and debug your code directly inside a Kubernetes cluster — DevSpace closes the inner development loop.

Welcome to DevSpace: The Inner Loop for Kubernetes Development.

DevSpace is a lightweight, client-only command-line tool that makes developing applications on Kubernetes feel fast and immediate. Instead of rebuilding an image and redeploying a pod for every code change, DevSpace syncs your files straight into a running container, forwards its ports to your laptop, and streams its logs back to your terminal — so the cluster behaves like a local runtime. This book starts with the inner-loop problem DevSpace exists to solve, then works through its client-only architecture, the devspace.yaml configuration file at its center, image building and deployment, the development services that power hot reloading and port forwarding, the POSIX pipelines that orchestrate everything, dependencies for multi-service projects, and finally the practices that make DevSpace work well on a real team. By the end you will understand not just which commands to run, but why DevSpace is shaped the way it is.

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

Contents

  1. Chapter 1 — What DevSpace Is
  2. Chapter 2 — The Inner Loop Problem
  3. Chapter 3 — Architecture and devspace.yaml
  4. Chapter 4 — Building and Deploying
  5. Chapter 5 — Development Mode
  6. Chapter 6 — Pipelines and Dependencies
  7. Chapter 7 — DevSpace in Practice
0%
1/1