JAS Manual Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
  1. Download and extract the Xray installer if required.

    You can find the Ansible playbook in the following folders.

    • Linux Archive - jfrog-xray-<version>-linux/xray/app/bin/k3s-ansible

    • RPM - jfrog-xray-<version>-rpm/k3s-ansible

    • Deb - jfrog-xray-<version>-deb/k3s-ansible

  2. Run the Ansible playbook manually.

    1. Add your configuration under the ~/k3s-ansible/inventory/k3scluster/hosts.ini.

      For example:

      ansible_ssh_common_args='-o StrictHostKeyChecking=no'
    2. Add your VM username under ~/k3s-ansible/inventory/k3scluster/group_vars/all.yml.

      ansible_user: vmUsername
    3. Run the playbook.

      ansible-playbook -v site.yml -i inventory/k3scluster/hosts.ini
    4. When the run is complete, you can find the kube_config.yaml file in the same directory, which has the details to connect with the cluster.

  3. Copy the kube_config.yaml and place it under <xray installation directory>/var/etc in LInux Archive installation or /opt/jfrog/xray/var/etc var/etc/kube_config.yaml in Deb/RPM installation of the Xray instance.

  4. Add the following configuration in the Xray System YAML.

      jobAesKey: <Your execution key > // openssl rand -hex 16
        path: /opt/jfrog/xray/var/etc/kube_config.yaml
        namespace: default
        context: default
        enabled: true
  5. Restart the Xray service to enabled JAS.