Skip to content

Autoscaling requirements#

Lens premium subscription feature. See details on Lens Pricing.

Autoscaling has no settings. When you connect to a cluster, Lens K8S IDE reads its KEDA, Karpenter, and HPA resources and adds the Autoscaling entry to the cluster navigator.

Requirements#

  • A Plus, Pro, or Enterprise subscription plan, or a Personal subscription with an active trial.
  • KEDA or Karpenter in the cluster, for their entries and actions. See the KEDA deployment guide and the Karpenter getting started guide . HPAs need nothing: every cluster serves them.
  • Optional: Prometheus scraping kube-state-metrics, for the Replica history chart. See Cluster metrics.

Access#

Without the subscription, the Autoscaling pages show a preview of the dashboard with an upgrade option. When your organization's administrator disables the feature, they show Autoscaling is disabled.

View the Autoscaling entry#

The entries under Autoscaling depend on what the cluster serves:

Entry Shown when the cluster serves
Dashboard Always
Pending Pods Always, if you can list pods
Scaled Objects keda.sh scaledobjects
Scaled Jobs keda.sh scaledjobs
Trigger Authentications keda.sh triggerauthentications or clustertriggerauthentications. One list holds both kinds
Node Pools karpenter.sh nodepools
Node Claims karpenter.sh nodeclaims
Node Classes A node class of a Karpenter provider (see below)

When the cluster runs both KEDA and Karpenter, their entries sit in KEDA and Karpenter groups. With only one of them, its entries sit directly under Autoscaling. The HPAs stay in their own list under Config: see Horizontal Pod Autoscalers.

The entries depend on what the cluster serves, not on your permissions. If you cannot list any autoscaler, the dashboard shows No autoscaling resources visible.

Reconnect to refresh the Navigator

The Navigator updates during the cluster connection process. Disconnect and reconnect the cluster after installing or removing KEDA or Karpenter to refresh it.

Karpenter node classes#

Provider Kind API group and version
AWS EC2NodeClass karpenter.k8s.aws/v1
Azure AKSNodeClass karpenter.azure.com/v1beta1
Google Cloud GCENodeClass karpenter.k8s.gcp/v1alpha1
Alibaba Cloud ECSNodeClass karpenter.k8s.alibabacloud/v1alpha1
KWOK KWOKNodeClass karpenter.kwok.sh/v1alpha1

Controller detection#

The dashboard shows whether the KEDA operator and Karpenter run. Lens K8S IDE looks for Deployments labelled app.kubernetes.io/name=keda-operator or app.kubernetes.io/name=karpenter in any namespace, and reads the version from the app.kubernetes.io/version label.

Lens K8S IDE does not report a missing controller as down. Karpenter can run outside the cluster, for example with EKS Auto Mode or AKS Node Auto Provisioning.