diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index d71726d4ea7e..2d0c71934780 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -25,6 +25,10 @@ const ( KubeNodeLeaseNamespace = "kube-node-lease" KubePublicNamespace = "kube-public" KubeSystemNamespace = "kube-system" + AdotPrometheusNamespace = "observability" + MetallbNamespace = "metallb-system" + EmissaryNamespace = "emissary-system" + HarborNamespace = "harbor" LocalPathStorageNamespace = "local-path-storage" EtcdAdmBootstrapProviderName = "bootstrap-etcdadm-bootstrap" EtcdadmControllerProviderName = "bootstrap-etcdadm-controller" diff --git a/pkg/diagnostics/collectors.go b/pkg/diagnostics/collectors.go index 1be6e37d410a..d8a81b3fe07f 100644 --- a/pkg/diagnostics/collectors.go +++ b/pkg/diagnostics/collectors.go @@ -293,6 +293,36 @@ func (c *EKSACollectorFactory) packagesLogCollectors() []*Collect { Name: logpath(constants.EksaPackagesName), }, }, + { + Logs: &logs{ + Namespace: constants.AdotPrometheusNamespace, + Name: logpath(constants.AdotPrometheusNamespace), + }, + }, + { + Logs: &logs{ + Namespace: constants.MetallbNamespace, + Name: logpath(constants.MetallbNamespace), + }, + }, + { + Logs: &logs{ + Namespace: constants.EmissaryNamespace, + Name: logpath(constants.EmissaryNamespace), + }, + }, + { + Logs: &logs{ + Namespace: constants.CertManagerNamespace, + Name: logpath(constants.CertManagerNamespace), + }, + }, + { + Logs: &logs{ + Namespace: constants.HarborNamespace, + Name: logpath(constants.HarborNamespace), + }, + }, } }