Skip to content

Commit

Permalink
Merge pull request #36 from replicatedhq/ricardomaraschini/sc-99464/a…
Browse files Browse the repository at this point in the history
…dd-a-troubleshoot-spec

feat: introduce a cluster support bundle for kots
  • Loading branch information
ricardomaraschini authored Feb 23, 2024
2 parents 669b3ce + 3f005e2 commit 0e396a6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/configmap-support-bundle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kotsadm-support-bundle
labels:
troubleshoot.sh/kind: support-bundle
data:
support-bundle-spec: {{ .Files.Get "troubleshoot/embedded-cluster-support-bundle.yaml" | quote }}
33 changes: 33 additions & 0 deletions troubleshoot/embedded-cluster-support-bundle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: troubleshoot.sh/v1beta2
kind: SupportBundle
metadata:
name: embedded-cluster-kotsadm-support-bundle
labels:
troubleshoot.io/kind: support-bundle
spec:
uri: https://raw.githubusercontent.com/replicatedhq/kots-helm/main/troubleshoot/embedded-cluster-support-bundle.yaml
collectors:
- logs:
name: podlogs/kotsadm
selector:
- app=kotsadm
limits:
maxAge: 720h
- logs:
name: podlogs/kotsadm-minio
selector:
- app=kotsadm-minio
limits:
maxAge: 720h
- logs:
name: podlogs/kotsadm-rqlite
selector:
- app=kotsadm-rqlite
limits:
maxAge: 720h
- logs:
name: podlogs/kurl-proxy-kotsadm
selector:
- app=kurl-proxy-kotsadm
limits:
maxAge: 720h

0 comments on commit 0e396a6

Please sign in to comment.