> For the complete documentation index, see [llms.txt](https://archivedocs.stackstate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://archivedocs.stackstate.com/agent/k8s-network-configuration-saas/k8s-network-configuration-proxy.md).

# Proxy Configuration

The StackState Kubernetes Agent allows you to configure HTTP or HTTPS proxy settings for the connections it initiates.

## Proxy for communication with StackState

To configure the agent to proxy connections to the StackState backend, you can use Helm configuration.

### Helm Configuration

#### Via `values.yaml` File

1. Open your Helm chart `values.yaml` file.
2. Locate the `global.proxy.url` configuration and specify the proxy URL:

   ```yaml
   global:
     proxy:
       url: "https://proxy.example.com:8080"
   ```
3. Optionally, if the proxy does not have a signed certificate, disable SSL verification by setting `global.skipSslValidation` to `true`:

   ```yaml
   global:
     skipSslValidation: true
   ```

#### Via Command Line Flag

1. During installation of the Helm chart, use the `--set` flag to specify the proxy URL:

   ```bash
   helm install stackstate-k8s-agent stackstate/stackstate-k8s-agent --set global.proxy.url="https://proxy.example.com:8080"
   ```
2. To disable SSL validation via the command line, use:

   ```bash
   helm install stackstate-k8s-agent stackstate/stackstate-k8s-agent --set global.skipSslValidation=true
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://archivedocs.stackstate.com/agent/k8s-network-configuration-saas/k8s-network-configuration-proxy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
