Docker Kubectl Deploy

🌐Community
by oldwinter · vlatest · Repository

Helps with Docker, deployment as part of deploying and managing cloud infrastructure workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add docker-kubectl-deploy npx -- -y @trustedskills/docker-kubectl-deploy
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "docker-kubectl-deploy": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/docker-kubectl-deploy"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows AI agents to deploy applications using Docker and Kubernetes. It leverages docker commands to build container images, and kubectl commands to apply configurations and manage deployments within a Kubernetes cluster. The agent can automate the process of pushing images to registries and updating Kubernetes resources based on provided specifications.

When to use it

  • Automated Deployments: Automatically deploy new versions of an application to a staging or production environment after code changes are merged.
  • Infrastructure as Code (IaC): Apply declarative configurations for your infrastructure, ensuring consistency and reproducibility across environments.
  • Rollbacks: Quickly revert deployments to previous working states in case of errors or unexpected behavior.
  • Scaling Applications: Adjust the number of replicas for an application based on load or demand using Kubernetes scaling features.

Key capabilities

  • Building Docker images from a Dockerfile.
  • Pushing Docker images to container registries.
  • Applying Kubernetes manifests (YAML files).
  • Managing Kubernetes deployments, services, and pods.
  • Using kubectl commands for cluster interaction.

Example prompts

  • "Deploy the application defined in deploy/staging.yaml."
  • "Build a Docker image from the Dockerfile in the current directory and tag it as my-app:latest."
  • “Push the image my-app:latest to the registry at dockerhub.com/myorg/my-app.”

Tips & gotchas

  • Requires access to a Kubernetes cluster and appropriate credentials configured for kubectl.
  • Ensure the AI agent has sufficient permissions within the Kubernetes cluster to perform deployment actions.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
oldwinter
Installs
10

🌐 Community

Passed automated security scans.