Skip to content
Back to skills

Kubernetes

ASecurity

Create, audit, and manage Kubernetes manifests, Kustomize overlays, and cluster resources. Use when authoring, reviewing, or managing Kubernetes artifacts for: (1) Production-grade Deployment, Service, Ingress, and NetworkPolicy manifests, (2) Kustomize base and overlay configurations across environments (dev/staging/prod), (3) Pod Security Standards and manifest security auditing, or (4) Kubectl pre-flight dry-run and diff workflows.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 29, 2026
ai-agentsrailskubernetesapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 29, 2026

npx -y skills add talkops-ai/opscode --skill kubernetes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kubernetes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kubernetes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/talkops-ai-kubernetes/badge)](https://www.skillsdirectory.com/skills/talkops-ai-kubernetes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kubernetes
description: "Create, audit, and manage Kubernetes manifests, Kustomize overlays, and cluster resources. Use when authoring, reviewing, or managing Kubernetes artifacts for: (1) Production-grade Deployment, Service, Ingress, and NetworkPolicy manifests, (2) Kustomize base and overlay configurations across environments (dev/staging/prod), (3) Pod Security Standards and manifest security auditing, or (4) Kubectl pre-flight dry-run and diff workflows."
license: MIT
compatibility: designed for opscode
---

# Kubernetes Manifests, Kustomize Overlays & Resource Management

Guidelines for authoring, auditing, and managing production Kubernetes manifests, Kustomize overlay structures, and cluster resources safely.

## Quick Workflow

1. **Manifest Authoring**: Structure workload manifests (Deployments, Services, Ingress, NetworkPolicies) using explicit API versions, resource requests/limits, health probes, and non-root security contexts.
2. **Environment Overlays via Kustomize**: Keep common resource definitions in `base/` and manage environment-specific variations (namespaces, replicas, resource patches, image tags) in `overlays/<env>/`.
3. **Security Auditing**: Enforce Pod Security Standards (Restricted profile) with `readOnlyRootFilesystem: true`, `allowPrivilegeEscalation: false`, and `runAsNonRoot: true`.
4. **Pre-flight Dry-Run Guardrails**: Always run `kubectl diff` or `kubectl apply --dry-run=server` prior to applying changes to a cluster.

---

## Detailed References

- **Manifest Patterns**: See [references/manifest-patterns.md](references/manifest-patterns.md) for production Deployments, Services, TLS Ingress, and NetworkPolicies.
- **Kustomize Overlays**: See [references/kustomize-overlays.md](references/kustomize-overlays.md) for base/overlay directory layouts, Strategic Merge Patches, image overrides, and configMapGenerators.
- **Security Audit & Dry-Run**: See [references/security-audit.md](references/security-audit.md) for Pod Security Standards, RBAC auditing, and `kubectl` dry-run commands.

---

## Kubernetes Production Checklist

- [ ] **Resource Isolation**: Explicit `cpu` and `memory` requests and limits set on all containers.
- [ ] **Probes**: `livenessProbe` and `readinessProbe` configured with appropriate timeouts and initial delays.
- [ ] **Restricted Security Context**: `runAsNonRoot: true`, `allowPrivilegeEscalation: false`, and `readOnlyRootFilesystem: true`.
- [ ] **Network Segmentation**: Default-deny NetworkPolicies configured to restrict pod ingress and egress.
- [ ] **Tag Immutability**: Container images use explicit version tags or digest SHAs (no `:latest`).
- [ ] **Server-Side Dry-Run**: Manifests tested against target cluster admission controllers using `kubectl apply --dry-run=server`.

Files in this skill

  • SKILL.md2.7 KB
  • references/kustomize-overlays.md1.5 KB
  • references/manifest-patterns.md3.6 KB
  • references/security-audit.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.