Docker Compose Alternatives for Kubernetes: DevSpace

DevSpace Logo

Architecture

Installation

$ brew install devspace

Initializing Your Project

$ devspace init

Entering Development Mode

$ devspace use context $ devspace use namespace
Animated GIF showing those two commands and their output
$ devspace dev

#Developing Microservices with Kubernetes

dependencies:
- name: api-server
source:
git: https://github.com/my-api-server
branch: stable
dev:
ports: true

Hooks and Custom Commands

hooks:
# Execute the hook in a golang shell (cross operating system compatible)
- command: "echo before image building"
when:
before:
images: all
# Execute the hook in a golang shell (cross operating system compatible)
- command: |
echo Hello
echo World
when:
before:
images: image-1,image-2
# Execute the hook directly on the system (echo binary must exist)
- command: "echo"
args: ["before image building"]
when:
before:
images: image-1,image-2
$ devspace run [COMMAND NAME]

Web UI For Kubernetes Development

DevSpace web UI

Conclusion

--

--

--

>> www.loft.sh << Build Your Internal Kubernetes Platform With Virtual Clusters, Namespace Self-Service & Secure Multi-Tenancy

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A Beginner’s Guide to Radix Sort

Maintaining Your Mobile App is an Exercise in Forward-Thinking

Do you know what happens when you type gcc main.c ?

Testing in Software Engineering

Intro to Timeline for Unity

Phase II: Boss Enemy, Part 1

Blink LazyLoad

Setting up a TDD development environment for PHP, Apache and MySQL on a mac (for total noobs like…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Loft Labs

Loft Labs

>> www.loft.sh << Build Your Internal Kubernetes Platform With Virtual Clusters, Namespace Self-Service & Secure Multi-Tenancy

More from Medium

Build Container Images with Jenkins and Podman — Part 2

How To Deploy RabbitMQ With The Kubernetes Operators

“How To Deploy RabbitMQ With The Kubernetes Operators In 1 Hour” feature post image

Kubernetes Stateful Deployments

Roost.ai vs Docker