> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt. For full content including API reference and SDK examples, see https://learning.postman.com/llms-full.txt.

# kube helm-fragment command reference

The `kube tf-fragment` command prints a Terraform (HCL) code fragment that can be inserted into a Terraform `kubernetes_deployment` resource spec to add the Postman Insights Agent as a sidecar container.

## Usage

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

## Flags

* `-h`, `--help` - Help for `tf-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.