Repository navigation
docs: updated quickstart/run envoy doc to ensure a smoother first time experience - #17413
Conversation
|
Hi @lakamsani, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
@htuch just rebased/added the DCO to the updated commit. Lmk . Thanks. |
9b725e3 to
0736c2e
Compare
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
on a couple of issues encountered trying for the first time on macOS Catalina 10.15.7. Also updated .gitignore with macOS and IntelliJ related files Signed-off-by: vamsee.lakamsani <[email protected]>
|
@lakamsani i think if you rebase to main you will get rid of the extra commits |
@phlax ok. extra commits are gone now. This PR now just has my changes. Please check. Thanks. |
| To start Envoy as a system daemon :download:`download the demo configuration <_include/envoy-demo.yaml>`, and start | ||
| as follows: | ||
| To start Envoy as a system daemon :download:`download the demo configuration <_include/envoy-demo.yaml>`. Confirm that the downloaded file has | ||
| the `.yaml` extension (and not `.yml`) and start as follows: |
There was a problem hiding this comment.
im not sure this is necessary - what problem is addressing ?
There was a problem hiding this comment.
On my macbook (latest Catalina and Chrome) when I clicked on that link, it saved the file with a .yml extension. Not sure why. Without realizing that, when I ran envoy with it (using zsh tab completion for the file name) it exited with this error.
[2021-07-21 05:23:43.653][397997][critical][main] [source/server/server.cc:113] error initializing configuration 'envoy-demo.yml': Unable to parse JSON as proto (INVALID_ARGUMENT:Unexpected token.
It wasn't obvious from the error that the problem was with the file extension. I found that out via web search. It might be good if the config file parsing code works with either extension. Perhaps there's some background on this I don't know 🙂. So I was thinking this suggestion might save someone else some time during the initial try/quickstart.
|
Sorry can you force push and fix DCO please? Thank you. /wait |
…n the quickstart config override example, per PR review feedback Signed-off-by: vamsee.lakamsani <[email protected]>
Done. My fingers are used to |
phlax
left a comment
There was a problem hiding this comment.
@lakamsani thanks for the contrib but im -1 to this change
there is nothing special about this particular file download - the same thing could happen for any/all of the downloads in the docs - why add it here
i think this is an OS issue and unrelated to getting started with envoy
@phlax I was thinking that while |
This has come up before and there may already be a tracking issue on this. I think this would be a great contribution and/or just checking for yml also as a YAML extension. |
|
+1 on In the absence of this support, it would be good to have the most user friendly quick start we can. |
|
I built |
my point is this. the docs have a load of downloadable yaml files - this issue which is specific to mac, some versions of mac, and iiuc understanding your OS the section here is not about downloading files with the correct file extension - its about first running Envoy if we really think this is an issue that actually needs to be addressed, can i ask that whatever guidance is added is not added to the getting started running envoy section |
|
also regarding .yaml support...
the downloaded file would still work, but the docs give the actual files name - so if its not downloaded as that it doesnt |
This wasn't the case when I tried. The same config file when given to envoy with the |
wow you are right - it tries to parse |
There is an open issue on this. I will look at fixing this as this has come up multiple times. |
|
I opened #17455 to allow loading .yml as YAML, so I think we can drop that part of this change. Thank you for pushing on this! /wait |
…x it via envoyproxy#17455 Signed-off-by: vamsee.lakamsani <[email protected]>
Dropped that change and welcome! |
…e experience (envoyproxy#17413) Signed-off-by: vamsee.lakamsani <[email protected]>


Commit Message: updated quickstart/run envoy docs to ensure a smoother run based
on a couple of issues encountered trying for the first time on macOS Catalina
10.15.7. Also updated .gitignore with macOS and IntelliJ related files
Additional Description:
Risk Level: Low
Testing:
Docs Changes: updated quickstart docs
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]