redhat-cryostat

by joaquinito2051

Helm chartv2.2.0App 4.2.0-redhatApache-2.0

Securely manage JFR recordings for your containerized Java workloads

About this chart

Cryostat Helm Chart

A Helm chart for deploying Cryostat on Kubernetes and OpenShift.

Requirements

Kubernetes: >= 1.25.0-0

Installation

From Helm repository

The chart is available at the following repositories:

  • https://cryostat.io/helm-charts
  • https://charts.openshift.io

To install the chart, add the repository and install, for example:

helm repo add cryostat-charts https://cryostat.io/helm-charts
helm repo update
helm install cryostat cryostat-charts/cryostat

From OCI container registry

The chart is also available as an OCI image on GitHub Container Registry (ghcr.io).

To install the chart, run:

helm install cryostat oci://ghcr.io/cryostatio/cryostat-helm --version $VERSION

From source code

To install the chart from source code, run:

git clone https://github.com/cryostatio/cryostat-helm
cd cryostat-helm
helm install cryostat ./charts/cryostat

Configuration

See the sections below for Helm chart values which can be used for configuring various aspects of the Cryostat installation.

If there are further customizations required to suit your deployment environment, choose the settings values that get you closest to what you need, then manually edit the resulting Kubernetes objects to suit your requirements. You may also consider using helm install --dry-run to render the Kubernetes YAML manifests without installing them, so that you can apply your own customization patches as needed.

TLS

When installed on OpenShift with authentication.openshift.enabled=true, the cluster's "service serving certificates" feature is used to enable managed TLS configuration on the exposed HTTP(S) ports.

When installed with authentication.openshift.enabled=false but oauth2Proxy.tls.selfSigned.enabled=true then a self-signed TLS certificate will be generated at installation time to serve similar purposes. These TLS certificates are not managed, will not automatically rotate, and will expire after 365 days. You will need to manually rotate the certificates, or reinstall the chart, or else apply your own customizations to the Kubernetes manifests to automate TLS certificate issuance and rotation.

Parameters

Cryostat Container

NameDescriptionValue
coreConfiguration for the core Cryostat application
core.image.repositoryRepository for the main Cryostat container imageregistry.redhat.io/cryostat/cryostat-rhel9
core.image.pullPolicyImage pull policy for the main Cryostat container imageIfNotPresent
core.image.tagTag for the main Cryostat container image4.2.0
core.podAnnotationsAnnotations to be applied to the Cryostat Pods{}
core.service.typeType of Service to create for the Cryostat applicationClusterIP
core.service.httpPortPort number to expose on the Service for Cryostat's HTTP server8181
core.service.annotationsAnnotations to be applied to the Service for Cryostat's HTTP server{}
core.debug.log.levelLog level for troubleshooting and debuggingINFO
core.auditConfiguration options for Cryostat audit logging
core.audit.modeControl Cryostat audit logging. Accepted values are auto, enabled, or disabled. The default auto enables audit logging for new insta

Deploy redhat-cryostat with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has redhat-cryostat 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 chartredhat-cryostat is pinned at v2.2.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