Git Product home page Git Product logo

hello-world's Introduction

JFrog Artifactory Helm Chart

Our Helm Chart docs have moved to our main documentation site. For JFrog Artifactory installers, see Installing Artifactory.

Prerequisites Details

Chart Details

This chart will do the following:

  • Deploy Artifactory-Pro/Artifactory-Edge (or OSS/CE if custom image is set)
  • Deploy a PostgreSQL database using the stable/postgresql chart (this can be changed) Note: For production grade installations it is recommended to use an external PostgreSQL.
  • Deploy an optional Nginx server
  • Optionally expose Artifactory with Ingress Ingress documentation

Installation Steps

  1. Download the relevant package from the Download JFrog Platform page.
  2. Install Artifactory.
  3. Customize the product configuration (optional) including database, Java Opts, and filestore.
  4. Start the service using the start scripts or OS service management.
  5. Check the Artifactory Log to check the status of the service.
  6. Implement post-installation steps including changing the default password.

Installing Artifactory

Note: The chart directory, includes three values files, one for each installation type–small/medium/large. These values files are recommendations for setting resources requests and limits for your installation. You can find the files in the corresponding chart directory.

  1. Add the ChartCenter Helm repository to your Helm client.
helm repo add center https://repo.chartcenter.io
  1. Update the repository.
helm repo update
  1. Create a unique Master Key (Artifactory requires a unique master key).

Note: For production grade installations it is strongly recommended to use a custom master key. If you initially use the default master key it will be very hard to change the master key at a later stage. Therefore, generate a unique key and pass it to the template at install/upgrade time.

# Create a key
export MASTER_KEY=$(openssl rand -hex 32)
echo ${MASTER_KEY}
  1. Install the chart with the release name artifactory.
helm upgrade --install artifactory --namespace artifactory center/jfrog/artifactory
  1. Customize the product configuration including database, Java Opts, and filestore. Unlike other installations, Helm Chart configurations are made to the values.yaml and are then applied to the system.yaml. Follow these steps to apply the configuration changes. a. Make the changes to the values.yaml file. b. Run the command.
helm upgrade --install artifactory --namespace artifactory -f values.yaml
  1. 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 example below, art77 is the release name and art is the namespace).

Congratulations. You have just deployed JFrog Artifactory. a. 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 art -w art77-artifactory-nginx' export SERVICE_IP=$(kubectl get svc --namespace art art77-artifactory-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}') echo http://$SERVICE_IP/ b. Open Artifactory in your browser Default credential for Artifactory: user: admin password: password

  1. To access the logs, find the name of the pod using this command.
kubectl --namespace <your namespace> get pods
  1. To get the container logs, run the following command.
kubectl --namespace <your namespace> logs -f <name of the pod>

Post-Install Steps

Once the installation is complete,

  1. Make sure you have applied your licenses.
  2. Change the default admin password.
  3. Configure the system, including the database/storage and filestore.

Helm Charts Installers for Advanced Users

Helm Chart for Artifactory provides a wide range of advanced options, which are documented here.

Useful Links

hello-world's People

Contributors

rahulsadanandan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.