Modèle YAML de serviceability.yaml
apiVersion: elm.ibm.com/v1
kind: Serviceability
metadata:
name: <serviceability-name> # ELM Serviceability Resource Name
namespace: <namespace> # Kubernetes Cluster Namespace
spec:
gatherApplicationLogs: <boolean> # Boolean (true/false)
gatherApplicationSettings: <boolean> # Boolean (true/false)
gatherCRDs: <boolean> # Boolean (true/false)
gatherCertificatesAndConfigMaps: <boolean> # Boolean (true/false)
gatherPodLogs: <boolean> # Boolean (true/false)
gatherResources: <boolean> # Boolean (true/false)
obfuscateSensitiveData: <boolean> # Boolean (true/false)
Exemple de YAML entièrement rempli de serviceability.yaml
apiVersion: elm.ibm.com/v1
kind: Serviceability
metadata:
name: serviceability-sample
namespace: example
spec:
gatherApplicationLogs: true
gatherApplicationSettings: true
gatherCRDs: true
gatherCertificatesAndConfigMaps: true
gatherPodLogs: true
gatherResources: true
obfuscateSensitiveData: true