Kubernetes GitOps Debug Pod

You can deploy Debug pod from the debug pod guide via GitOps. Manual Steps 1. Create App Folder Structure Create the app folder in your local repo, run at top of repo: mkdir -p apps/debugpod/base 2. Place debugpod.yaml Place debugpod.yaml from the debug pod guide in apps/debugpod/base 3. Create Production Kustomization Create clusters/production/kustomization.yaml: # File: clusters/production/kustomization.yaml --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - apps - flux-system 4. Create Apps Kustomization Create clusters/production/apps/kustomization.yaml: ...

August 14, 2025 · 3 min · 631 words · Dmitry Konovalov

Kubernetes Lab Sample Application

VM side On the master node create two files sample-deployment.yaml # file: sample-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: sample-app spec: replicas: 2 selector: matchLabels: app: sample-app template: metadata: labels: app: sample-app spec: containers: - name: nginx image: nginx:alpine ports: - containerPort: 80 sample-service-nodeport.yaml # file: sample-service-nodeport.yaml apiVersion: v1 kind: Service metadata: name: sample-service-nodeport spec: type: NodePort selector: app: sample-app ports: - protocol: TCP port: 80 # ClusterIP port targetPort: 80 # Container port nodePort: 30080 # Node port (any available >30000) Deploy application ...

August 14, 2025 · 2 min · 214 words · Dmitry Konovalov