gloo-connect icon indicating copy to clipboard operation
gloo-connect copied to clipboard

strange signs in consul backend

Open scher200 opened this issue 7 years ago • 4 comments

Dear support,

strange characters in consul

I found the characters in consul backend a bit strange. My question is, could we make gloo-connect commands work in conjunction with the consul backend? So that changes can be applied in both.

Anyway I would like to compliment your work, it was really what I was lookikng for.

scher200 avatar Aug 01 '18 09:08 scher200

thanks for the feedback. the strange symbols you see are actually the result of Gloo leveraging consul's key-value store to store serialized proto messages (which are binary encoded). future versions of gloo may instead serialize to json or yaml to make configuration human readable directly out of consul.

today you can use glooctl to read those objects in yaml form.

can you be more explicit about what you mean by make gloo-connect commands work in conjunction with the consul backend?

ilackarms avatar Aug 01 '18 14:08 ilackarms

Yes, I meant exactly what you described:

future versions of gloo may instead serialize to json or yaml to make configuration human readable directly out of consul.

awesome!

scher200 avatar Aug 03 '18 18:08 scher200

i'm still not clear on the meaning of

make gloo-connect commands work in conjunction with the consul backend

can you give an example of a command and what you'd expect it to do?

ilackarms avatar Aug 03 '18 19:08 ilackarms

no all is fine now, thank you!

I am actually trying to deploy it all on kubernetes, but can not find a tutorial. Can you maybe push me in the right direction?

scher200 avatar Aug 08 '18 12:08 scher200