/infra-plugin:kubernetesfrom infra-plugin
Kubernetes and GKE operations: kubectl, manifests, deployments, services, workload identity, autopilot, config connector, private clusters, and troubleshooting.
Ships in infra-plugin. 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.
Read when SKILL.md points to them.
Guidance for Kubernetes operations with specialized knowledge of Google Kubernetes Engine (GKE) features and best practices. This entry file covers the common day-to-day commands and workflows; deep-dive topics live in the reference files listed at the bottom.
# List GKE clusters
gcloud container clusters list
# Get cluster credentials
gcloud container clusters get-credentials CLUSTER_NAME --region REGION
# Verify connection
kubectl cluster-info
kubectl get nodes
# Deploy application
kubectl apply -f deployment.yaml
# Check pod status
kubectl get pods -n NAMESPACE
# View logs (add --previous for a crashed container, -f to follow)
kubectl logs POD_NAME -n NAMESPACE
# Scale deployment
kubectl scale deployment DEPLOYMENT_NAME --replicas=3 -n NAMESPACE
# Interactive debug / port-forward
kubectl exec -it POD_NAME -n NAMESPACE -- /bin/sh
kubectl port-forward POD_NAME 8080:80 -n NAMESPACE
# Contexts
kubectl config get-contexts
kubectl config use-context CONTEXT_NAME
# Inspect resources
kubectl get all -n namespace
kubectl get pods -o wide -n namespace
kubectl describe pod POD_NAME -n namespace
# Edit / roll out
kubectl edit deployment DEPLOYMENT_NAME -n namespace
kubectl set image deployment/DEPLOYMENT_NAME CONTAINER=IMAGE -n namespace
kubectl rollout status deployment/DEPLOYMENT_NAME -n namespace
# Resource usage
kubectl top nodes
kubectl top pods -n namespace
# GKE clusters and node pools
gcloud container clusters describe CLUSTER_NAME --region REGION
gcloud container clusters resize CLUSTER_NAME --num-nodes 3 --region REGION
gcloud container node-pools list --cluster CLUSTER_NAME --region REGION
kubectl create namespace my-app.kubectl rollout status deployment/my-app -n my-app and kubectl get all -n my-app.See MANIFESTS.md for production-ready deployment, service, and ConfigMap/Secret manifests.
kubectl get pods -n NS then kubectl describe pod POD -n NS.kubectl get events -n NS --sort-by='.lastTimestamp'.--previous, -f, or -c CONTAINER for multi-container pods).kubectl exec -it POD -n NS -- /bin/sh or kubectl port-forward.See OPERATIONS.md for ImagePullBackOff, CrashLoopBackOff, Pending, and OOMKilled fixes.
Check usage and limits with kubectl top nodes, kubectl top pods -n NS, kubectl get resourcequota -n NS, and kubectl get limitrange -n NS.
| File | Read this when… |
|---|---|
| GKE_FEATURES.md | Choosing Autopilot vs Standard, configuring GKE Ingress / managed certificates, or sizing node pools. |
| MANIFESTS.md | Writing Deployment / Service / ConfigMap / Secret manifests, using Helm, or setting up HPA/VPA autoscaling. |
| OPERATIONS.md | Setting up monitoring/logging, Velero backups, or debugging common pod failures. |
| CONFIG_CONNECTOR.md | Managing GCP resources (SQL, buckets, Pub/Sub, IAM) from Kubernetes manifests. |
| PRIVATE_CLUSTERS.md | Creating or accessing private GKE clusters, Cloud NAT, VPC peering, or shared VPC. |
| SECURITY.md | Hardening pods, network policies, Workload Identity, secrets, RBAC, Binary Authorization, or audit logging. |
| CI_CD.md | Building GitOps / continuous deployment pipelines for GKE. |
| MULTI_CLUSTER.md | Managing multiple clusters or using Anthos multi-cluster features. |
This skill requires the following tools:
kubectl - Kubernetes command-line toolgcloud - Google Cloud SDKhelm - Kubernetes package managervelero - Backup and restore toolWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub lukaskellerstein/claude-my-marketplace --plugin infra-plugin6 skills in this plugin
/authAuthentication/authorization infra with Keycloak and OAuth2-proxy. Use for identity providers, SSO, OIDC/SAML, realm/client config, user federation, and OAuth2-proxy sidecar or ingress auth on Kubernetes./helmHelm chart authoring, templating, and release management for Kubernetes: charts, values, templating functions, repositories, dependencies, and lifecycle operations./istioIstio service mesh: traffic management, gateways, virtual services, destination rules, mTLS, authorization policies, EnvoyFilters, and observability./terraformTerraform infrastructure-as-code for provisioning cloud and Kubernetes resources: modules, state and backends, providers, and plan/apply workflows./traefikTraefik reverse proxy and ingress: routers, services, middlewares, TLS/certificates, and Kubernetes CRD (IngressRoute) configuration.