Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
etcdctl v3: k8s changes its internal format to proto, and the etcdctl result is unreadable. #44670
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Kubernetes version (use
I want to get minion by command line. The command as follow:
And the result is unreadable.Follow is my create issue in etcd,but etcd's member xiang90 says that is k8s problem.
You could try adapting https://github.com/openshift/origin/blob/master/tools/etcdhelper/etcdhelper.go to work for you (i.e. remove the OpenShift imports).
it's not a bug, this is working as designed.
if you want to integrate JSON-reading tools directly against etcd, that is not recommended, but you can continue to do that by making k8s continue to store JSON in etcd with