You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,11 @@ The plugin collects the following global and namespace-specific information:
13
13
- helm deployments
14
14
-`nginx -T` output from the NIC pods
15
15
16
+
The plugin DOES NOT collect secrets or coredums.
17
+
16
18
## Installation
17
19
20
+
### Building from source
18
21
Clone the repo and run `make install`. This will build the binary and copy it on `/usr/local/bin/`.
19
22
20
23
Verify that the plugin is properly found by `kubectl`:
@@ -26,6 +29,19 @@ The following compatible plugins are available:
26
29
/usr/local/bin/kubectl-nic-supportpkg
27
30
```
28
31
32
+
### Downloading the binary
33
+
34
+
Navigate to the [releases](https://github.com/nginxinc/nginx-supportpkg-for-k8s/releases) section and download the asset for your operating system and architecture from the most recent version.
35
+
36
+
Decompress the tarball and copy the binary somewhere in your `$PATH`. Make sure it is recognized by `kubectl`:
37
+
38
+
```
39
+
$ kubectl plugin list
40
+
The following compatible plugins are available:
41
+
42
+
/path/to/plugin/kubectl-nic-supportpkg
43
+
```
44
+
29
45
## Usage
30
46
31
47
The plugin is invoked via `kubectl nic supportpkg` and has only one required flag, `-n` or `--namespace`:
0 commit comments