Skip to main content

Disabling the Thrift Port

If needed, you can disable AtScale's Thrift port by modifying the values file. You may want to do this to prevent the port's healthchecks from appearing in your log files. This configuration is optional, and can be done before or after installing AtScale.

To disable the Thrift port, make the following changes to values.yml or your values override file, if you created one:

  1. In the nginxproxy section, add or update the service section as follows:

    service:
    extraPorts:
    - name: atscale-atscale-engine-sql-15432
    port: 15432
    targetPort: 15432
    protocol: TCP
  2. In the atscale-engine section, add or update the gateway, service, and sqlService sections as follows:

    gateway:
    extraContainerPorts:
    - name: engine
    containerPort: 8081
    - name: pgwire
    containerPort: 15432

    service:
    extraPorts:
    - name: atscale-atscale-engine-sql-15432
    port: 15432
    targetPort: 15432
    protocol: TCP

    sqlService:
    ports:
    pgwire: 15432
    thrift: 0
  3. If you have not yet installed AtScale, continue on with the installation procedure.

    If you have already installed AtScale, apply the updated values file:

    helm upgrade atscale oci://docker.io/atscaleinc/atscale --version <version_number> -n <namespace> -f <values_file>

    Where <version_number> is the version of AtScale you're currently on, <namespace> is the namespace in which AtScale is installed, and <values_file> is your updated values file.