/devops:ci-cd-kubernetes-strategyfrom devops
Provides patterns for running service dependencies (databases, etc.) as Kubernetes pods in CI/CD jobs instead of docker-compose. Use when writing or modifying CI workflows on Kubernetes runners.
Ships in devops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This document provides the practical implementation patterns for running workflows on our Kubernetes runners.
To run services like databases during a CI/CD job, docker-compose is NOT used. Instead, we create an isolated Kubernetes pod for the service.
Pattern: Deploying MongoDB
- name: 🗄️ Setup MongoDB with kubectl
run: |
# Create a unique, isolated namespace for this CI run
NAMESPACE="ci-${{ github.run_id }}"
kubectl create namespace $NAMESPACE
# Run the MongoDB pod within the new namespace
kubectl run mongodb --image=mongo:6.0 --namespace=$NAMESPACE --restart=Never
# Wait for the pod to be ready before proceeding
kubectl wait --for=condition=ready pod/mongodb --timeout=120s --namespace=$NAMESPACE
# Forward the pod's port to localhost for the test runner to access
kubectl port-forward -n $NAMESPACE pod/mongodb 27017:27017 &
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lagowski/claudeautopm --plugin devops4 skills in this plugin
/devops-troubleshooting-playbookStep-by-step playbook for diagnosing CI/CD, container, Kubernetes and deployment failures. Use when a build, pipeline, container or deployment is failing./docker-first-developmentDocker-first development workflow: run, build and test inside containers with docker-compose. Use when setting up a dev environment, writing Dockerfiles or running services locally./github-operationsSafe GitHub CLI usage: repository checks before writes, issue and PR operations, labels. Use when creating or editing GitHub issues, PRs or repositories with gh.Other plugins' skills for the same job