4. Installation on a Generic Kubernetes Cluster

4.1 Installation Workflow

The generic installation flow is:

  1. Prepare the cluster and Traefik CRDs.

  2. Create the IX25 namespace.

  3. Create TLS and image pull Secrets.

  4. Prepare a customer values file.

  5. Render and review manifests.

  6. Install the chart.

  7. Verify pods, routes, and Helm release status.

The examples assume release name ix25 and namespace ix25.

4.2 Create the Target Namespace

Kopieren
kubectl create namespace ix25 || true

If you use a different namespace, update all commands and values accordingly.

4.3 Install or Verify Traefik

IX25 requires Traefik IngressRoute and Middleware CRDs when chart-managed ingress is enabled.

Kopieren
kubectl get crd ingressroutes.traefik.io middlewares.traefik.io

Install Traefik through your standard platform process if these CRDs are missing.

Example installation with the Traefik Helm chart:

Kopieren
helm repo add traefik https://traefik.github.io/charts
helm repo update

kubectl create namespace traefik || true

helm upgrade --install traefik traefik/traefik \
  --namespace traefik \
  --create-namespace

After installation, verify that the controller and CRDs are available:

Kopieren
kubectl -n traefik get pods
kubectl get crd ingressroutes.traefik.io middlewares.traefik.io

If your platform already provides Traefik, do not install a second ingress controller. Verify the existing installation instead and confirm which load balancer, node port, or ingress entrypoint receives external traffic.

4.4 Prepare TLS Secrets

Create the TLS Secret in the target namespace:

Kopieren
kubectl -n ix25 create secret tls ix25-tls \
  --cert=./cert.pem \
  --key=./key.pem

The certificate must cover the configured global.baseDomain and any optional subdomains you expose.

4.5 Configure Quay.io Pull Authentication

Kopieren
export QUAY_USERNAME='robot$yourrobot'
export QUAY_PASSWORD='YOUR_TOKEN_OR_PASSWORD'

kubectl -n ix25 create secret docker-registry quay-pull-secret \
  --docker-server=quay.io \
  --docker-username="$QUAY_USERNAME" \
  --docker-password="$QUAY_PASSWORD"

Alternatively, create the Secret from an existing Docker config:

Kopieren
kubectl -n ix25 create secret generic quay-pull-secret \
  --from-file=.dockerconfigjson=$HOME/.docker/config.json \
  --type=kubernetes.io/dockerconfigjson

4.6 Prepare Customer Values

Create a customer override file, for example values.customer.yml.

The following example uses the bundled chart dependencies, enables pgAdmin, Grafana, and RustFS ingress, enables bundled LGTM observability, and disables the assistant service. Replace all <...> placeholders before installing.

Kopieren
global:
  baseDomain: "<ix25.example.com>"
  fullnameOverride: ix25
  imagePullPolicy: Always
  imagePullSecrets:
    - quay-pull-secret

postgres:
  auth:
    username: "postgres"
    password: "<postgres-password>"
    database: "intrexx"

keycloak:
  admin:
    username: "admin"
    password: "<keycloak-admin-password>"
  adminClient:
    clientSecret:
      value: "<keycloak-admin-client-secret>"
  realmInit:
    managedRealmAdminPassword:
      value: "<keycloak-managed-realm-admin-password>"
  serviceClient:
    clientSecret:
      value: "<keycloak-service-client-secret>"

nats:
  auth:
    username: "nats"
    password: "<nats-password>"

ingress:
  pgadmin:
    enabled: true
  grafana:
    enabled: true
  rustfs:
    enabled: true
  tls:
    secretName: ix25-tls

components:
  assistant:
    enabled: true
    apiKey:
      value: "<assistant-api-key>"

observability:
  mode: lgtm
  logs:
    hostPaths:
      runtimeContainers: /var/lib/docker/containers
  lgtm:
    grafanaAdmin:
      username: "admin"
      password: "<grafana-admin-password>"

pgadmin:
  enabled: true
  admin:
    email: "pgadmin@ix25.local"
    password: "<pgadmin-admin-password>"

s3:
  rustfs:
    accessKey: "<rustfs-access-key>"
    secretKey: "<rustfs-secret-key>"

For production-style environments, prefer replacing inline secret values with existingSecret references. If you keep inline values for controlled evaluation, do not commit values.customer.yml to Git.

4.7 Render and Review Manifests

Before installing, validate and render the chart:

Kopieren
helm lint ./ix25
helm template ix25 ./ix25 \
  --namespace ix25 \
  -f ./values.customer.yml > /tmp/ix25.yaml

Review /tmp/ix25.yaml for expected Secrets, Services, StatefulSets, Deployments, Jobs, and Traefik routes. The Studio CLI initializer should render as a Job only; it must not have a Service or public route.

4.8 Install the IX25 Helm Chart

Kopieren
helm upgrade --install ix25 ./ix25 \
  --namespace ix25 --create-namespace \
  -f ./values.customer.yml

Alternatively, install the chart from the public OCI registry:

Kopieren
helm upgrade --install ix25 \
  oci://registry-1.docker.io/intrexx/ix25-helm-deployment \
  --version 1.12.7 \
  --namespace ix25 --create-namespace \
  -f ./values.customer.yml \
  --set global.baseDomain=<ix25.example.com> \
  --set ingress.tls.secretName=ix25-tls \
  --set global.imagePullSecrets[0]=quay-pull-secret

When values are already defined in values.customer.yml, the matching --set flags are optional. Keep them only when you intentionally want command-line values to override the file.

4.9 Verify the Deployment

Kopieren
kubectl -n ix25 get pods
kubectl -n ix25 get jobs
kubectl -n ix25 get ingressroutes.traefik.io
kubectl -n ix25 get middlewares.traefik.io
helm status ix25 -n ix25

Then verify the main URL:

Kopieren
https://<baseDomain>/

When components.studioBackend.cliInit.enabled=true, verify that the Studio CLI initialization Job completes after Studio becomes healthy:

Kopieren
kubectl -n ix25 get jobs -l app.kubernetes.io/component=studio-cli-init
kubectl -n ix25 logs job/<studio-cli-init-job-name>

The completed Job is removed after its configured TTL. It connects to Studio over the internal gRPC Service and authenticates with keycloak.serviceClient.*.

4.10 Vault Bootstrap

When bundled Vault is enabled, an idempotent bootstrap Job initializes and configures Vault. It stores generated recovery material in:

Kopieren
<release>-vault-credentials

For the default release name, this is ix25-vault-credentials. Treat this Secret as highly sensitive and include it in backup and restore procedures.

Each Helm release revision gets a new idempotent bootstrap Job. Vault uses the projected service account token mounted in the Vault pod for Kubernetes TokenReview calls; no long-lived reviewer-token Secret is created.

Set vault.bootstrap.enabled=false only if Vault bootstrap is handled outside the chart.

4.11 Cleanup and Uninstall

Uninstall the release:

Kopieren
helm uninstall ix25 -n ix25

Delete the namespace when the environment is no longer needed:

Kopieren
kubectl delete namespace ix25

If you keep the namespace, remove leftover PVCs and installation Secrets explicitly:

Kopieren
kubectl delete pvc --all -n ix25
kubectl delete secret ix25-tls quay-pull-secret -n ix25

If your storage class uses a Retain reclaim policy, check for leftover persistent volumes:

Kopieren
kubectl get pv -o wide