google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
debugging-flux-deployments
Diagnoses and resolves issues with Flux GitOps deployments, Kubernetes pods, services, and HelmReleases in the Superbloom cluster
Full skill instructions
This skill provides systematic approaches to diagnose and fix deployment issues in the Superbloom K3s cluster.
1. Check Flux sync status
2. Check HelmRelease status
3. Check Pod status
4. Check Service endpoints
5. Check container logs
6. Test internal connectivity
# Check all Flux resources
flux get all -A
# Check specific kustomization
flux get kustomization flux-system -n flux-system
# Force reconciliation
flux reconcile kustomization flux-system --with-source
# Check GitRepository
flux get source git -A
# List all HelmReleases
kubectl get helmrelease -A
# Detailed status
kubectl describe helmrelease <name> -n <namespace>
# Force HelmRelease reconciliation
flux reconcile helmrelease <name> -n <namespace>
# List pods with status
kubectl get pods -n <namespace>
# Detailed pod info
kubectl describe pod <pod-name> -n <namespace>
# Container logs
kubectl logs -n <namespace> <pod-name> -c <container-name>
# All containers
kubectl logs -n <namespace> <pod-name> --all-containers
# Previous crashed container
kubectl logs -n <namespace> <pod-name> -c <container> --previous
# Check service
kubectl get svc -n <namespace>
# Check endpoints (empty = no healthy pods)
kubectl get endpoints <service-name> -n <namespace>
# Test internal connectivity
kubectl run curl-test --rm -it --restart=Never --image=curlimages/curl -- \
curl -s http://<service>.<namespace>.svc.cluster.local:<port>/health
# Check secret exists
kubectl get secret <name> -n <namespace>
# View secret data (base64 decoded)
kubectl get secret <name> -n <namespace> -o jsonpath='{.data.<key>}' | base64 -d
# SOPS decrypt locally
cd flux && sops -d clusters/superbloom/apps/<app>/secrets.yaml
Symptom: Pod shows CrashLoopBackOff, 1/2 Ready
Diagnosis:
kubectl describe pod <pod> -n <namespace> | tail -30
kubectl logs -n <namespace> <pod> -c <container>
Common causes:
Tailscale fix: Add RBAC for secrets management:
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "create", "update", "patch"]
Symptom: Service has no endpoints, traffic fails
Diagnosis:
kubectl get endpoints <svc> -n <namespace>
kubectl get pods -n <namespace> -o wide
Cause: Pod not "Ready" (all containers must pass readiness probes)
Fix: Ensure all containers are healthy. If sidecar failing, fix that first.
Symptom: values don't meet the specifications of the schema
Example error:
at '/serviceAccount/name': got string, want object
Cause: bjw-s app-template v4 schema mismatch
Fix for serviceAccount: Move inside controller:
controllers:
main:
serviceAccount: # CORRECT - inside controllers.main
name: my-app
containers:
main:
...
NOT at top level:
serviceAccount: # WRONG - top level
name: my-app
Symptom: Flux can't decrypt secrets
Diagnosis:
# Check sops-age secret exists
kubectl get secret sops-age -n flux-system
# Test local decryption
cd flux && sops -d clusters/superbloom/apps/<app>/secrets.yaml
Fixes:
.sops.yaml path_regex matches file locationSymptom: 521 errors, certificate not issued
Diagnosis:
kubectl logs -n caddy-system -l app=caddy --tail=50
Common causes:
Fix:
# Add domain to DDNS
sops -d flux/clusters/superbloom/infra/ddns/secrets.yaml
# Add to DOMAINS, re-encrypt
# Restart DDNS and Caddy
kubectl rollout restart deployment ddns -n ddns
kubectl rollout restart deployment caddy -n caddy-system
Symptom: ImagePullBackOff, ErrImagePull
Diagnosis:
kubectl describe pod <pod> -n <namespace> | grep -A5 "Events"
Fixes:
Symptom: Container crashes with exec /usr/local/bin/<binary>: exec format error
Cause: Containerd cached a wrong-architecture image (common with multi-arch latest tags)
Diagnosis:
kubectl logs -n <namespace> <pod> -c <container>
# Shows "exec format error"
# Check cached images
ssh superbloom "sudo ctr --address /run/k3s/containerd/containerd.sock -n k8s.io images ls | grep <image>"
Fix: Remove corrupted image from containerd cache:
ssh superbloom "sudo ctr --address /run/k3s/containerd/containerd.sock -n k8s.io images rm <image>:<tag>"
# Delete pods to force fresh pull
kubectl delete pod -n <namespace> -l app.kubernetes.io/instance=<app>
Prevention: Pin to specific version tags instead of latest for sidecars like Tailscale.
Symptom: Container shows Completed with exit code 0, restarts in CrashLoopBackOff
Cause: Often a Docker build issue - source files are empty (0 bytes)
Diagnosis:
# Check file sizes in image
kubectl run debug --rm -it --image=<image>:<tag> -- ls -la /app/src/
# If files show 0 bytes, the build is broken
Fix: Rebuild with cache disabled:
# In .github/workflows/<app>.yml
- name: Build and push
uses: docker/build-push-action@v5
with:
no-cache: true # Temporarily disable cache
After successful rebuild, re-enable caching.
# Watch pods
kubectl get pods -n <namespace> -w
# Watch events
kubectl get events -n <namespace> -w --sort-by='.lastTimestamp'
kubectl exec -it -n <namespace> <pod> -c <container> -- /bin/sh
kubectl port-forward -n <namespace> svc/<service> 8080:3000
curl http://localhost:8080/health
# Sometimes needed to clear stuck state
kubectl delete helmrelease <name> -n <namespace>
flux reconcile kustomization flux-system --with-source
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.