How to fix E0223 13:19:02.981298 254 memcache.go:238] couldn’t get current server API group list

Jaysen Bidoo 30 Reputation points
2023-02-23T17:36:57.8866667+00:00

Hello,

I upgraded Kubernetes version from 1.23.8 to 124.9 on Azure Portal (upgrade directly from version 1.23.8 to 124.9).

Now when I open cloud shell on azure and type kubectl get pods I got the errors below:

E0223 13:19:02.981298 254 memcache.go:238] couldn’t get current server API group list: Get “https://aks-common-apps-xxxxxx.privatelink.francecentral.azmk8s.io:443/api?timeout=32s”: dial tcp: lookup aks-common-apps-xxxxxx.privatelink.francecentral.azmk8s.io on 168.x.x.x:53: no such host

I cannot access any nodes in my Kubernetes Cluster.

I searched a lot over the internet and I couldn't find anything to solve this problem.

Can anyone can help me please.

Thanks.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,462 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.