Skip to content

adrianliechti/devkube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devkube

devkube bootstraps feature-rich Kubernetes clusters locally using Docker or on a specified cloud provider on top of their managed Kubernetes offering.

Batteries included

Optional Add-ons

  • Linkerd - Service Mesh
  • Kyverno - Kubernetes Policy Management
  • Falco - Kubernetes threat detection engine
  • Trivy - Kubernetes workload vulnerability scanning

Cloud providers

Overview

Prerequisites

  • Docker - Container daemon
  • Kind - Kubernetes in Docker, for local cluster

Install

MacOS / Linux with Homebrew

brew install adrianliechti/tap/devkube

Windows with Scoop

scoop bucket add adrianliechti https://github.com/adrianliechti/scoop-bucket
scoop install kubectl helm adrianliechti/devkube

Create Cluster

devkube create

Cluster

Access Dashboard

devkube dashboard

Dashboard

Press "Skip" on the login page to access the dashboard as admin

Access Grafana

devkube grafana

Grafana

Advanced Features

Ingress Controller

Ingress

This CLI can forward traffic to the ingress controller and simulate DNS by adding entries in /etc/hosts temporary. It also allows to trust the pre-configured certificate authority (CA) to support TLS rules.

# Trust Platform CA (use --uninstall to remove)
devkube trust

# Tunnel Traffic (needs sudo)
devkube ingress

OpenTelemetry

flowchart LR
    A[App] -->|OTLP| B(Collector<br>telemetry.loop)
    B --> C{Forward}
    C -->|Logs| D[Loki<br>loki.loop]
    C -->|Traces| E[Tempo<br>tempo.loop]
    C -->|Metrics| F[Prometheus<br>prometheus.loop]
    D <--- G((Grafana))
    E <--- G
    F <--- G

OpenTelemetry

Trivy

Trivy is a comprehensive security scanner. It is reliable, fast, extremely easy to use, and it works wherever you need it.

devkube enable trivy

Trivy

Kyverno

Kyverno is a policy engine designed for Kubernetes. With Kyverno, policies are managed as Kubernetes resources and no new language is required to write policies.

devkube enable kyverno

Trivy

Falco

The Falco Project is a cloud native runtime security tool. Falco makes it easy to consume kernel events, and enrich those events with information from Kubernetes and the rest of the cloud native stack.

devkube enable falco

Falco

Linkerd

Linkerd is a service mesh for Kubernetes. It makes running services easier and safer by giving you runtime debugging, observability, reliability, and security—all without requiring any changes to your code.

devkube enable linkerd

Install CLI

MacOS / Linux with Homebrew

brew install linkerd

Windows with Scoop

scoop install linkerd

Open Dashboard

linkerd viz dashboard

Linkerd

Linkerd Grafana