Repository navigation
Conversation
87f7d4d to
fc1a597
Compare
Signed-off-by: Ryan Northey <[email protected]>
6a410ff to
e22e6d8
Compare
davinci26
left a comment
There was a problem hiding this comment.
Thanks for the cleanup. LGTM minus one small comment
|
|
||
| You can run Envoy on a Windows host using the official Windows Docker image. | ||
|
|
||
| .. warning:: |
There was a problem hiding this comment.
What is the value of this warning? Windows is going GA, next week and the code is already complete. I would remove it
There was a problem hiding this comment.
2 things:
- afaict these images are experimental - and should be treated as such
- in an open source project documenting and/or distributing binary blobs should come with a warning
this is "bringing parity" - i would add similar warnings to any other code/images etc
There was a problem hiding this comment.
afaict these images are experimental - and should be treated as such
Why do you think they are experimental? I think this is a conflicting message. We are announcing that Envoy on Windows is GA and it can be used in a production environment. It is confusing and contradicting to have an experimental warning.
in an open source project documenting and/or distributing binary blobs should come with a warning
If this is the case shouldn't all images have this warning then?
There was a problem hiding this comment.
Why do you think they are experimental?
at least afaict they have reduced functionality and are less performant - if these images are genuinely production-ready we can remove this bit - but im already seeing "it doesnt work" tickets, so my concern is both to be explicit about the fact that they are not widely tested and to add a "caveat usor"
If this is the case shouldn't all images have this warning then?
the other images are open source - they dont need it - there is no code in them for which the source is not available - and the recipes are published
There was a problem hiding this comment.
... and the user can compile the entire stack for themselves should they wish
There was a problem hiding this comment.
The Windows Server Core base image usually comes pre-cached on a lot of cloud provided images etc., so its size is an issue but the impact can be minimized. Definitely already being used in production in other products (cloudfoundry, etc.). It should consist of 2 layers, the base that is tied to the host version, and another layer with Windows updates that gets updated periodically. B/c of the host/container image compatibility requirements now, the large base layer won't change (much/ ever) I believe in the lifecycle of a Windows version.
There was a problem hiding this comment.
Also the base container image for Windows is not being distributed by Envoy/DockerHub per-se, the Windows proprietary/licensed layers do not get hosted on DockerHub, they are foreign layers that still come from Microsoft when you pull the image (the image manifest should show this) that have their own license deal. I think the Envoy project is only on the hook for the layers that we build on top of the Windows base.
There was a problem hiding this comment.
Worth adding some notes about size and plans to improve on that?
The plans are related to reducing the size of the base image. I do not think that Envoy docs is the best channels to communicate such changes/plans though.
There was a problem hiding this comment.
You've made your feelings known, @phlax but it's time for @envoyproxy/senior-maintainers to decide which political statements are appropriate for the project. You've made three key assertions in this doc;
-
envoy windows docker image published by cncf contains non-oss software. It does not, as the docker image we publish contains envoy-static.exe; it references a docker OS image published by microsoft with clear licensing terms allowing that container image to be used on any licensed windows OS host (and running that image on a non windows OS host isn't possible.) This is no different than being bound by the GPL (our license is AL 2.0) in the case of linux images, or being bound to Apple's terms using macOS. The statement reflects a personal anti-nonfree software posture, which is entirely fine for us individually, but not perhaps what this project is trying to convey, especially in electing AL 2.0 vs GPL.
-
You claim the image is very large. There's no argument with that. Anyone who deploys docker images to Windows is aware of this fact. The statement is redundant and conveys no useful information other than to express frustration.
-
You claim this is experimental. senior-maintainers determined it is not. https://blog.envoyproxy.io/general-availability-of-envoy-on-windows-267e4544994a
Please correct these issues, my other feedback was cosmetic and future-looking and can be reinstated when there are options from getenvoy.io and/or azure.
There was a problem hiding this comment.
Let's discuss in our meeting tomorrow morning, but in general my view is:
- Remove the experimental warning. We deemed it GA and users understand when it was GA, can open bugs, etc.
- Remove the not open source warning (Envoy itself is Apache 2, and any base image is owned by Microsoft, and anyone using Windows understands what they are dealing with). If there are legal concerns here we can run them by the CNCF.
- Optionally add a warning about size and link to the tracking issue, though I tend to agree with @wrowe that anyone that downloads the image knows it's big. There may be value though in telling people the tracking issue.
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
wrowe
left a comment
There was a problem hiding this comment.
This is looking good, especially the build cleanups and docs simplification. Just a few semantic problems to fix that were already discussed at length, my requested changes below...
| ~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| You can run Envoy using the official Windows Docker image. | ||
|
|
There was a problem hiding this comment.
Based on the structure of this doc, I wouldn't eliminate the block above. In fact, it should be repeated above in the Install Envoy on Ubuntu Linux section as a similar footnote - without going into the details. I completely agree that "see below" is the appropriate end of both statements and the lines below should be axed from this block.
We are aware both Microsoft and Tetrate intend to distribute a much more lightweight package of Envoy for Windows consumption, so this section will grows / must be re-added eventually. (@davinci26 and @lizan can probably speak to this.)
There was a problem hiding this comment.
Actually, I'd rephrase this, as we have thin Docker images applicable to any linux. It's not necessary to place that footnote in every linux instruction, perhaps something topline they would read before scrolling to their target linux flavor. Once they've read their target instructions, it seems likely they could miss the later section for installing with docker. How about just adding a "See the Install Envoy using Docker section below." to the first sentence of the doc?
| .. warning:: | ||
|
|
||
| This image is currently experimental and includes binaries that are not open source | ||
|
|
There was a problem hiding this comment.
The first statement is wrong, the port is code complete, and this has been discussed by the maintainers, at the community meeting. Please fix.
The second statement is confusing at best; neither the Windows image nor the OS-free glibc image are exactly satisfied by our Apache License 2.0. A valuable statement here with respect to each docker installation would be a footnote (not "warning") that Windows includes the respective base operating systems (Windows LTSC2019 - long term server core of Server 2019, or alpine-3.12_glibc-2.31, or google vrp context) under their respective licensing. This link offers the necessary licensing context for the MS Windows docker base image.
Please don't use envoy docs for personal evangelism. Both Windows and Linux docker users locally and users of public clouds are generally aware of what their docker or host licensing prerequisites entail.
There was a problem hiding this comment.
Reminder that we agreed to drop the statement above in line 177.
|
reading the comments above im hearing a lot of appeals for special casing (and some borderline insults) the facts as i understand:
i understand the desire for parity - but that means playing by the same rules as everyone else my own opinion is that this image should not be distributed within the CNCF namespace as it is misleading to end users (not to mention the increased maintenance burden that cant be checked/supported if you dont use closed-source code) regardless, i have done my best to accommodate - which (i hope) @davinci26 will attest currently the windows docker install section is placed amongst the host installs - it needs to move to the docker section this pr also provides a bunch of ~unrelated cleanups regarding the publishing of docker images whatever my own opinion - im trying to bring actual parity to the documentation, and that means giving users fair warning when they are being encouraged to download binaries which are closed, huge or relatively untested |
|
|
||
| You can run Envoy on a Windows host using the official Windows Docker image. | ||
|
|
||
| .. warning:: |
There was a problem hiding this comment.
You've made your feelings known, @phlax but it's time for @envoyproxy/senior-maintainers to decide which political statements are appropriate for the project. You've made three key assertions in this doc;
-
envoy windows docker image published by cncf contains non-oss software. It does not, as the docker image we publish contains envoy-static.exe; it references a docker OS image published by microsoft with clear licensing terms allowing that container image to be used on any licensed windows OS host (and running that image on a non windows OS host isn't possible.) This is no different than being bound by the GPL (our license is AL 2.0) in the case of linux images, or being bound to Apple's terms using macOS. The statement reflects a personal anti-nonfree software posture, which is entirely fine for us individually, but not perhaps what this project is trying to convey, especially in electing AL 2.0 vs GPL.
-
You claim the image is very large. There's no argument with that. Anyone who deploys docker images to Windows is aware of this fact. The statement is redundant and conveys no useful information other than to express frustration.
-
You claim this is experimental. senior-maintainers determined it is not. https://blog.envoyproxy.io/general-availability-of-envoy-on-windows-267e4544994a
Please correct these issues, my other feedback was cosmetic and future-looking and can be reinstated when there are options from getenvoy.io and/or azure.
|
/assign-from @envoyproxy/senior-maintainers |
|
@envoyproxy/senior-maintainers assignee is @mattklein123 |
mattklein123
left a comment
There was a problem hiding this comment.
Thanks for the cleanups here. A few questions/comments.
/wait
|
|
||
| You can run Envoy on a Windows host using the official Windows Docker image. | ||
|
|
||
| .. warning:: |
There was a problem hiding this comment.
Let's discuss in our meeting tomorrow morning, but in general my view is:
- Remove the experimental warning. We deemed it GA and users understand when it was GA, can open bugs, etc.
- Remove the not open source warning (Envoy itself is Apache 2, and any base image is owned by Microsoft, and anyone using Windows understands what they are dealing with). If there are legal concerns here we can run them by the CNCF.
- Optionally add a warning about size and link to the tracking issue, though I tend to agree with @wrowe that anyone that downloads the image knows it's big. There may be value though in telling people the tracking issue.
| # We need to set ENVOY_DOCS_VERSION_STRING and ENVOY_DOCS_RELEASE_LEVEL for Sphinx. | ||
| # We also validate that the tag and version match at this point if needed. | ||
| VERSION_NUMBER=$(cat VERSION) | ||
| VERSION=$(cat VERSION) |
There was a problem hiding this comment.
Sorry can you explain this part more? I'm confused. Shouldn't the docs just be snapped to the versions that are going to be published? I don't think this should be the last version?
| .. warning:: | ||
|
|
||
| This image is currently experimental and includes binaries that are not open source | ||
|
|
There was a problem hiding this comment.
Reminder that we agreed to drop the statement above in line 177.
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Signed-off-by: Ryan Northey [email protected]
Commit Message: docs: Cleanup (and fix) docker installation instructions
Additional Description:
Currently the install page shows docker images that dont exist. This PR will fix that
It will also fix #15730 - ie make clear in all docs how to run latest stable and current dev
In addition it shifts the windows docker install instructions into the docker section and out of the host install sections (and thus bringing parity)
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]