# `src debug kube`


## Flags

| Name | Description | Default Value |
|------|-------------|---------------|
| `-n` | The namespace passed to kubectl commands, if not specified the 'default' namespace is used | `default` |
| `-no-configs` | If true, exclude Sourcegraph configuration files. Defaults to false. | `false` |
| `-o` | The name of the output zip archive | `debug.zip` |


## Usage

```

'src debug kube' invokes kubectl diagnostic commands targeting kubectl's current-context, writing returns to an archive.

Usage:

	src debug kube [command options]

Flags:

	-o				Specify the name of the output zip archive.
	-n				Specify the namespace passed to kubectl commands. If not specified the 'default' namespace is used.
	--no-config		Don't include Sourcegraph configuration json.

Examples:

	$ src debug kube -o debug.zip

	$ src -v debug kube -n ns-sourcegraph -o foo

	$ src debug kube -no-configs -o bar.zip



```
	