Skip to content

Commit adc9305

Browse files
committed
Docs: additional explainer for the pod-selector
1 parent 2b8647b commit adc9305

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/configs/kubernetes.md

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ If you are using multiple instances of homepage, an `instance` annotation can be
100100

101101
If you have a single service that needs to be shown on multiple specific instances of homepage (but not on all of them), the service can be annotated by multiple `instance.name` annotations, where `name` can be the names of your specific multiple homepage instances. For example, a service that is annotated with `gethomepage.dev/instance.public: ""` and `gethomepage.dev/instance.internal: ""` will be shown on `public` and `internal` homepage instances.
102102

103+
Use the `gethomepage.dev/pod-selector` selector to specify the pod used for the health check. For example, a service that is annotated with `gethomepage.dev/pod-selector: app.kubernetes.io/name=deployment` would link to a pod with the label `app.kubernetes.io/name: deployment`.
104+
103105
### Traefik IngressRoute support
104106

105107
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 `gethomepage.dev/href` annotation to be set:

0 commit comments

Comments
 (0)