sxsphinxstack

Skills / Starter / Compare two container manifests

Starter Code skill

Compare two container manifests

Compare two container workload manifests across image identity, command, resources, security, network, storage, configuration, rollout, and metadata.

When to use

  • Use for exact rendered manifests, not unexpanded templates alone.
  • Redact secrets and avoid applying generated changes during review.

Procedure

  1. Normalize API defaults, ordering, generated metadata, and templating evidence.
  2. Compare image digests, entrypoint, arguments, ports, probes, lifecycle, and replicas.
  3. Compare identities, privileges, capabilities, filesystem, policies, and service accounts.
  4. Compare resources, affinity, disruption, rollout, scaling, and scheduling.
  5. Compare config references, secrets identities, volumes, network, DNS, and dependencies.
  6. Classify intentional, risky, breaking, generated, and unresolved differences.

Failure plan

  • Stop release when a secret, privilege, image, or rollout difference lacks ownership.

Worked example

A staging and production manifest share tags but resolve different digests and security contexts.