mcpField
K
kubernetes-deployment

kubernetes-deployment

github.com/aj-geddesCloud & DevOps373747 installsUpdated 34w ago
Repository

About kubernetes-deployment

A skill for deploying and managing containerized applications with Kubernetes, aimed at teams handling resource allocation, health checks, and rollout strategies. It includes deployment configurations and related guidance.

Key features

  1. 01Manage containerized application deployments
  2. 02Set resource requests and limits
  3. 03Configure liveness and readiness checks
  4. 04Use rolling and blue-green deployments
  5. 05Consult service account and RBAC guidance

Use cases

  1. 01Deploy across development, staging, and production
  2. 02Manage autoscaling microservices
  3. 03Configure service discovery and load balancing
  4. 04Set resource quotas and pod security policies

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill kubernetes-deployment

After installing, type/kubernetes-deploymentin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
complete-deployment-with-resource-management.md
deployment-script.md
service-account-and-rbac.md
scripts/
validate-config.sh
templates/
config-starter.yaml

Details

From the project README

Kubernetes Deployment

Table of Contents

Overview

Master Kubernetes deployments for managing containerized applications at scale, including multi-container services, resource allocation, health checks, and rolling deployment strategies.

When to Use

  • Container orchestration and management
  • Multi-environment deployments (dev, staging, prod)
  • Auto-scaling microservices
  • Rolling updates and blue-green deployments
  • Service discovery and load balancing
  • Resource quota and limit management
  • Pod networking and security policies

Quick Start

Minimal working example:

# kubernetes-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: api-service
  namespace: production
  labels:
    app: api-service
    version: v1
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
  selector:
    matchLabels:
      app: api-service
  template:
    metadata:
      labels:
        app: api-service
        version: v1
      annotations:
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Complete Deployment with Resource ManagementComplete Deployment with Resource Management
Deployment ScriptDeployment Script
Service Account and RBACService Account and RBAC

Best Practices

✅ DO
  • Use resource requests and limits
  • Implement health checks (liveness, readiness)
  • Use ConfigMaps for configuration
  • Apply security context restrictions
  • Use service accounts and RBAC
  • Implement pod anti-affinity
  • Use namespaces for isolation
  • Enable pod security policies
❌ DON'T
  • Use latest image tags in production
  • Run containers as root
  • Set unlimited resource usage
  • Skip readiness probes
  • Deploy without resource limits
  • Mix configurations in container images
  • Use default service accounts

Comments

Markdown supported