There is currently a known issue with Kubernetes 1.27.x. This prevents Lens from e.g. creating new resources, installing the metrics provider or the Trivy operator.
Example issue here: Cannot create deployments with Lens · Issue #7647 · lensapp/lens · GitHub
This will likely be fixed in 1.27.2, kubernetes issue here: https://github.com/kubernetes/kubernetes/issues/117463