Engineering examples

DevOps in practice.

A closer look at CI/CD, Jenkins, Kubernetes and monitoring. Explore the workflow, read the code and see where the checks and approval points belong.

Illustrative examples, not client results. The visuals are concepts and the dashboard uses sample data. They do not claim that this website runs on Jenkins or Kubernetes. For the actual implementation, read how this website is hosted and published.

The visual overview

Delivery and operations,
made easier to follow.

Open an illustration for a closer look, then explore the selectable code, Kubernetes example and monitoring demo below.

Illustrative CI/CD workflow showing YAML and commit, build, test, package and deploy stages
01 / CI/CD + YAMLA code-to-release workflow illustration.Open illustration ↗
Illustrative Jenkins workflow with an approval gate and a Groovy Jenkinsfile excerpt
02 / Jenkins pipelineStages, approval and pipeline-as-code.Open illustration ↗
Monitoring concept with sample latency, error-rate, CPU, memory and service-health charts
03 / Monitoring & alertsSample signals and an investigation path.Open illustration ↗

Illustrative concepts, not production screenshots or performance claims.

01 / CONTINUOUS DELIVERY

From a code change
to a checked release.

A readable workflow next to the steps it controls. Useful for showing how a build moves through checks before deployment.

Delivery workflowIllustrative example
YML ci-example.yml
# Illustrative example, not Jolvari's production deployment workflow.
# Requires package-lock.json and an npm test script in your Node.js project.
# This workflow checks code only; deployment is intentionally not included.
name: Build and test
on: [push, pull_request]
permissions:
  contents: read
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - run: npm ci
      - run: npm test

A POSSIBLE RELEASE FLOW

  1. ↗
    CommitA reviewed code change
    ✓
  2. ⌘
    BuildPrepare the application
    ✓
  3. ✓
    TestCheck the expected behaviour
    ✓
  4. ◇
    PackageProduce a release artifact
    ✓
  5. ↑
    DeployRelease after the gates pass
    Gate

The code excerpt shows install and test checks only. Packaging and deployment depend on the application and hosting platform.

CI/CD example: a technical illustration paired with readable, selectable code—not a screenshot of a private repository.

02 / PIPELINE AS CODE

A Jenkins pipeline
with a clear approval point.

Show the sequence, the checks and the handoff. A Jenkinsfile uses Groovy syntax; it should not be presented as a YAML file.

J Jenkins workflow conceptIllustrative example
✓CheckoutSource ready
✓BuildArtifact ready
✓TestChecks passed
◉ApprovalHuman review
↑DeployWaiting
J Jenkinsfile excerpt
// Illustrative excerpt, not a complete deployment pipeline. Save as Jenkinsfile.
// Requires a Node.js project with a lockfile and an npm test script.
pipeline {
  agent any
  stages {
    stage('Install') {
      steps { sh 'npm ci' }
    }
    stage('Test') {
      steps { sh 'npm test' }
    }
  }
}
◎

PERMISSIONS ARE PART OF THE PIPELINE

Automatic checks.
Deliberate releases.

The diagram illustrates an approval gate before deployment. The short Jenkinsfile excerpt covers install and test only; it is not a complete deployment configuration.

No credentials in this preview

Jenkins example: a Jenkins workflow illustration—not a claim that this website runs on Jenkins.

03 / KUBERNETES

A Deployment, two Pods
and an internal Service.

A small example of how desired state, traffic routing and health checks fit together. It is a starting point to read and adapt, not a production-ready cluster configuration.

Controller relationships and Service traffic are different paths. This diagram illustrates both; node placement and external access are intentionally omitted.

What the checks mean

Readiness decides whether a Pod should receive Service traffic. Liveness can restart a failing container. Choose probe paths, timing and resource limits from how the application actually behaves; two replicas alone do not guarantee availability.

Before using this example

  • Replace registry.example.com/team/web:1.0.0 with a trusted, reviewed image, preferably pinned by digest. The placeholder is intentional.
  • Confirm the application supports user/group 10001, a read-only filesystem and the two HTTP health paths. Add writable volumes if the application needs them.
  • Measure CPU and memory needs. The example values are not a sizing recommendation.
  • Review permissions, network policies, secret handling, placement and recovery for your environment. This Service is internal; it does not create a public endpoint.
YML kubernetes-demo.yaml
# Illustrative starting point, not a production-ready baseline.
# The image below is an intentional placeholder. Replace it before use.
# The application must support UID/GID 10001, a read-only filesystem,
# and HTTP /readyz and /healthz endpoints on port 8080.
# Confirm resource sizing, access, network policies and recovery separately.
apiVersion: v1
kind: Namespace
metadata:
  name: demo-web
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: demo-web
  namespace: demo-web
spec:
  replicas: 2
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      app: demo-web
  template:
    metadata:
      labels:
        app: demo-web
    spec:
      automountServiceAccountToken: false
      securityContext:
        runAsNonRoot: true
        runAsUser: 10001
        runAsGroup: 10001
        seccompProfile:
          type: RuntimeDefault
      containers:
        - name: web
          image: registry.example.com/team/web:1.0.0
          imagePullPolicy: IfNotPresent
          ports:
            - name: http
              containerPort: 8080
          readinessProbe:
            httpGet:
              path: /readyz
              port: http
            initialDelaySeconds: 5
            periodSeconds: 5
          livenessProbe:
            httpGet:
              path: /healthz
              port: http
            initialDelaySeconds: 15
            periodSeconds: 10
          resources:
            requests:
              cpu: 100m
              memory: 128Mi
            limits:
              cpu: 500m
              memory: 256Mi
          securityContext:
            allowPrivilegeEscalation: false
            readOnlyRootFilesystem: true
            capabilities:
              drop: [ALL]
---
apiVersion: v1
kind: Service
metadata:
  name: demo-web
  namespace: demo-web
spec:
  type: ClusterIP
  selector:
    app: demo-web
  ports:
    - name: http
      port: 80
      targetPort: http

No cluster is connected to this page. Copy and download only provide text; neither action applies a manifest or deploys a workload.

04 / OBSERVABILITY

See the signal.
Know where to look next.

A monitoring concept that connects traffic, latency and errors to a service and an investigation—not just a wall of charts.

Monitoring & alertsSample data · not live
Application overviewenv: demo
Request latency · p95184 msIllustrative value
Error rate0.2 %Illustrative value
Request rate120 req/sIllustrative value

Request latency

p95
300 ms150 ms0 msIllustrative latency chartSample request latency with a short spike and recovery. These are invented demo values, not measurements.
09:0009:3010:00

Sample series · selected range: 1 hour

Error rate

Sample

CPU & memory

CPU   Memory
!
Investigate elevated latency

Example alert · check the API dependency and recent changes.

Monitoring example: an original monitoring concept with explicitly labelled demo values—not a Grafana screenshot or a performance claim.

Read the underlying documentation.

The examples are deliberately small. Check the relevant platform documentation and your application requirements before adapting them.

Work on your setup

Need help with a release process or platform?

Tell us what you run, how changes reach production and where the process is getting difficult. We can start with the part that needs attention.