insight
by Helm
A Helm chart for JFrog Insights
About this chart
JFrog Insight Helm Chart
Heads up: Our Helm Chart docs are moving to our main documentation site. For Insight installers, see Installing Insight.
Prerequisites Details
- Kubernetes 1.19+
Chart Details
This chart will do the following:
- Deploy PostgreSQL database NOTE: For production grade installations it is recommended to use an external PostgreSQL.
- Deploy Elasticsearch.
- Deploy Insight.
Requirements
- A running Kubernetes cluster
- Dynamic storage provisioning enabled
- Default StorageClass set to allow services using the default StorageClass for persistent storage
- A running Artifactory Enterprise
- Kubectl installed and setup to use the cluster
- Helm v3 installed
Install Chart
Add JFrog Helm repository
Before installing JFrog helm charts, you need to add the JFrog helm repository to your helm client.
helm repo add jfrog https://charts.jfrog.io
helm repo update
NOTE: Check [CHANGELOG.md] for version specific install notes.
Artifactory Connection Details
In order to connect Insight to your Artifactory installation, you have to use a Join Key, hence it is MANDATORY to provide a Join Key and Jfrog Url to your Insight installation. Here's how you do that:
Retrieve the connection details of your Artifactory installation, from the UI - https://www.jfrog.com/confluence/display/JFROG/General+Security+Settings#GeneralSecuritySettings-ViewingtheJoinKey.
Initiate Installation
Provide join key and jfrog url as a parameter to the Insight chart installation:
helm upgrade --install insight --set insightServer.joinKey=<YOUR_PREVIOUSLY_RETIREVED_JOIN_KEY> \
--set insightServer.jfrogUrl=<YOUR_PREVIOUSLY_RETIREVED_BASE_URL> jfrog/insight --namespace insight --create-namespace
Uninstalling Insight
IMPORTANT: Uninstalling Insight using the commands below will also delete your data volumes and you will lose all of your data. You must back up all this information before deletion.
To uninstall Insight use the following command.
helm uninstall insight --namespace insight && sleep 90 && kubectl delete pvc -l app=insight
Deploy insight with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has insight 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 chartinsight is pinned at v101.18.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