This guide provide step-by-step instructions, how to enable and disable the squid proxy post NextGen gateway registartion.
Enable Squid Proxy
Follow the below steps to enable squid-proxy.
- Retrieve the existing chart version by running the following command:
Replacehelm list -n <namespace>
<namespace>
with your gateways namespace. If you don’t have a custom namespace, usedefault
.
Example Output
In this output, the chart version is located under the CHART section. For example, if it saysroot@opsram-gateway:/home/gateway-admin# helm list -n default NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION nextgen-gw default 2 2025-07-09 09:31:41.646878942 +0000 UTC failed nextgen-gw-18.0.5 18.0.5
nextgen-gw-18.0.5
, the version is18.0.5
. - To enable Squid Proxy, use the following command, replacing
<Chart_version>
with the version you retrieved and<namespace>
with your gateway namespace:
After enabling squid-proxyhelm upgrade nextgen-gw oci://us-docker.pkg.dev/opsramp-registry/gateway-cluster-charts/nextgen-gw --version <Chart_version> --set squidproxy=enable --reuse-values -n <namespace>
root@opsram-gateway:/home/gateway-admin# kubectl get pods NAME READY STATUS RESTARTS AGE nextgen-gw-0 3/3 Running 0 23h nextgen-gw-redis-master-0 1/1 Running 0 23h squid-proxy-76d7d49cfc-2rz2b 1/1 Running 0 5m14s
Disable Squid Proxy
Follow the below steps to disable squid-proxy.
- Retrieve the existing chart version by running the following command:
Replacehelm list -n <namespace>
<namespace>
with your gateways namespace. If you don’t have a custom namespace, usedefault
.
Example Output
In this output, the chart version is located under the CHART section. For example, if it saysroot@opsram-gateway:/home/gateway-admin# helm list -n default NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION nextgen-gw default 2 2025-07-09 09:31:41.646878942 +0000 UTC failed nextgen-gw-18.0.5 18.0.5
nextgen-gw-18.0.5
, the version is18.0.5
. - To disable Squid Proxy, use the following command, replacing
<Chart_version>
with the version you retrieved and<namespace>
with your gateway namespace:
After disabling squid-proxyhelm upgrade nextgen-gw oci://us-docker.pkg.dev/opsramp-registry/gateway-cluster-charts/nextgen-gw --version <Chart_version> --set squidproxy=disable --reuse-values -n <namespace>
NAME READY STATUS RESTARTS AGE nextgen-gw-0 3/3 Running 0 23h nextgen-gw-redis-master-0 1/1 Running 0 23h