Installing the JFrog Platform using the jfrog-platform
Helm Chart will install the products in the following setup by default.
JFrog Artifactory
JFrog Xray/JFrog Insight/JFrog Distribution/JFrog Pipelines: Single Node
Add the https://charts.jfrog.io to your Helm client.
helm repo add jfrog https://charts.jfrog.io
Update the repository.
helm repo update
Install the chart with the release name
jfrog-platform.
helm upgrade --install jfrog-platform --namespace jfrog-platform jfrog/jfrog-platform
Optional: Customize the Helm Chart installation to install one or more of the JFrog products.
The JFrog Platform Helm Chart provides the flexibility of enabling one or more of the JFrog additional products during the installation, which means that you can choose to install all of the products (Distribution, Insight, Pipelines, and Xray), or only some of them.
For example:
To enable Xray and Insight with Artifactory, you can create a
custom-values.yaml
with the following content and then pass it during installation.xray: enabled: true insight: enabled: true distribution: enabled: false pipelines: enabled: false
Run the installation.
helm upgrade --install jfrog-platform --namespace jfrog-platform jfrog/jfrog-platform -f custom-values.yaml
To configure each JFrog product separately, you will need to do the following.
Copy the main
values.yaml
file (create acustom-values.yaml
).Edit that product's section in the
custom-values.yaml
.Make the changes and then run the upgrade command.
helm upgrade --install jfrog-platform --namespace jfrog-platform jfrog/jfrog-platform -f custom-values.yaml
If you wish to enable Artifactory and disable all the other products, you can create a custom-values.yaml with the following content and then pass it during installation.
xray: enabled: false insight: enabled: false distribution: enabled: false pipelines: enabled: false
For more specific product configuration information, see System YAML Configuration File.
Once the installation completes, you will be able to see the products that have been installed.
NOTES: Congratulations. You have just deployed JFrog Platform Chart with the following products: - artifactory - xray - insight - distribution - pipelines
Optionally, you can apply advanced configurations through the
values.yaml
file. Ensure that you provide the Artifactory values within theartifactory.artifactory
section of thevalues.yaml
and not theartifactory
section of thevalues.yaml
file.artifactory: . . . database: . . mc: . . artifactory: . .
For more information on these advanced configurations, see Helm Charts for Advanced Users.
Connect to Artifactory.
It may take a few minutes for Artifactory's public IP to become available. Follow the instructions that are output by the install command above to get the Artifactory IP to access it. Below you will find a sample instruction of what to look for to pick the URL to reach Artifactory (in the following example, jfrog-platform is the release name and jfrog-platform is the namespace).
Congratulations. You have just deployed JFrog Artifactory. 1. Get the Artifactory URL by running these commands: NOTE: It may take a few minutes for the LoadBalancer IP to be available. You can watch the status of the service by running 'kubectl get svc --namespace jfrog-platform -w jfrog-platform-artifactory-nginx' export SERVICE_IP=$(kubectl get svc --namespace jfrog-platform jfrog-platform-artifactory-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}') echo http://$SERVICE_IP/ 2. Open Artifactory in your browser Default credential for Artifactory: user: admin password: password
Install the JFrog Platform license using one of three methods: REST API, Artifactory UI, or a Kubernetes Secret. For more information, click the link below.
To access the logs, find the name of the pod using the following command.
kubectl --namespace <your namespace> get pods
To get the specific container logs, run the following command.
kubectl --namespace <your namespace> logs -f <name of the pod> -c <name of the container>
Customize the product configuration (optional) including database, Java Opts, and filestore.
Note
If you install Xray with the JFrog Platform charts, the RabbitMQ vhost is named "xray". If you install Xray with the standalone Xray helm Chart installation, "/" is set as the RabbitMQ vhost.