Skip to content


The Kubernetes connectivity has the following requirements:

  • Kubernetes 1.19+
  • Metrics Service
  • An Ingress controller

The Kubernetes connection is configured in the kubernetes.yaml file. There are 3 modes to choose from:

  • disabled - disables kubernetes connectivity
  • default - uses the default kubeconfig resolution
  • cluster - uses a service account inside the cluster
mode: default


Once the Kubernetes connection is configured, individual services can be configured to pull statistics. Only CPU and Memory are currently supported.

Inside of the service you'd like to connect to a pod:

- Emby:
  icon: emby.png
  href: "http://emby.home/"
  description: Media server
  namespace: media # The kubernetes namespace the app resides in
  app: emby # The name of the deployed app

The app field is used to create a label selector, in this example case it would match pods with the label:

Sometimes this is insufficient for complex or atypical application deployments. In these cases, the pod-selector field can be used. Any field selector can be used with it, so it allows for some very powerful selection capabilities.

For instance, it can be utilized to roll multiple underlying deployments under one application to see a high-level aggregate:

- Element Chat:
    icon: matrix-light.png
    description: Matrix Synapse Powered Chat
    app: matrix-element
    namespace: comms
    pod-selector: >- in (


A blank string as a pod-selector does not deactivate it, but will actually select all pods in the namespace. This is a useful way to capture the resource usage of a complex application siloed to a single namespace, like Longhorn.

Automatic Service Discovery

Homepage features automatic service discovery by Ingress annotations. All configuration options can be applied using typical annotation syntax, beginning with

kind: Ingress
  name: emby
  annotations: "true" Media Server Media emby.png Emby "emby" "" "" 10 # optional "public" # optional
    - host:
          - backend:
                name: emby
                  number: 8080
            path: /
            pathType: Prefix

When the Kubernetes cluster connection has been properly configured, this service will be automatically discovered and added to your Homepage. You do not need to specify the namespace or app values, as they will be automatically inferred.

If you are using multiple instances of homepage, an instance annotation can be specified to limit services to a specific instance. If no instance is provided, the service will be visible on all instances.

Traefik IngressRoute support

Homepage can also read ingresses defined using the Traefik IngressRoute custom resource definition. Due to the complex nature of Traefik routing rules, it is required for the annotation to be set:

kind: IngressRoute
  name: emby
  annotations: "" "true" Media Server Media emby.png emby-app # optional, may be needed if != ingress Emby "emby" "" "" 10 # optional "public" # optional
    - websecure
    - kind: Rule
      match: Host(``)
        - kind: Service
          name: emby
          namespace: emby
          port: 8080
          scheme: http
          strategy: RoundRobin
          weight: 10

If the href attribute is not present, Homepage will ignore the specific IngressRoute.


Similarly to Docker service discovery, there currently is no rigid ordering to discovered services and discovered services will be displayed above those specified in the services.yaml.