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
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,14 @@
2
2
A Kubernetes Job to collect resources, logs and events from a Kubernetes cluster.
3
3
k8s-collector is a Job that can collect both resources (YAMLs) and logs when created.
4
4
5
-
`k8s/collector.yaml` contains the YAML to run it. Please be aware you will have to modify Job volume mounts.
6
-
It expects two argurments:
5
+
[k8s/collector.yaml](https://raw.githubusercontent.com/gianlucam76/k8s_collector/main/k8s/collector.yaml) contains the YAML to run it. Please be aware you will have to modify Job volume mounts (as it will store logs and resources in tmp directory).
6
+
If you want to try it out on [Kind](https://kind.sigs.k8s.io) cluster, then you can use this YAML which uses a persistent volume provided by KinD
1. config-map => this is the name of the ConfigMap that contain the configuration on which logs/resources to collect. This README contains an example for such ConfigMap. ConfigMap must be in the same namespae of the Job.
9
-
2. dir => this is the directory when all collected resources and logs will be stored
9
+
```k8s-collector``` expects two argurments:
10
+
11
+
1. dir => this is the directory when all collected resources and logs will be stored
12
+
2. config-map => this is the name of the ConfigMap that contain the configuration on which logs/resources to collect. This README contains an example for such ConfigMap. ConfigMap must be in the same namespae of the Job.
0 commit comments