rothgar / k

Experimental wrapper for kubectl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error with kubectx

inductor opened this issue · comments

k returns error with kubectx as follows

$ k get pods
error: error loading config file "/home/kela/.kube/kubectx": couldn't get version/kind; json parse error: json: cannot unmarshal string into Go value of type struct { APIVersion string "json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }

This is my kubectx

$ cat .kube/kubectx
arn:aws:eks:some-region-1:00000000000:cluster/cluster-name