Disabling server extensions

When you do not want the server extensions in HCL DevOps Test Hub (Test Hub) to run on the cluster to save server resources, you can disable server extensions.

Before you begin

You must ensure that the server extensions are enabled at the time of server installation by running the following command:
kubectl get pods -n devops-system
The status of the server extensions that are enabled is displayed as Running.

About this task

You must substitute {{main}} with the release name that you provided during the installation of Test Hub in the following procedure.

The devops-system is the name of the namespace. If you created a namespace by using a different value, then you must use that value in place of devops-system in all the instances in this procedure.

Procedure

  1. Log in to the platform that you used to install Test Hub.

    For example, you can log in to the Ubuntu server using an SSH session if you installed Test Hub on Ubuntu.

  2. Run the following commands that depend on the server extension you want to disable:
    To disable the server extension Run the command
    CodeSweep
    helm upgrade {{main}} -n devops-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestCodesweepEnabled=false
    JMeter
    helm upgrade {{main}} -n devops-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestJMeterEnabled=false
    JUnit
    helm upgrade {{main}} -n devops-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestJUnitEnabled=false
    Postman
    helm upgrade {{main}} -n devops-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestPostmanEnabled=false
    All server extensions
    helm upgrade {{main}} -n devops-system ./hcl-onetest-server \
    --reuse-values \
    --set global.hclOneTestPostmanEnabled=false \
    --set global.hclOneTestJMeterEnabled=false \
    --set global.hclOneTestJUnitEnabled=false \
    --set global.hclOneTestCodesweepEnabled=false
  3. Run the following command to verify the status of the extensions:
    kubectl get pods -n devops-system
    Note: The pod for the server extension that you disabled is not displayed.

Results

You have disabled the required server extensions on Test Hub.