Skip to content

Commit e7285c3

Browse files
committed
Log collectors for traefik
1 parent 8bdf64c commit e7285c3

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{{- define "traefik.supportbundle" -}}
2+
apiVersion: troubleshoot.sh/v1beta2
3+
kind: SupportBundle
4+
metadata:
5+
name: traefik-supportbundle
6+
spec:
7+
collectors:
8+
- logs:
9+
namespace: {{ .Release.Namespace }}
10+
selector:
11+
- app.kubernetes.io/name=traefik
12+
{{- end -}}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: traefik-supportbundle
5+
labels:
6+
troubleshoot.sh/kind: support-bundle
7+
type: Opaque
8+
stringData:
9+
support-bundle-spec: |
10+
{{ include "traefik.supportbundle" . | indent 4 }}

0 commit comments

Comments
 (0)