Skip to content
Back to skills

Using Kubernetes

ASecurity

Use when writing or editing Kubernetes manifests in a GitOps repository. Triggers on `.yaml` files in `clusters/`, `apps/`, or manifest directories, Deployments, Services, ConfigMaps, SOPS-encrypted Secrets, Kustomize overlays, Flux, ArgoCD, or per-environment config, even when the user doesn't say 'Kubernetes'.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsgokubernetesgitsecurity

Security analysis

A100/100

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

Scanned November 30, 2026

npx -y skills add xonovex/platform --skill using-kubernetes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Using Kubernetes?

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

Security grade badge for Using Kubernetes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xonovex-using-kubernetes/badge)](https://www.skillsdirectory.com/skills/xonovex-using-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: using-kubernetes
description: "Use when writing or editing Kubernetes manifests in a GitOps repository. Triggers on `.yaml` files in `clusters/`, `apps/`, or manifest directories, Deployments, Services, ConfigMaps, SOPS-encrypted Secrets, Kustomize overlays, Flux, ArgoCD, or per-environment config, even when the user doesn't say 'Kubernetes'."
---

# Kubernetes Coding Guidelines

Manage Kubernetes workloads through declarative manifests with explicit resource, rollout, and security settings.

## Requirements

- Kubernetes ≥ 1.28, Kustomize ≥ 5, GitOps (Flux).

## Essentials

- **Organization** - Use namespaces, labels, annotations consistently, see [references/deployments.md](references/deployments.md)
- **Container images** - Set requests/limits and probes, see [references/deployments.md](references/deployments.md)
- **Configuration** - Use ConfigMaps/Secrets, SOPS/External Secrets for secrets, see [references/configmaps-secrets.md](references/configmaps-secrets.md)
- **Multi-environment** - Manage with Kustomize bases/overlays, validate with `--dry-run`, see [references/kustomize.md](references/kustomize.md), [references/validation.md](references/validation.md)

## Gotchas

- `Secrets` are base64-encoded, not encrypted: encryption-at-rest requires enabling KMS provider on the cluster
- `resources.requests` is what the scheduler considers; `.limits` is what the kubelet enforces, without requests, pods compete unbounded
- Label selectors are immutable once a Service/Deployment is created: changing them requires recreate, not patch
- Namespace scope: `kubectl` defaults to `default` namespace; cross-namespace traffic needs `<svc>.<ns>.svc.cluster.local` or `NetworkPolicy`
- `Deployment` rolling updates require `readinessProbe` to be honest: a probe that returns 200 too early routes traffic to a not-ready pod

## Progressive disclosure

- Read [references/deployments.md](references/deployments.md) - Load when creating or updating Deployment resources
- Read [references/services.md](references/services.md) - Load when exposing applications or configuring load balancing
- Read [references/configmaps-secrets.md](references/configmaps-secrets.md) - Load when externalizing configuration or managing secrets
- Read [references/kustomize.md](references/kustomize.md) - Load when managing multiple environments with overlays
- Read [references/network-policies.md](references/network-policies.md) - Load when implementing network isolation between pods
- Read [references/validation.md](references/validation.md) - Load when validating manifests before applying to cluster

Files in this skill

  • SKILL.md2.6 KB
  • eval-output.json2.9 KB
  • eval-trigger.json5.6 KB
  • moon.yml86 B
  • references/configmaps-secrets.md632 B
  • references/deployments.md716 B
  • references/kustomize.md980 B
  • references/network-policies.md1 KB
  • references/services.md522 B
  • references/validation.md495 B
  • sources.json976 B

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.