error: group map[(...)] is already registered

In Kubernetes Cluster, you may encounter error similar to  group map[(...)] is already registered when trying to perform any actions using kubectl

Scenario:


Check the  kubectl Client Version and Kubernetes Server Version, make sure if the release version is same for Client and Server. The issue occurs when Client version is older than Server version.

You can use # kubectl version command to check the Client and Server version.


Solution:


Either update the kubectl client to latest version (or) update it to same version as Server.
For installing latest version of kubectl, refer: https://kubernetes.io/docs/tasks/tools/install-kubectl/

Version mismatch


[root@localhost ~]# /bin/kubectl version
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:16:57Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.6+a08f5eeb62", GitCommit:"c84beff", GitTreeState:"clean", BuildDate:"2017-12-06T20:03:39Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

[root@localhost ~]# /bin/kubectl get ep
error: group map[autoscaling:0xc8203bd0a0 componentconfig:0xc8203bd340 extensions:0xc82012ae00 kibana.com:0xc8202f09a0 :0xc8203bce00 apps:0xc8203bce70 policy:0xc820052070 rbac.authorization.k8s.io:0xc820052150 storage.k8s.io:0xc8200521c0 build.openshift.io:0xc8202f08c0 federation:0xc8203bc930 user.openshift.io:0xc8202f0930 apiregistration.k8s.io:0xc8202f0a10 authorization.k8s.io:0xc8203bd030 batch:0xc8203bd260 certificates.k8s.io:0xc8203bd2d0 authentication.k8s.io:0xc8203bcee0] is already registered

After upgrading Kubectl Client


[root@localhost ~]# /usr/local/bin/kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:13:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.6+a08f5eeb62", GitCommit:"c84beff", GitTreeState:"clean", BuildDate:"2017-12-06T20:03:39Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

[root@localhost ~]# /usr/local/bin/kubectl get ep
No resources found.



Post a Comment

3 Comments

  1. BetMGM, PlayMGM Launches New Casino - JetBlue
    "Gambling on 성남 출장샵 sports 서귀포 출장샵 and casino is a 경상남도 출장마사지 fun and rewarding experience that is sure to please 구리 출장마사지 every fan," said BetMGM President 고양 출장샵 and CEO

    ReplyDelete
  2. Outside the numbered packing containers are a number of} different packing containers for "outside bets," encompassing as much as} 18 numbers at a time. Most of the areas for out of doors bets are on the lengthy facet of the desk throughout from the supplier. However, at the end of the rectangle away from the supplier are packing 토토사이트 containers for bets on each 12-number column. If the roulette ball lands on the quantity or the color you have have} placed a bet on, you win.

    ReplyDelete
  3. It checks to see whether on-line casinos are honest, fair and safe. ECOGRA is the word on accountable playing and protects gamers in opposition to unfair practices. To win at free video poker want to|you should|you have to} apply and be affected person. There is not any actual ability involved in enjoying in}, however the free video poker game sort you choose will make a distinction. Discover more free casino games together with roulette and blackjack. This game is intended for an adult viewers (17+) for amusement functions only and does not offer ‘real money’ playing, or an opportunity to win actual cash casino.edu.kg or prizes based on game play.

    ReplyDelete