Skip to content

Commit

Permalink
Add crust-gather to krew plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Danil-Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev committed Aug 28, 2024
1 parent d8ca52a commit b81b60c
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions plugins/crust-gather.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# This file was generated by GoReleaser. DO NOT EDIT.
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: crust-gather
spec:
version: v0.5.3
homepage: https://github.com/crust-gather/crust-gather
platforms:
- bin: kubectl-crust-gather.exe
uri: https://github.com/crust-gather/crust-gather/releases/download/v0.5.3/kubectl-crust-gather_v0.5.3_windows_amd64.tar.gz
sha256: 6c3e3697ad33ad190fd2398776fc9a2b28288147c57991878c9d48ed38063f23
selector:
matchLabels:
os: windows
arch: amd64
- bin: kubectl-crust-gather
uri: https://github.com/crust-gather/crust-gather/releases/download/v0.5.3/kubectl-crust-gather_v0.5.3_linux_arm64.tar.gz
sha256: e4c01ab0b26af5771aba07b29ab303976841aace58b71605d816267f377d6df6
selector:
matchLabels:
os: linux
arch: arm64
- bin: kubectl-crust-gather
uri: https://github.com/crust-gather/crust-gather/releases/download/v0.5.3/kubectl-crust-gather_v0.5.3_linux_amd64.tar.gz
sha256: 61b8dc87d4cabccc628fce55359b30d14b2d2363667d17696b98ba1f825f8582
selector:
matchLabels:
os: linux
arch: amd64
- bin: kubectl-crust-gather
uri: https://github.com/crust-gather/crust-gather/releases/download/v0.5.3/kubectl-crust-gather_v0.5.3_darwin_arm64.tar.gz
sha256: 506fb5be53170cb2f9edb0842b616aed8e76c8b832f61d9e46ec2f636d880500
selector:
matchLabels:
os: darwin
arch: arm64
- bin: kubectl-crust-gather
uri: https://github.com/crust-gather/crust-gather/releases/download/v0.5.3/kubectl-crust-gather_v0.5.3_darwin_amd64.tar.gz
sha256: 506fb5be53170cb2f9edb0842b616aed8e76c8b832f61d9e46ec2f636d880500
selector:
matchLabels:
os: darwin
arch: amd64
shortDescription: Collect cluster state and serve it via an API server
description: |
`crust-gather` is a useful cluster debugging tool.
It allows user to collect full or partial cluster state
via a selection of filters. The desired set of resources
can be reduced or extended based on GVK or namespace
selection.
`crust-gather` collects pod logs across the cluster.
The tool also allows collecting custom logs from
the node itself, such as kubelet logs.
It is a common requirement to remove secret data from the
output, so `crust-gather` provides flags and configuration
options to exclude secret data from any collected content.
```bash
$ kubectl crust-gather collect --help
$ kubectl crust-gather collect
```
To simplify the debugging process, `crust-gather` supports
serving the collected archive via an embedded API server
replica, which is compatible with kubectl or k9s clients.
```bash
$ kubectl crust-gather serve --help
$ kubectl crust-gather serve &
```
caveats: |
* Serving the archive overrides current KUBECONFIG
or the ~/.kube/config file.
* Tool is intended for cluster administrators, with
high RBAC privileges, or test (temporary) clusters.
* Cluster-wide watch recording and replaying functionality
is also supported, but it is best effort only.

0 comments on commit b81b60c

Please sign in to comment.