mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-02-14 10:19:54 +00:00
97 lines
3.1 KiB
YAML
97 lines
3.1 KiB
YAML
apiVersion: krew.googlecontainertools.github.com/v1alpha2
|
|
kind: Plugin
|
|
metadata:
|
|
name: support-bundle
|
|
spec:
|
|
version: {{ .TagName }}
|
|
platforms:
|
|
- selector:
|
|
matchLabels:
|
|
os: linux
|
|
arch: amd64
|
|
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_linux_amd64.tar.gz" .TagName }}
|
|
files:
|
|
- from: support-bundle
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: support-bundle
|
|
- selector:
|
|
matchLabels:
|
|
os: linux
|
|
arch: arm64
|
|
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_linux_arm64.tar.gz" .TagName }}
|
|
files:
|
|
- from: support-bundle
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: support-bundle
|
|
- selector:
|
|
matchLabels:
|
|
os: linux
|
|
arch: arm
|
|
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_linux_arm.tar.gz" .TagName }}
|
|
files:
|
|
- from: support-bundle
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: support-bundle
|
|
- selector:
|
|
matchLabels:
|
|
os: darwin
|
|
arch: amd64
|
|
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_darwin_all.tar.gz" .TagName }}
|
|
files:
|
|
- from: support-bundle
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: support-bundle
|
|
- selector:
|
|
matchLabels:
|
|
os: darwin
|
|
arch: arm64
|
|
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_darwin_all.tar.gz" .TagName }}
|
|
files:
|
|
- from: support-bundle
|
|
to: .
|
|
- from: LICENSE
|
|
to: .
|
|
bin: support-bundle
|
|
shortDescription: Creates support bundles for off-cluster analysis
|
|
homepage: https://github.com/replicatedhq/troubleshoot
|
|
description: |
|
|
This plugin collects information about the cluster, and automatically
|
|
redacts sensitive data from being collected. This can optionally include
|
|
application-specific data. The plugin writes the collected files into a
|
|
single archive named support-bundle.tar.gz. This archive can be manually
|
|
inspected or uploaded to https://vendor.replicated.com for automated
|
|
analysis.
|
|
|
|
Application developers can create and host a Collector manifest that
|
|
defines information to be collected.
|
|
|
|
For information on creating a Collector manifest, view the documentation
|
|
at https://help.replicated.com/docs/troubleshoot/kubernetes/collectors/defining-collectors/
|
|
|
|
Usage:
|
|
$ kubectl support-bundle <uri>
|
|
|
|
where <uri> references a set of application collectors
|
|
|
|
For example:
|
|
|
|
$ kubectl support-bundle https://troubleshoot.replicated.com
|
|
|
|
For additional options:
|
|
$ kubectl support-bundle --help
|
|
|
|
Documentation:
|
|
Full documentation on this plugin is available at:
|
|
https://help.replicated.com/docs/troubleshoot/kubernetes/support-bundle/overview/
|
|
|
|
For application developers writing collectors and analyzers:
|
|
https://help.replicated.com/docs/troubleshoot/kubernetes/collectors/defining-collectors/
|