Error loading namespaces. One or more namespaces are not displayed

Hi,

We have a GKE k8s cluster that’s been running a couple years, and it’s fantastic, usually works perfectly. It is an amazing technology.

But in the last 1 week though… actually I cannot be absolutely certain this issue appeared 1 week ago. That is when I first noticed it.

In workloads → overview, drop-down menu Namespaces:
https://console.cloud.google.com/kubernetes/workload/overview?

“Error loading namespaces. One or more namespaces are not displayed.”

At least two potential issues come to mind which are permissions and the browser. As far as IAM permissions, I am the owner and creator of the project and the k8s cluster. And I tested using Firefox and Chrome, on Ubuntu.

To comparison, what if I try a different user account, rather than the owner. This other user has a rolebinding in just one namespace, with permissions of ClusterRole/cluster-admin.

The other user sees a warning on the page which the owner did not see:

You don’t have permissions to view all resources in all namespaces. Ask your administrator for permissions or try selecting a namespace you have access to in the Namespaces menu above. Learn more
Affected clusters: _ (permission denied)

In the drop-down menu, the assigned namespace appears. Along with the same error, which might be expected now.

“Error loading namespaces…"“

That makes sense perhaps, for a non-superuser.

Returning to the owner account, there is no such warning “You don’t have permissions to view..”. The page appears normally.

As far as I am aware, IAM permissions have been the same for 2 years ago.

Cluster version: 1.33.5-gke.1080000

What if I bypass the namespace drop-down and go directly to the observability page:

That works! The pages load.

In the namespace menu, what if I search for the same namespace just viewed.

“No matching namespaces.”

It’s a contradiction, since the namespace exists, the observability page loads, and the pods are up, and the service is up.

So, at this very moment, the only issues is the namespace drop-down itself.

“Error loading namespaces. One or more namespaces are not displayed.”

Any ideas?

Thanks,
Sam