Win32 docs for run-envoy.rst section#15813
Conversation
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
@phlax assigning this to you as the docs expert :) @envoyproxy/windows-dev |
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
/retest |
|
Retrying Azure Pipelines: |
|
Looks like you need to push an empty commit here to jog CI |
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
This looks sane to me, but I'm quite unfamiliar with the docs architecture, so @phlax or perhaps @mattklein123 are in a better place to review (it would be handy to have an |
|
i can look over this pr first thing tomorrow |
There was a problem hiding this comment.
my first impressions are that this significantly complicates this page when (at least atm) the vast majority of users are going to be using a linux container with a linux (or mac, or windows) OS.
This is exacarbated by the complexity of which OS <> which container (i get that you have tried to disambiguate this, but my feeling is that this is still confusing if you dont know in advance what it is trying to communicate)
I dont think the "Windows Service" instructions belong on this page at all. Apart from the fact that this feature is "experimental" - these instructions are for getting started understanding how to specify/use configurations when first starting - nothing to do with running as a service. There are many ways you could run this as a "service" on linux/mac/bsd but there is no way i would want to add example systemd/docker/kubernetes scripts/instructions/commands etc here.
Overall my recommendations would be:
- remove windows service section
- rename eg "Docker, Linux/Windows container" to just "Docker (Linux/Windows)" and in the "...(Windows)" tab add a note at the top to say "These are instructions for using the Windows-based image on a Windows OS - see Docker (Linux) if you wish to use the Linux-based image on a Windows OS" - same for each instance of the tab
- move the note about
CONinto the windows tab - Merge the "System" and "Windows" tab in override - and add "For an equivalent command running on the windows OS..." before the win instructions
|
Thanks for the review
Although this might be the case right now, Windows user should have the same documentation experience. The goal of making Envoy cross platform entails making the documentation cross platform. IMHO because the examples are under different tabs, the majority of the complication is abstracted away from the user.
I disagree with that. It is a feature that we should document and it is conceptually a different way to register an exe with the system. We should clearly document it as such. |
i dont think this disambiguates sufficiently. A
not here |
|
Taking a step back, I think the best solution is to use
|
|
Regarding the Windows Service, I will take care of it in a follow up PR if you don't mind since this PR is addressing running Envoy on a Windows container |
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
The point that I am trying to make is that Whereas imho by making the titles more succinct we are losing information. |
i think my point is - dont try to disambiguate in the tab title - use the actual tab for that and make it clearer
no - but these are Docker images - and yep, there are a bunch of different container runtimes that they can be used on. in this case, and in other places in the docs - the examples use the docker engine as this is the easiest, most x-platform way of trying out these images |
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
@phlax followed your suggestion and addressed all your comments |
|
@envoyproxy/senior-maintainers can someone also review this so we can merge it before 1.18 (aka today ❤️) |
|
|
||
| .. note:: | ||
|
|
||
| For Linux containers follow the instructions in Docker (Linux) tab and for Windows containers |
There was a problem hiding this comment.
personally i think put this in the actual tabs - dont assume that someone reads the whole doc - also i think it needs to be clearer...
There was a problem hiding this comment.
Isnt this repetitive to have this in every tab?
There was a problem hiding this comment.
i dont think so - and personally i often ctrl-f or otherwise skip to the section im interested in so i would put it in each tab
There was a problem hiding this comment.
Do you think that a green note is distracting away someone who is reading the windows doc tab?
There was a problem hiding this comment.
perhaps dont use an actual .. note: - just some text would do imho
There was a problem hiding this comment.
Shouldn't we just use the title Docker (Windows Container) and Docker (Linux Container) and skip the sentence. We are saving 10 characters from the tab title and then we add two sentences in each tab.
There was a problem hiding this comment.
i dont think so - pretty sure this was the conv we already had - not sure what more i can add (other than i also think that image is more appropriate in this context)
| --version | ||
| ... | ||
| .. tab:: Docker (Windows) | ||
|
|
There was a problem hiding this comment.
like here - i would add:
These are instructions for using the Windows Docker image - if you wish to use the Linux image on a Windows host machine please see the "Docker (Linux)" instructions
There was a problem hiding this comment.
this comment placed here is what i think would work best
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
@davinci26 can you fix the conflict and i will review the rendered docs |
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
|
updated |
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com> Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com> Signed-off-by: Gokul Nair <gnair@twitter.com>
Signed-off-by: Sotiris Nanopoulos sonanopo@microsoft.com
Adds a new tab for Windows Containers on the
Run Envoysection to illustrate how to use Envoy with a windows container.