/kubernetes-platform-skills:kubernetes-cluster-post-provision-conformance-validationfrom kubernetes-platform-skills
Guides validating a freshly provisioned Kubernetes cluster using Sonobuoy CNCF conformance tests and targeted smoke tests (DNS, cross-node connectivity, PVC provisioning) to confirm production readiness.
Ships in kubernetes-platform-skills. 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.
None: SKILL.md is the whole skill.
A cluster reporting kubectl get nodes all Ready is not the same
claim as "this cluster behaves like Kubernetes is supposed to." Whether
a cluster was bootstrapped with kubeadm/Cluster API, provisioned as a
managed EKS/AKS/GKE cluster, or stood up as K3s, subtle
misconfiguration — a CNI that doesn't fully implement the Service/DNS
data path, a storage class that silently doesn't provision, a
NetworkPolicy engine that accepts but doesn't enforce — can pass every
surface-level check and still fail real workloads days later. Sonobuoy
running the official CNCF conformance test suite is the standard,
vendor-neutral way to validate a cluster actually implements the
Kubernetes API and core behaviors correctly, and a small set of targeted
smoke tests closes gaps conformance doesn't cover (storage
provisioning, ingress paths, cross-node connectivity under your
specific CNI/network topology). This skill covers running both as a
required gate between "cluster provisioned" and "cluster declared
production-ready" — not the provisioning itself, covered in
kubernetes-cluster-provisioning-with-kubeadm-and-cluster-api,
managed-kubernetes-eks-aks-gke,
and
lightweight-kubernetes-k3s.
kubectl access to the target cluster (Sonobuoy creates
a dedicated namespace, RBAC, and many test pods/resources across the
cluster — it needs broad permissions, not a scoped service account).sonobuoy CLI, version-matched to the target Kubernetes version's
supported range (check Sonobuoy's own compatibility matrix — running
a conformance image built for a much newer/older Kubernetes minor
version against your cluster produces false failures unrelated to the
cluster itself).Pending-pod failures that reflect capacity, not conformance.certified-conformance mode: it can take 1–2+ hours, creates and
tears down many namespaces/resources, and is not intended to run
silently alongside live production traffic on a shared cluster.Run the quick smoke mode first — a small, fast subset (a handful of minutes) that catches gross cluster misconfiguration before committing to the full run:
sonobuoy run --mode quick --wait
sonobuoy status
Retrieve and inspect quick-mode results before proceeding:
results=$(sonobuoy retrieve)
sonobuoy results "$results"
A quick-mode failure means something fundamental is broken (API server reachability, basic pod scheduling, DNS) — fix that before spending an hour on the full suite.
Clean up between runs — Sonobuoy's namespace/resources persist until explicitly removed, and a stale run can interfere with the next:
sonobuoy delete --all --wait
Run the full CNCF conformance suite once quick mode passes:
sonobuoy run --mode certified-conformance --wait
sonobuoy status
--wait blocks until the run completes rather than requiring manual
polling; for CI use, poll sonobuoy status --json on an interval
instead of a long foreground wait.
Retrieve and evaluate full results:
results=$(sonobuoy retrieve)
sonobuoy results "$results" --mode=report
A conformant cluster shows zero failed tests in the conformance subset; investigate any failure by extracting that test's detail from the results tarball rather than treating a partial pass as good enough.
Clean up conformance resources:
sonobuoy delete --all --wait
Layer targeted smoke tests conformance doesn't fully cover. Service DNS resolution and cross-node pod connectivity, both dependent on the cluster's specific CNI and CoreDNS configuration:
kubectl create namespace smoke-test
kubectl run dns-check -n smoke-test --image=busybox:1.36 --restart=Never --rm -it -- \
nslookup kubernetes.default.svc.cluster.local
See kubernetes-service-connectivity-troubleshooting for the full diagnostic sequence if this fails, and cni-networking-calico-flannel for cross-node connectivity checks specific to the installed CNI.
Smoke test storage provisioning if the cluster is expected to support persistent workloads:
apiVersion: v1
kind: PersistentVolumeClaim
metadata: { name: smoke-pvc, namespace: smoke-test }
spec:
accessModes: ["ReadWriteOnce"]
resources: { requests: { storage: 1Gi } }
kubectl apply -f smoke-pvc.yaml
kubectl get pvc smoke-pvc -n smoke-test -w # expect Bound, not stuck Pending
Smoke test the ingress path end-to-end if an Ingress controller
is part of the platform baseline (see
ingress-nginx-configuration):
deploy a trivial echo service, expose it via Ingress, and curl it
from outside the cluster rather than only confirming the Ingress
object was accepted by the API server.
Tear down all smoke-test resources and record a pass/fail verdict against a defined checklist (conformance clean + DNS + cross-node connectivity + storage + ingress, as applicable to the cluster's intended use) before marking the cluster available — treat the checklist itself as the gate, not an informal "looks fine":
kubectl delete namespace smoke-test
--mode quick before --mode certified-conformance — it
costs minutes, not hours, and catches the same category of gross
misconfiguration far cheaper.Symptom: sonobuoy run appears to hang indefinitely at "running."
Fix: Check the Sonobuoy namespace's pod status directly
(kubectl get pods -n sonobuoy) rather than only watching
sonobuoy status — a common cause is insufficient cluster capacity
(test pods stuck Pending) or no outbound access to pull the
conformance test images, neither of which is a conformance failure of
the cluster itself.
Symptom: Conformance fails specific storage-related tests on a
cluster that intentionally has no default StorageClass/CSI driver
installed yet.
Fix: This reflects the cluster's current state, not a defect —
decide and document whether storage is in scope for this cluster's
intended workloads before treating a storage-test failure as
blocking; install and configure the intended CSI driver first if it
is in scope, then re-run.
Symptom: Test pods for the full certified-conformance run stay
Pending across most namespaces.
Fix: The cluster doesn't have enough spare scheduling capacity for
the suite's real resource requests — this is a capacity problem, not
a cluster-behavior conformance problem. Add capacity or run
conformance before onboarding production workloads onto the cluster,
not after it's already packed.
Symptom: A cluster gets declared "production ready" and handed off to teams the same day it's provisioned, with no conformance or smoke test run at all — and a CNI-level NetworkPolicy or DNS bug surfaces days later once real traffic patterns exercise it. Fix: Treat this validation as a required gate before handoff, not an optional nice-to-have — the whole point is catching exactly this class of issue before it becomes a production incident instead of a pre-launch checklist item.
Symptom: Conformance passes cleanly, but a specific application still fails to reach another Service by DNS name once deployed. Fix: Conformance validates the Kubernetes API/behavior contract in general, not your specific CNI's cross-node data path or a NetworkPolicy interaction with DNS egress — run the targeted smoke tests (step 7) in addition, and if DNS specifically fails, see kubernetes-service-connectivity-troubleshooting.
Scenario: A 3-node HA kubeadm cluster (see kubernetes-cluster-provisioning-with-kubeadm-and-cluster-api) was just bootstrapped with Calico. Validate it before handing it to application teams.
sonobuoy run --mode quick --wait
results=$(sonobuoy retrieve)
sonobuoy results "$results"
# Plugin: e2e
# Status: passed
# Total: 1, Passed: 1, Failed: 0, Skipped: 0
sonobuoy delete --all --wait
sonobuoy run --mode certified-conformance --wait
results=$(sonobuoy retrieve)
sonobuoy results "$results" --mode=report
# Total: 350+, Passed: 350+, Failed: 0, Skipped: <n>
sonobuoy delete --all --wait
kubectl create namespace smoke-test
kubectl run dns-check -n smoke-test --image=busybox:1.36 --restart=Never --rm -it -- \
nslookup kubernetes.default.svc.cluster.local
# Server: 10.96.0.10
# Address: 10.96.0.10:53
# Name: kubernetes.default.svc.cluster.local
# Address: 10.96.0.1
kubectl apply -f smoke-pvc.yaml
kubectl get pvc smoke-pvc -n smoke-test
# NAME STATUS VOLUME CAPACITY ACCESS MODES
# smoke-pvc Bound pvc-... 1Gi RWO
kubectl delete namespace smoke-test
With conformance clean, DNS resolving correctly, and PVC provisioning succeeding, the cluster is recorded as validated (conformance report + smoke-test log attached to the provisioning ticket) and marked available for application teams to deploy onto.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin kubernetes-platform-skills35 skills in this plugin
/cert-manager-tls-automationGuides installing and configuring cert-manager for automated TLS certificate issuance and renewal — Issuers vs. ClusterIssuers, ACME/ Let's Encrypt HTTP-01 and DNS-01 challenges, private-CA issuance, and integration with Ingress-nginx and Istio gateways. Use when a user asks to "automate TLS certificates on Kubernetes," "set up cert-manager with Let's Encrypt," "fix a stuck Certificate that won't become Ready," "use DNS-01 for a wildcard cert," "rotate mTLS certs automatically," or "issue certs from an internal CA."
/cni-networking-calico-flannelGuides choosing and installing a Kubernetes CNI plugin — Calico vs. Flannel — including NetworkPolicy enforcement capability differences, BGP vs. VXLAN/overlay data paths, and IP address management (IPAM) tradeoffs. Use when a user asks to "choose a CNI plugin for Kubernetes," "enable NetworkPolicy enforcement," "set up Calico with BGP peering," "install Flannel," "debug pod-to-pod connectivity across nodes," or "migrate from Flannel to Calico."
/complete-kubernetes-deployment-on-aks-from-scratchSequences a complete, end-to-end AKS deployment from a bare Azure subscription to a production-ready cluster serving a first workload — Azure landing zone prerequisites, AKS cluster and node pool provisioning, Azure CNI (with the Calico/Cilium alternative noted), ingress (Application Gateway Ingress Controller vs. ingress-nginx), cert-manager with Azure DNS, conformance validation, a Helm-deployed workload, and a node/cluster health baseline. This is an integration/orchestration skill that sequences several existing tool-specific skills in the correct order and flags the handoff points between them — it does not restate their internals. Use when a user asks to "deploy a Kubernetes cluster on AKS from scratch," "set up a new AKS environment end to end," "build a production AKS cluster from a fresh Azure subscription," or "give me the full sequence to go from nothing to a working AKS cluster."
Other plugins' skills for the same job