Disabling server extensions
When you do not want the server extensions to run on the cluster to save server resources or when you no longer want to run any of the tests supported by the server extensions, you can disable them.
Before you begin
You must have ensured that the server extension that you want to disable is enabled and running.
About this task
You can disable server extensions depending on the platform on which you have installed the server software:
Disabling server extensions on Ubuntu
Procedure
- Log in to the Ubuntu server using an SSH session.
-
Run the following command to disable all the three extensions:
helm upgrade {my-ots} -n test-system ./hcl-onetest-server \ --reuse-values \ --set global.hclOneTestPostmanEnabled=false \ --set global.hclOneTestJMeterEnabled=false \ --set global.hclOneTestJUnitEnabled=false
Note: You must substitute {my-ots} with the release name that you provided during the installation of the server software.If you want to disable any specific extension, then you can set the respective helm parameter value to false. For example, to disable the JMeter extension alone, then you can run the following command:
helm upgrade {my-ots} -n test-system ./hcl-onetest-server \ --reuse-values \ --set global.hclOneTestJMeterEnabled=false
-
Run the following command to verify the status of the extensions:
kubectl get pods -n test-system
Note: The pod for each server extension that you disabled no longer displays.
Disabling server extensions on OpenShift
Procedure
- Open and log in to the terminal.
-
Run the following command to disable all the three extensions:
helm upgrade {my-ots} -n test-system ./hcl-onetest-server \ --reuse-values \ --set global.hclOneTestPostmanEnabled=false \ --set global.hclOneTestJMeterEnabled=false \ --set global.hclOneTestJUnitEnabled=false
Note: You must substitute {my-ots} with the release name that you provided during the installation of the server software.If you want to disable any specific extension, then you can set the respective helm parameter value to false. For example, to disable the JMeter extension alone, then you can run the following command:
helm upgrade {my-ots} -n test-system ./hcl-onetest-server \ --reuse-values \ --set global.hclOneTestJMeterEnabled=false
-
Run the following command to verify the status of the extensions:
oc get pods -n test-system
Note: The pod for each server extension that you disabled no longer displays.