Kubernetes Static Collector (app-discovery-k8s)
It collects Ingress, service, and ConfigMap information of a Kubernetes cluster. For details about the configuration parameters, see Table 1.
|
Parameter |
Mandatory |
Configuration |
|---|---|---|
|
output_path |
No |
Enter the storage path of the collection result file (app-discovery-k8s-xxx.csv). If this parameter is left blank, the storage path defaults to <collector-installation-path>\output\file. Example: C:\Edge\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\very-k8s\output\file\app-discovery-k8s-xxx.csv |
|
rules_path |
No |
Enter the storage path of the collection rule file (a .properties file). If this parameter is left blank, the path defaults to <collector-installation-path>\config\rules.properties. Example: C:\Edge\tools\plugins\collectors\python\windows\mgc-app-discovery-collectors-windows\app-discovery-k8s\config\rules.properties
NOTICE:
You are advised to use the default rule file. If you need to customize collection rules, modify the default rule file. |
|
config_path |
Yes |
Enter the absolute path of the folder that stores the configuration files (in YAML format) of clusters to be collected.
CAUTION:
This storage path stores only YAML configuration files of clusters to be collected. Irrelevant YAML files should not be stored here. To obtain the content of a cluster's configuration file, perform the following steps: On a cluster node, run the following command, and copy the returned information to a YAML file. cat ~/.kube/config
NOTICE:
Only one configuration file can be stored for a Kubernetes cluster. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.