
FluxCD journey with Minikube
🚀 Phase 1: The Manual Foundation Goal: Set up the cluster and deploy a "Hello World" app the old-fashioned way to understand what we are automating. 🛠️ Step 1: Install Tools # Install the Big Three (macOS example) brew install minikube kubectl fluxcd/tap/flux 🏗️ Step 2: Start Minikube minikube start --cpus 2 --memory 4096 --driver = docker minikube addons enable ingress 📂 Step 3: Directory Layout Create this structure on your local machine: flux-lab/ └── base/ ├── kustomization.yaml └── web-server.yaml 📄 Step 4: The Manifests flux-lab/base/web-server.yaml apiVersion : apps/v1 kind : Deployment metadata : name : web-server namespace : engineering spec : replicas : 2 selector : matchLabels : app : nginx template : metadata : labels : app : nginx spec : containers : - name : nginx image : nginx:1.25 ports : - containerPort : 80 flux-lab/base/kustomization.yaml resources : - web-server.yaml 🚀 Step 5: Deploy Manually kubectl create namespace engineering kubectl apply -k flux-lab/base/ kubec
Continue reading on Dev.to
Opens in a new tab



