how to perform a protobuf deserialization in etcd v3 with kubernetes 1.6?
try this one
ETCDCTL_API=3 etcdctl get /registry/namespaces/default -w protobuf | protoc --decode_raw
output should be like following
1 { 1: 14841639068965178418 2: 10276657743932975437 3: 7839988 4: 2}2 { 1: "/registry/namespaces/default" 2: 11 3: 11 4: 1 5: "k8s\000\n\017\n\002v1\022\tNamespace\022c\nI\n\007default\022\000\032\000\"\000*$20b6cdfa-9929-11e7-8b62-005056b549b62\0008\000B\014\010\305\203\351\315\005\020\221\356\217\314\003z\000\022\014\n\nkubernetes\032\010\n\006Active\032\000\"\000"}4: 1
BTW, I did not find related proto file in the kubernetes source.