Replies: 5 comments 19 replies
-
No one else has reported this and it hasn't changed lately. I cant reproduce it in a simple test setup. I dont use k8s but in general I have to wonder if this is a configuration thing app / namespace / podSelector |
Beta Was this translation helpful? Give feedback.
-
using a browser to https://homepage.domain.org/api/kubernetes/status/speedtest/speedtest?podSelector= returns: |
Beta Was this translation helpful? Give feedback.
-
I agree. Lets concentrate on the services.yaml config for now. /api/kubernetes/stats/speedtest/speedtest?podSelector= returns: |
Beta Was this translation helpful? Give feedback.
-
Solved this issue. Turns out there where some mis-configuration in the cluster and with homepage. I was seeing a couple of issues:
The config for these services is:
The other potential bud I found is that the "gethomepage.dev/statusStyle: dot" is ignored. Here is a working config (except for statusStyle): podSelector must match a label in the pod |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
-
Description
Currently a homepage service does not display cpu or memory stats for kubernetes pods. This is both true for services defined in services.yaml and for auto service discovery using ingress annotations:
service.yaml configuration :
- SpeedTest:
icon: speedtest-tracker.png
description: Test internet upload and download speeds
href: https://speedtest..org
ping: https://speedtest..org
statusStyle: dot
namespace: speedtest
app: speedtest
podSelector: ''
widget:
type: speedtest
url: http://speedtest.speedtest.svc.cluster.local
ingress annotation configuration:
annotations:
gethomepage.dev/container: speedtest
gethomepage.dev/description: Test internet upload and download speeds
gethomepage.dev/enabled: 'true'
gethomepage.dev/group: Monitoring
gethomepage.dev/href: https://speedtest..org
gethomepage.dev/icon: speedtest-tracker.png
gethomepage.dev/name: SpeedTest
gethomepage.dev/namespace: speedtest
gethomepage.dev/app: speedtest
gethomepage.dev/ping: https://speedtest..org
gethomepage.dev/podSelector: ''
gethomepage.dev/statusStyle: 'dot'
gethomepage.dev/weight: '1'
gethomepage.dev/widget.type: speedtest
gethomepage.dev/widget.url: http://speedtest.speedtest.svc.cluster.local
left image is for the service defined in ingress annotation
right image is for the service defined in services.yaml
Steps to reproduce
configure service in service.yaml and kubernetes ingress per configuration -
service.yaml configuration :
- SpeedTest:
icon: speedtest-tracker.png
description: Test internet upload and download speeds
href: https://speedtest..org
ping: https://speedtest..org
statusStyle: dot
namespace: speedtest
app: speedtest
podSelector: ''
widget:
type: speedtest
url: http://speedtest.speedtest.svc.cluster.local
ingress annotation configuration:
annotations:
cert-manager.io/cluster-issuer: cert-manager-webhook-duckdns-production
gethomepage.dev/container: speedtest
gethomepage.dev/description: Test internet upload and download speeds
gethomepage.dev/enabled: 'true'
gethomepage.dev/group: Monitoring
gethomepage.dev/href: https://speedtest..org
gethomepage.dev/icon: speedtest-tracker.png
gethomepage.dev/name: SpeedTest
gethomepage.dev/namespace: speedtest
gethomepage.dev/app: speedtest
gethomepage.dev/ping: https://speedtest..org
gethomepage.dev/podSelector: ''
gethomepage.dev/statusStyle: 'dot'
gethomepage.dev/weight: '1'
gethomepage.dev/widget.type: speedtest
gethomepage.dev/widget.url: http://speedtest.speedtest.svc.cluster.local
homepage version
v0.7.0 (c18caf9, Sep 29, 2023)
Installation method
Docker
Configuration
Container Logs
no log messages outputted
Browser Logs
No response
Troubleshooting
see steps to reproduce above
Other
No response
Before submitting, I have made sure to
Beta Was this translation helpful? Give feedback.
All reactions