***

title: kube helm-fragment command reference
approved: 2025-05-30T00:00:00.000Z
max-toc-depth: 2
----------------

The `kube helm-fragment` command prints a container definition that can be inserted into a Helm Chart template to add the Postman Insights Agent as a sidecar container.

## Usage

```bash
postman-insights-agent kube helm-fragment [flags]
```

## Flags

* `-h`, `--help` - Help for `helm-fragment`.
* `--filter string` - Used to match packets going to and coming from your API service.
* `--host-allow strings` - Allows only HTTP hosts matching regular expressions.
* `--host-exclusions strings` - Removes HTTP hosts matching regular expressions.
* `--interfaces strings` - List of network interfaces to listen on. Defaults to all interfaces on host.
* `--path-allow strings` - Allows only HTTP paths matching regular expressions.
* `--path-exclusions strings` - Removes HTTP paths matching regular expressions.
* `--rate-limit float` - Number of requests per minute to capture.
* `--repro-mode` - Turns on Repro Mode to send request and response payloads to Postman.

## Global flags

* `--log-format string` - Set to `'color'`, `'plain'` or `'json'` to control the log format.
* `--project string` - Your Postman Insights project ID.
* `--proxy string` - The domain name, IP address, or URL of an HTTP proxy server to use.
