As we reach the end of September 2024, ThreadFix version 3.x on-premises has officially reached its End-of-Life. Therefore, there is no longer support or updates for this version of the product. We have fully transitioned our product and development teams to focus ThreadFix SaaS and migrating all customers over from the on-premises versions. Our Customer Success and Support teams are here to help you in migrating to ThreadFix SaaS and maximizing the value you see from this improved offering from Coalfire. This is the next phase of ThreadFix and our team is looking forward to continuing to support you on this journey.

Scaling ThreadFix Services

You will learn

How to scale ThreadFix services.

Prerequisites

Audience: IT Professional
Difficulty: Intermediate
Time needed: Approximately 10 minutes
Tools required: If any

There are two ways to scale services in ThreadFix, using Helm values or by directly modifying the Kubernetes deployment. Changes made using Helm values will persist until changed again. Changes made directly on the Kubernetes deployment will persist until the next upgrade.

Not all services in ThreadFix can be safely scaled. Please consult the Configurations and Tuning Guide
for more information on what services can be scaled and what values may be appropriate for the user case.

Enter the following commands on a command line to perform the described action.

Using Kubernetes

  1. Get a list of Kubernetes deployments associated with the ThreadFix application:

    kubectl get deploy -l kubernetes.io/part-of=threadfix

     

  2. Scale the desired services (replace <numReplicas> with the number of pods to scale to and <deployment> with the name of the resource to scale):

    kubectl scale --replicas=<numReplicas> deployment/<deployment>

Using Helm

  1. Get the Helm release name for the ThreadFix instance:

    TF_RELEASE=$(helm ls | grep threadfix | awk '{print $1}')

     

  2. Get the current installed version of ThreadFix:

     

  3. Export the currently installed Helm values:

     

  4. Edit the resources 'replicaCount' field in myValues.yaml with the desired number or pods:

    • For example, to scale appsec-data to 2 pods, add the following to the myValues.yaml/code

       

    • Use the following to get a list of editable fields:

       

  5. Run a helm upgrade with the modified values field:

www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.