Conformance and implementation research
Separate guarantees from observations
Expert research starts with a precise claim. A versioned API contract describes intended externally visible behavior. An implementation explains how a selected revision achieves it. An observation is a result measured under a particular configuration. Suppose the bookstore team reads that a dry-run request does not persist an object, then observes a returned ConfigMap. The returned object is not proof of persistence. A later authorized read of the target would provide different evidence. Do not generalize an observation to every distribution or version.
Claim: server dry-run does not persist the objectContract: versioned API documentationImplementation: pinned source reviewObservation: response and subsequent read from an approved testRead release and feature evidence
A Kubernetes Enhancement Proposal (KEP) records design and progress; it is not itself proof that an API shipped or a gate is enabled. Record the KEP revision, selected Kubernetes release, feature stage, defaults, component flags and provider restrictions. Follow API deprecation rules and the migration guide before assuming an older endpoint remains served. Version-skew limits differ by component; compare the exact upgrade sequence with the applicable policy. A served API version and the version persisted in storage may differ. Changing the storage version does not automatically rewrite every previously stored object; inspect supported migration procedures.
KEP proposed -> implementation merged -> released -> enabled/configured -> testedEach arrow requires its own evidenceTrace a benign create request in pinned source
Use the upstream v1.35.0 tag as a historical source-reading example, not a recommendation to deploy that release. A fictional POST of a ConfigMap to /api/v1/namespaces/bookstore/configmaps enters the API server. Authentication and authorization precede admission for applicable requests. In the retrieved create.go, createHandler negotiates serializers, bounds and decodes the request, checks version and namespace, prepares admission attributes, updates managed-field information and invokes mutating admission when applicable. It delegates creation to r.Create with a validating-admission callback and options, then transforms a successful result into a created response. The generic registry store.go retrieval failed, so the exact internal validation/storage call sequence is not asserted. This is a source reading, not a trace captured from a running server.
POST ConfigMap (fictional) -> authentication / authorization (documented) -> createHandler: decode and scope checks (v1.35.0 source) -> mutating admission when applicable -> delegated r.Create with validation callback and options -> success response transformation -> internal registry/storage path: not inspectedMap extension and interface boundaries
Controllers reconcile observed state toward desired state. The scheduling framework exposes extension stages such as Filter, Score and Bind; implementations and configured profiles determine behavior. CRI is the kubelet/runtime gRPC contract, CNI defines network plugin interactions, and CSI defines storage plugin interfaces. These specifications have independent releases and optional capabilities. A conformant Kubernetes API does not prove a particular CSI snapshot feature, CNI policy implementation, runtime performance or controller correctness. Verify the version and behavior of each dependency.
API server <-> controllers / schedulerkubelet <-> CRI runtimenetwork integration <-> CNI pluginstorage integration <-> CSI driverInterpret conformance narrowly
CNCF conformance uses a defined testing program for Kubernetes interoperability. A hypothetical report claiming 100 passing checks is not a certificate, especially if required checks were skipped, the version is unsupported or the evidence is missing. Even a valid certification has a defined product/version scope; it does not prove application SLOs, security posture, all add-ons, or disaster recovery. Compare the expected test inventory, recorded results, version and official submission requirements. Preserve failures and skips rather than reporting only passing counts.
Synthetic suite: 8 required checks; 7 pass, 1 skippedDecision: HOLD (incomplete evidence)Not a CNCF suite or certification decisionPractice and next step
Read source-trace.md and conformance-cases.json. Label each claim as contract, implementation, observation or unsupported extrapolation. Predict each synthetic coverage result, then run validate_offline.py. Explain what would be necessary to trace the storage implementation and run a real conformance suite in an authorized disposable cluster. Next: controlled experiments.
Expected artifacts: source notes, exact revision, scope, missing evidence and next testFurther reading
- https://v1-35.docs.kubernetes.io/docs/reference/using-api/api-concepts/ — Versioned API concepts: resourceVersion and dry-run
- https://kubernetes.io/docs/reference/deprecation-policy/ — API and feature deprecation policy
- https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/ — Feature maturity and version-dependent switches
- https://github.com/kubernetes/enhancements/blob/master/keps/sig-architecture/0000-kep-process/README.md — KEP process and graduation criteria
- https://www.cncf.io/training/certification/software-conformance/ — Conformance program and scope
- https://github.com/cncf/k8s-conformance/blob/master/instructions.md?plain=1 — Submission requirements and version eligibility
- https://raw.githubusercontent.com/kubernetes/kubernetes/v1.35.0/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go — Pinned v1.35.0 handler: decode, admission, delegated create and response
- https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/ — Authentication and authorization precede admission
- https://kubernetes.io/docs/concepts/containers/cri/ — Kubelet to runtime gRPC boundary
- https://github.com/containernetworking/cni/blob/main/SPEC.md — Network plugin specification
- https://github.com/container-storage-interface/spec — Storage interface specification
- https://kubernetes.io/docs/tasks/manage-kubernetes-objects/storage-version-migration/ — Persisted storage version migration
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Conformance and implementation research — knowledge check
Distinguish API guarantees from implementation details
What does a KEP alone establish?
What can a successful server dry-run response establish about persistence?
Which source step was actually reviewed in the pinned walkthrough?
What does CRI connect?
What does a passing conformance result not establish?