Install FLP in a Kubernetes cluster using Helm charts

Prerequisites for FLP Configuration in a Kubernetes Cluster

Ensure the following tools are installed and accessible on your system’s PATH:

  • Linux Box: Ubuntu 18.x.x or higher.

  • Docker: Version 20.10.21 (build 20.10.21) or later, for pulling Docker images from FAR.

  • Tar: GNU Tar version 1.29 or higher, for archiving backup files.

  • OpenSSL: Version 1.1.1 or higher, for encryption and TLS certificate generation.

  • Curl: cURL version 7.58.0 or higher, for validating the proxy and interacting with URLs.

  • Helm: Version v3.18.2 or higher, for deploying Kubernetes resources.

  • Kubectl: Client version v1.32.5+k3s1; Kustomize version v5.5.0; Server version v1.32.5+k3s1 or higher, for managing Kubernetes objects.

  • Sudo/root access: Required for most operations to perform administrative tasks.

Download the Helm charts

Do the following steps to download the SPK Helm charts, Docker Images and other Utilities:

  1. Perform a Helm Login to download the Helm charts from FAR:

    cat <service_account_key_base64 file> | helm registry login -u _json_key_base64 --password-stdin https://repo.f5.com
    

    In this example, far_key.txt is the Service Account Key.

    cat far_key.txt | helm registry login -u _json_key_base64 --password-stdin https://repo.f5.com
    
  2. Perform a Helm Pull to pull the Helm charts from FAR:

    helm pull oci://repo.f5.com/<path of Helm chart> --version <version of Helm chart>
    

    In this example, charts/f5-license-proxy is the path for pulling f5-license-proxy Helm chart and its version is 1.29.0-0.10.5 as retrieved from the manifest.yaml file.

    helm pull oci://repo.f5.com/charts/f5-license-proxy --version 1.29.0-0.10.5
    
  3. Perform a Utilities Pull to pull the other utilities from FAR:

    helm pull oci://repo.f5.com/<path of Utilities> --version <version of Utility>
    

    In this example, utils/flp-setup is the path for pulling flp-setup utility and its version is 1.29.0-0.10.5 as retrieved from the manifest.yaml file.

    helm pull oci://repo.f5.com/utils/flp-setup --version 1.29.0-0.10.5
    
  4. Perform a Docker Login to download the docker images from FAR:

    cat <service_account_key_base64 file> | docker login -u _json_key_base64 --password-stdin <URL of F5 Artifact Registry>
    

    In this example, far_key.txt is the same Service Account Key.

    cat far_key.txt | docker login -u _json_key_base64 --password-stdin https://repo.f5.com
    
  5. Perform a Docker Pull to pull the FLP and related docker images from FAR:

    docker pull repo.f5.com/<path of Docker Image>:<version of Docker Image>
    

    In this example, images/f5-license-proxy is the path for pulling f5-license-proxy docker image and its version is 1.29.0-0.10.5 as retrieved from the manifest.yaml file.

    docker pull devrepo.f5.com/images/f5-license-proxy:1.29.0-0.10.5 && docker pull devrepo.f5.com/images/vault-init:1.29.0-0.10.5 && docker pull devrepo.f5.com/images/vault:1.19 && docker pull devrepo.f5.com/images/postgresql:17.4.0