惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
P
Proofpoint News Feed
D
DataBreaches.Net
C
Check Point Blog
L
LangChain Blog
量子位
美团技术团队
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
腾讯CDC
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why I Replaced Multipass with OrbStack — And Built a Bett...
Noah Makau · 2026-05-16 · via DEV Community

Noah Makau

Part 1 of 7 — "The Mac Kubernetes Lab: A Production-Mirror Setup from Scratch"


Series overview: This 7-part series walks through replacing Multipass with OrbStack on Apple Silicon and building a dual-cluster Kubernetes setup — a native daily driver cluster and a full VM-based EKS mirror with Vault PKI, Istio, and Crossplane.


The Problem With My Old Setup

My local Kubernetes setup was embarrassing. At Arkila Systems, I manage EKS clusters with Istio, HashiCorp Vault for secrets, and Crossplane for infrastructure provisioning. My laptop was supposed to reflect some version of that. Instead I had a pile of Multipass VMs that took a full minute to boot, Docker Desktop fighting for memory in the background, and a list of kubectl port-forward commands I'd memorised because there was no other way to reach anything.

The specific pain points:

  • Multipass VMs boot in 30–60 seconds and pre-allocate memory whether you use it or not
  • LoadBalancer services need MetalLB or port-forward hacks just to be reachable
  • Switching between a dev cluster and a production-mirror cluster meant juggling kubeconfigs and hoping nothing crashed overnight
  • On Apple Silicon, half the tooling had ARM64 quirks that needed a separate debugging session before I could even start the actual work

I spent a weekend trying OrbStack. I didn't go back.


Image: Multipass vs OrbStack — boot time and memory comparison


What is OrbStack?

OrbStack is a macOS-native tool that runs Linux virtual machines and Docker containers, built specifically for Apple Silicon. It uses Apple's Virtualization Framework and is written in Swift, Go, Rust, and C — not a port of something designed for x86.

The numbers that made me switch:

Multipass OrbStack
VM boot time 30–60 seconds Under 3 seconds
Memory allocation Pre-allocated at creation Shared — uses only what's needed
Disk per VM Full image 1.3–3 GB
LoadBalancer services Needs MetalLB or port-forward Real IP, works immediately
Wildcard DNS Manual /etc/hosts *.k8s.orb.local auto-resolves from Mac
Docker Desktop replacement No Yes

OrbStack also ships a built-in Kubernetes cluster — one command and you have a working cluster with real LoadBalancer IPs and wildcard DNS. No configuration required.

💡 Pricing note: OrbStack is free for personal use — which covers everything in this series. If you're planning to roll it out across an engineering team or use it at work commercially, check orbstack.dev/pricing for current plans. The grey area worth knowing: using it on your personal machine for home labs and side projects is free; using it on a work machine to do your day job is commercial use. For this series — personal lab on your own Mac — it costs you nothing.


The Architecture: Two Clusters, One Tool

After a few weeks with OrbStack, I settled on a dual-cluster setup. Two clusters, two purposes.

Image: Dual-cluster architecture — OrbStack native K8s (daily driver) + VM kubeadm cluster (EKS mirror)

Cluster 1 — OrbStack Native K8s (Daily Driver)

The built-in cluster handles fast iteration work:

  • Crossplane compositions and provider development
  • HashiCorp Vault AppRole workflows
  • Helm chart testing
  • Istio Gateway and VirtualService experimentation — though I break this constantly, which is fine

Switch to it with kubectx orbstack. Services are reachable at *.k8s.orb.local from your browser immediately.

Cluster 2 — VM kubeadm Cluster (EKS Mirror + CKS Lab)

Four OrbStack Linux VMs running a real kubeadm-bootstrapped cluster:

  • K8s 1.34 — matching our upcoming EKS upgrade target at Arkila Systems
  • Vault PKI as the cluster Certificate Authority
  • Istio with revision-based upgrades, identical to our EKS approach
  • Crossplane with AWS provider
  • Multi-node topology (control plane + 2 workers) mirroring production

This is also my CKS exam preparation environment — Pod Security Admission, audit policies, NetworkPolicy, short-lived admin certificates via Vault.


Apple Silicon Compatibility — M1 vs M4

I originally built this on an M4 Mac. Everything worked. Then I tried replicating the setup on an M1 Pro. The cluster came up fine, but the CNI never did — and the root cause was not obvious.

M4 Mac M1 / M2 / M3 Mac
OrbStack VM type Unprivileged LXC Unprivileged LXC
iptables NAT ✅ Works ❌ Restricted
Recommended CNI Calico Cilium (eBPF)
kube-proxy Standard Replaced by Cilium

OrbStack VMs run as unprivileged LXC containers. On M4, iptables NAT table manipulation works fine. On M1 it's restricted — kube-proxy can't write KUBE-SERVICES chains, which means ClusterIP services are unreachable and any CNI plugin that tries to call the API server via ClusterIP fails silently. Calico starts, looks healthy, and then just... doesn't work. Took a while to connect the dots.

The fix is Cilium, which uses eBPF-based service routing and completely replaces kube-proxy. We'll cover this properly in Part 4.


What You'll Need

  • Apple Silicon Mac (M1, M2, M3, or M4)
  • Homebrew installed
  • At least 16 GB RAM — 8 GB will technically work but you'll feel it when all four VMs are running
  • About 20 GB free disk space
# 💻 Mac — check your chip
system_profiler SPHardwareDataType | grep Chip

# Check available disk
df -h ~

Enter fullscreen mode Exit fullscreen mode


The Multipass → OrbStack Migration

If you're coming from Multipass, the command mapping is straightforward:

Multipass OrbStack
multipass launch ubuntu orb create ubuntu
multipass shell <name> ssh <name>@orb
multipass exec <name> -- cmd orb run -m <name> cmd
multipass list orb list
multipass delete <name> orb delete <name>
multipass stop <name> orb stop <name>
multipass stop --all orb stop -a

Install OrbStack and clean out Multipass:

# 💻 Mac
brew install orbstack
open -a OrbStack   # required once for first-time GUI setup

# Remove Multipass
brew uninstall multipass
sudo rm -rf /var/root/Library/Application\ Support/multipassd
sudo rm -rf ~/Library/Application\ Support/multipass

Enter fullscreen mode Exit fullscreen mode

OrbStack auto-installs orb, docker, and kubectl on your PATH.


What's Coming in This Series

  • Part 1 (this article): Why OrbStack, architecture overview, M1 vs M4
  • Part 2: Cluster 1 — Native K8s daily driver with Istio, Vault, Crossplane
  • Part 3: Cluster 2 — VM creation, networking, and Vault PKI bootstrap
  • Part 4: kubeadm 1.34 — M1 vs M4 CNI deep dive (Calico vs Cilium)
  • Part 5: Istio revision-based upgrades and MetalLB on the VM cluster
  • Part 6: Vault K8s auth and Crossplane — mirroring your EKS stack
  • Part 7: Day 2 operations, CKS lab scenarios, and making it all stick

Part 2: Cluster 1 — Your Daily K8s Driver in One Command


Noah Makau is a DevSecOps Engineer, Entrepreneur, and self-described Nerd. He holds CKA, CKAD, AWS Solutions Architect Professional, AWS Solutions Architect Associate, and AWS Cloud Practitioner certifications. He is the founder of Arkila Systems, a DevOps consultancy, where he designs and operates Kubernetes, HashiCorp Vault, Crossplane, and CI/CD pipelines at scale. He is currently preparing for CKS certification.