redhat-cryostat
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
| Name | Description | Value |
|---|---|---|
core | Configuration for the core Cryostat application | |
core.image.repository | Repository for the main Cryostat container image | registry.redhat.io/cryostat/cryostat-rhel9 |
core.image.pullPolicy | Image pull policy for the main Cryostat container image | IfNotPresent |
core.image.tag | Tag for the main Cryostat container image | 4.2.0 |
core.podAnnotations | Annotations to be applied to the Cryostat Pods | {} |
core.service.type | Type of Service to create for the Cryostat application | ClusterIP |
core.service.httpPort | Port number to expose on the Service for Cryostat's HTTP server | 8181 |
core.service.annotations | Annotations to be applied to the Service for Cryostat's HTTP server | {} |
core.debug.log.level | Log level for troubleshooting and debugging | INFO |
core.audit | Configuration options for Cryostat audit logging | |
core.audit.mode | Control 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartredhat-cryostat is pinned at v2.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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