diff --git a/userspace/libsinsp/sinsp.cpp b/userspace/libsinsp/sinsp.cpp index 40618c5fd5..2109d0cbc0 100644 --- a/userspace/libsinsp/sinsp.cpp +++ b/userspace/libsinsp/sinsp.cpp @@ -2367,7 +2367,7 @@ void sinsp::k8s_discover_ext() } if(uri(*m_k8s_api_server).is_secure()) { init_k8s_ssl(m_k8s_api_cert); } m_k8s_ext_handler.reset(new k8s_api_handler(m_k8s_collector, *m_k8s_api_server, - "/apis/extensions/v1beta1", "[.resources[].name]", + "/apis/apps/v1", "[.resources[].name]", "1.1", m_k8s_ssl, m_k8s_bt, true)); g_logger.log("K8s API extensions handler: collector created.", sinsp_logger::SEV_TRACE); }