JAS Manual Installation

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo
  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:

      [master]
      10.90.184.25
      [node]
      10.90.122.151
      10.90.180.51
      [k3s_cluster:children]
      master
      node
      [all:vars]
      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.

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