Skip to main content
In this lesson we explore a full CI/CD pipeline: from unit tests and coverage reports to Docker containerization and Kubernetes deployments. We’ll also add integration checks and enforce a manual approval gate before releasing to production.

Pipeline Overview

Ensure your CI configuration archives test reports and coverage artifacts for visibility.

1. Completed CI Jobs

Here are the commands executed in separate CI stages:

2. Kubernetes Deployment (Development)

Deploy to the development cluster using Kubernetes manifests:
  1. Prepare manifests:
    • deploy/deployment.yaml
    • deploy/ingress.yaml
  2. Apply them with kubectl:
  3. Verify the ingress and perform a quick integration test:
Always verify that the ingress controller and TLS certificates are correctly configured in your dev environment.

3. Kubernetes Deployment (Production) with Manual Approval

Before pushing changes to production, insert a manual approval step in your CI/CD workflow. Upon approval, deploy using the same manifests against the production context:
Production deployments are irreversible. Double-check your manifests, image tags, and environment-specific configurations before approving.

References

Watch Video