next-gen-ci-demo

by Helm

Helm chartv103.419.0App 3.419.0

A Helm chart for Next-Gen CI Demo multi-language application

About this chart

Next-Gen CI Demo Helm Chart

A Helm chart for deploying the Next-Gen CI Demo multi-language application (Go, Java, Node.js) packaged in a single Docker container.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+

Installing the Chart

helm install next-gen-ci-demo ./demo-helm \
  --set image.tag=1.0.0 \
  --set env[0].value=1.0.0

Uninstalling the Chart

helm uninstall next-gen-ci-demo

Configuration

The following table lists the configurable parameters and their default values.

Image Configuration

ParameterDescriptionDefault
image.repositoryImage repositoryentplus.jfrog.io/ngcidemo-docker-local/jfrog/next-gen-ci-demo
image.pullPolicyImage pull policyIfNotPresent
image.tagImage tag"" (uses Chart.AppVersion)

Deployment Configuration

ParameterDescriptionDefault
replicaCountNumber of replicas1
resources.limits.cpuCPU limit500m
resources.limits.memoryMemory limit512Mi
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request128Mi

Service Configuration

ParameterDescriptionDefault
service.typeService typeClusterIP
service.portService port8080
service.targetPortContainer port8080

Environment Variables

ParameterDescriptionDefault
env[0].nameVERSION1.0.0
env[1].nameBUILD_TYPErelease
env[2].nameBUILD_NUMBER0
env[3].namePORT8080

Example Values Override

# custom-values.yaml
replicaCount: 3

image:
  tag: "1.2.3"

resources:
  limits:
    cpu: 1000m
    memory: 1Gi
  requests:
    cpu: 200m
    memory: 256Mi

env:
  - name: VERSION
    value: "1.2.3"
  - name: BUILD_TYPE
    value: "release"
  - name: BUILD_NUMBER
    value: "123"

Install with custom values:

helm install next-gen-ci-demo ./demo-helm -f custom-values.yaml

Application Components

The deployed container includes:

  • Go Application - Runs on port 8080
  • Java Application - Maven-built JAR
  • Node.js Application - TypeScript/Express app

Access individual components:

# Shell into the pod
kubectl exec -it <pod-name> -- /bin/bash

# Run individual components
/app/entrypoint.sh go
/app/entrypoint.sh java
/app/entrypoint.sh node

Health Checks

The application exposes health endpoints (when Node.js component is running):

  • GET / - Application info
  • GET /health - Health status

Deploy next-gen-ci-demo with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has next-gen-ci-demo on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnext-gen-ci-demo is pinned at v103.419.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply