aidaptiv-mw-console

by joaquinito2051

Helm chartv0.1.5App 503-0001-rh5Apache-2.0

aiDAPTIV-MW-Console: a web UI for the models Red Hat OpenShift AI serves with KServe (LLMInferenceService). List, test, deploy and edit models and see their performance; users log in with their OpenShift account and act with their own permissions.

About this chart

aidaptiv-mw-console

aiDAPTIV-MW-Console is a web UI for the models that Red Hat OpenShift AI serves with KServe (LLMInferenceService, serving.kserve.io). In the console you can:

  • list the models and their state, and send a test chat completion,
  • deploy a model with a short form (model URI, GPUs, vLLM arguments) on upstream vLLM,
  • view and edit a model's YAML,
  • see a model's performance (latency, throughput, KV cache use) from OpenShift monitoring.

Users log in with their OpenShift account through oauth-proxy. The console makes every call with the user's own token, so cluster RBAC decides what each user can see and change. The console's ServiceAccount can only list namespace names.

With the default values, the chart deploys:

  • a Deployment with two containers: the console (cacheebo-console) and ose-oauth-proxy (Red Hat),
  • a Service, whose TLS certificate the OpenShift service CA issues,
  • a reencrypt Route,
  • a NetworkPolicy that admits the router and the chart's test only,
  • the oauth-proxy cookie Secret (generated once, kept on upgrade),
  • a ClusterRole that lists namespaces,
  • for helm test only: a pod that checks /healthz and that the API requires a login.

Cluster requirements

  • Red Hat OpenShift 4.12 to 4.22 (kubeVersion: Helm refuses newer clusters). Tested on 4.22.18 with OpenShift AI 3.5.2.
  • Red Hat OpenShift AI with KServe, for the models. See the phison-vllm-stack chart for the full list.
  • For the performance report: user workload monitoring (enableUserWorkload: true in openshift-monitoring/cluster-monitoring-config).
  • A pull secret for registry.redhat.io (the OpenShift global pull secret has one), for oauth-proxy.

Install

helm repo add openshift-helm-charts https://charts.openshift.io/
helm install console openshift-helm-charts/aidaptiv-mw-console -n aidaptiv-mw-console --create-namespace
helm test console -n aidaptiv-mw-console
echo https://$(oc -n aidaptiv-mw-console get route console-aidaptiv-mw-console -o jsonpath='{.spec.host}')

Values

KeyDefaultMeaning
image.repository / tag / digestquay.io/aidaptiv-mw/console / appVersion / ""console image (images/aidaptiv-mw-console; the chart runs /usr/local/bin/cacheebo-console)
oauthProxy.imageregistry.redhat.io/openshift4/ose-oauth-proxy-rhel9:v4.16oauth-proxy image
oauthProxy.cookieSecret.existingSecret""Secret with key cookie-secret; empty: generated
servingImagequay.io/aidaptiv-mw/vllm:0.32.0-3default image of models the deploy form creates
namespaces[]namespaces the console serves; empty: all but excludeNamespaces
excludeNamespaceskube-system, kube-public, kube-node-leasenever served
prometheus.urlhttps://thanos-querier.openshift-monitoring.svc:9092Thanos querier tenancy port; empty turns the report off
route.enabled / route.hosttrue / ""Route; empty host lets OpenShift pick one
networkPolicy.enabledtrueadmit only the router and the test
resources, nodeSelector, tolerations, affinity, priorityClassName, podLabels, podAnnotations, imagePullSecretsconsole pod settings
test.imageubi9/ubi-minimal by digesthelm test image

Deploy aidaptiv-mw-console with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aidaptiv-mw-console 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 chartaidaptiv-mw-console is pinned at v0.1.5 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