Cannot read property 'pods' of null

When i go to the Kubernetes cluster page i got the error a lot of times the error “Cannot read property ‘pods’ of null”. I got this on all my clusters, 5 minutes later ist working again but it’s very annoying

1 Like

Hey @mattijs.brunink,

Thanks for reaching out. I’m sorry to hear you’re experiencing issues with the Kubernetes Cluster Explorer.

When you see the error, a simple thing to confirm that your clock is sync’d to a time service. If there is a mismatch between user clock/time and the server time, you would see this error (clock mismatch is not the only source of this issue, but it’s a place to start). This can be confirmed by looking at the request header payload and compare with the server headers:

Please let us know if this helps or if you continue to experience this issue.

all your servers are sync’d to a time service, so i don’t think that is the problem

administrator@p20:~$ timedatectl status
Local time: Tue 2021-02-23 15:56:15 CET
Universal time: Tue 2021-02-23 14:56:15 UTC
RTC time: Tue 2021-02-23 14:56:15
Time zone: Europe/Amsterdam (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no