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.
Engineering path
RELEASE EVIDENCE
Proposed engineering sequence
- 01Git
- 02Build
- 03Test
- 04Quality gate
- 05Docker image
- 06Registry
- 07Deployment
- 08Validate
- 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
- Promote an identifiable image with reviewed configuration.
- 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.
RELEASE EVIDENCE
AEM packages follow their own delivery process. This pipeline releases complementary Java services.
Kubernetes CI/CD Delivery for Java Services
- Git
- Build
- Test
- Quality gate
- Docker image
- Registry
- Deployment
- Validate
- 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.
- 01Keep registry publication permissions separate from deployment permissions.
- 02Use digest-pinned workload manifests and retain prior release references.
- 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.
- 01Commit
- 02CI
- 03Registry
- 04Kubernetes
- 05Validate
- 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.
| Risk | Impact | Mitigation to validate |
|---|---|---|
| Mutable image identity | Rollback cannot identify the tested artifact | Retain immutable image and release references |
| Ready Pods, broken route | Users still cannot reach the API | Validate 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.