CASE 16 / KUBERNETES / CI/CD / PROMOTION

CI/CD Delivery to Kubernetes

Define a release pipeline for Java integration services around AEM, from Maven verification to Kubernetes promotion. The central decision is to promote the same tested image while recording configuration and deployment evidence separately.

SHARE
LinkedIn X Facebook Threads

Engineering path

RELEASE EVIDENCE

Proposed engineering sequence

  1. 01Git
  2. 02Build
  3. 03Test
  4. 04Quality gate
  5. 05Docker image
  6. 06Registry
  7. 07Deployment
  8. 08Validate
  9. 09Promote

01 / Context

Delivery is part of the architecture

PLATFORM
Kubernetes / Maven
SCOPE
Kubernetes CI/CD Delivery for Java Services
TYPE
Representative engineering scenario

A service can pass unit tests and still fail when its runtime configuration, network access or dependency contract changes. This scenario connects application verification with deployment checks without merging the service lifecycle into AEM package delivery.

02 / PROBLEM

A successful build is not a validated release

Rebuilding for each environment makes it difficult to prove that the promoted artifact is the tested artifact. Mutable image tags and undocumented manual configuration changes make rollback equally ambiguous.

03 / CONSTRAINTS

Boundaries the design must preserve

  1. Promote an identifiable image with reviewed configuration.
  2. Separate deployment completion from application acceptance.

04 / ARCHITECTURE

Promote a digest and a deployment record

Use Git to identify source and reviewed manifests, Maven to produce the Java artifact, and a registry to retain the resulting image. A release record binds source commit, image digest, test evidence and environment configuration revision.

SYSTEM / FLOW

RELEASE EVIDENCE

AEM packages follow their own delivery process. This pipeline releases complementary Java services.

KUBERNETES CI/CD DELIVERY FOR JAVA SERVICESGitBuildTestQuality gateDocker imageRegistryDeploymentValidatePromote

Kubernetes CI/CD Delivery for Java Services

  1. Git
  2. Build
  3. Test
  4. Quality gate
  5. Docker image
  6. Registry
  7. Deployment
  8. Validate
  9. Promote

05 / ENGINEERING APPROACH

Separate application gates from release gates

Run unit and integration tests before publishing the image, with code analysis and dependency checks as explicit pipeline gates. Pin base-image inputs, verify runtime startup and make the deploy identity distinct from the build identity.

Implementation checkpoints

Proposed engineering checks for this scenario.

  1. 01Keep registry publication permissions separate from deployment permissions.
  2. 02Use digest-pinned workload manifests and retain prior release references.
  3. 03Serialize or reconcile deployment operations so two pipelines cannot promote conflicting versions.

06 / DEPLOYMENT FLOW

Validate the candidate before promotion

Apply the reviewed deployment configuration, observe rollout progress, then run smoke tests through the real service route. Promotion requires evidence about API behavior and dependency connectivity as well as available Pods.

CONTROLLED PROMOTION

Each environment consumes the same image digest with its own reviewed configuration.

  1. 01Commit
  2. 02CI
  3. 03Registry
  4. 04Kubernetes
  5. 05Validate
  6. 06Promote

07 / OPERATIONAL CONSIDERATIONS

Make rollback an explicit release operation

Retain the previous digest and configuration revision, and define who can stop promotion. Deployment revision rollback does not restore externally changed data or separately mutated configuration, so those changes need their own recovery plan.

08 / TRADEOFFS

Repeatability versus pipeline complexity

More gates can increase confidence but also create slow, brittle feedback if checks duplicate one another. Put fast deterministic tests early and reserve environment-dependent checks for the narrow release boundary they actually verify.

Risks to resolve
RiskImpactMitigation to validate
Mutable image identityRollback cannot identify the tested artifactRetain immutable image and release references
Ready Pods, broken routeUsers still cannot reach the APIValidate through the intended ingress and authentication path

Continue with the complementary design in AEM CI/CD Engineering: From Maven Build to Release Validation.

09 / WHAT I WOULD VALIDATE IN PRODUCTION

Test the pipeline's failure paths

The proposed technical outcome is a traceable, repeatable release process. Validation must demonstrate that rejected releases stay rejected and that a rollback restores compatible behavior.

Acceptance scope and limits

TO VALIDATE

Proposed checks, not captured results.

  • Compare promoted digests across environments and reject mutable-only references.
  • Fail a smoke test and verify promotion stops while evidence remains available.
  • Roll back the image and configuration together; check compatibility with the current data schema.
  • Simulate a registry outage and overlapping release requests without losing the known-good revision.

DOES NOT CLAIM

An anonymized architecture scenario for AEM-adjacent services. AEM remains on its separately supported deployment platform; this design does not place standard Adobe AEM deployments on Kubernetes. No production delivery or measured outcome is claimed.

  • A completed customer deployment or measured production outcome
  • A passing test run without retained execution evidence

10 / LESSONS

A release is more than an image

The immutable artifact solves only part of reproducibility. A useful delivery record also explains what configuration ran, which checks passed and how operators can return to a known compatible state.

Technical references

These sources document product behavior. The scenario and proposed validation are engineering interpretations, not vendor claims or execution evidence.

11 / CONTINUE EXPLORING

Related engineering work

12 / SHARE

SHARE THIS CASE STUDY

SHARE
LinkedIn X Facebook Threads

Working through a similar platform problem?

Start a conversation