You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/06 16:09:00 UTC

[GitHub] [airflow] mik-laj opened a new issue #14644: Hard-to-find documentation for a Docker image

mik-laj opened a new issue #14644:
URL: https://github.com/apache/airflow/issues/14644


   Hello,
   
   Currently, documentation for the Docker image is available in the middle of the ["Production Deployment" page](http://airflow.apache.org/docs/apache-airflow/stable/production-deployment.html). This makes it difficult for the user to find this documentation. Also, this section is called "Production deployment", but this image is also used in the development environment. I think we should extract the image sections, but I'm not sure where. I am thinking of a few solutions:
   a) create a new page/section in `apache-airflow` package. Then the documentation will available as a new menu item in the current documentation package. See "Content" section on http://airflow.apache.org/docs/apache-airflow/stable/index.html
   b) create a new documentation package. Then the documentation will be available as a new item on [docuemtation index](http://airflow.apache.org/docs/)
   
   I prefer the second solution, but I am open to discussions.
   
   Probably related: https://github.com/apache/airflow/issues/11740
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj closed issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #14644:
URL: https://github.com/apache/airflow/issues/14644


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj edited a comment on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792072453


   Keycloak publish documentation for an image separately from the documentation for a project.
   Keycloak documentation index: https://www.keycloak.org/documentation.html
   Keycloak server documentation: https://www.keycloak.org/docs/latest/server_installation/index.html
   
   Jupyter has very extensive documentation for the image and publishes it separately.
   Documentation index: https://jupyter.org/documentation
   Docker image: https://jupyter-docker-stacks.readthedocs.io/en/latest/
   
   Has anyone seen the documentation that describes image building in the main documentation?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk edited a comment on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-794503789


   I think many people are asking for docker image and have hard time finding it.  Separate section (option b) is fine). However ☺️ think there is one caveat with the current airflow/providers/split which it will only reinforce. 
   
   Once you are in airflow documentation, it is not easily to realize that there are more components (providers and image when it is separated out). Most people will not go to the docs of airflow via url - they will reach it via Google search or history in the browser. Then - when you are already in airflow docs, there is no way of knowing that you should click on the airflow logo to get to the airflow + providers + image directory. And it is not very accessibility friendly. So while separating it out is fine, we should - i think also add some way for people. To know that provider/image documentation is there - other than clicking at the Airflow logo. Maybe a separate section in the table of content should be added ? Something that will clearly say hat You can reach out to full set of airflow- related docs this way? 
   
   Not sure about name though? Additional documentation? Beyond Airflow ? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792736174


   (Screenshots are of the section of the doc Table of Contents of the projects)
   
   Elastic(search):
   
   https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html#install-elasticsearch
   
   ![image](https://user-images.githubusercontent.com/34150/110322710-745a4280-800b-11eb-8be3-eeb6436243ec.png)
   
   Prisma (v1, v2 has changed the architecture to become just a library so doesn't have a server component any longer:
   
   https://v1.prisma.io/docs/1.34/prisma-server/deployment-environments/docker-rty1/
   
   ![image](https://user-images.githubusercontent.com/34150/110323036-ea5ea980-800b-11eb-9101-a1aad23c3933.png)
   
   Keycloak is kind of a hybrid -- it's in the normal docs menu, it just links out to a README.md.
   
   ![image](https://user-images.githubusercontent.com/34150/110323113-07937800-800c-11eb-91a7-ffa0905d33d1.png)
   
   It's a fairly uncommon case that projects document much about their docker file anyway from what I can see, jupyter seems to be the exception in having it's docker docks on a totally different url to the project docs from my search just now.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-794503789


   I think many people are asking for docker image and have hard time finding it separate section (option b) is fine). However ☺️ think there is one caveat with the current airflow/providers/split which it will only reinforce. 
   
   Once you are in airflow documentation, it is not easily to realize that there are more components (providers and image when it is separated out. Most people will not go to the docs of airflow via url - they will reach it via Google search or history in the browser. Then - when you are already in airflow docs, there is no way of knowing that you should click on the airflow logo to get to the airflow + providers + image directory. And it is not very accessibility friendly. So while separating it out is fine, we should - i think also add some way for people. To know that provider/image documentation is there - other than clicking at the Airflow logo. Maybe a separate section in the table of content should be added ? Something that will clearly say hat You can reach out to full set of airflow- related docs this way? 
   
   Not sure about name though? Additional documentation? Beyond Airflow ? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792262118


   Good question, I'll have a look around


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-795441852


   I would like to add a few comments. I am working on more docker-composer example files so that users can test more easily. 
   See: https://github.com/apache/airflow/issues/8605#issuecomment-759469443
   When we create a new package of documentation for all things related to Docker, it will be easier to put it together.
   
   Another thing that I am still missing is the description of how to use `DockerOperator` together with Docker-compose. Many users try to use this together but have problems with it because `/var/docker.socks` cannot be read by the `airflow` user. The simplest solution is: to use`tecnativa/docker-socket-proxy:0.1.1`. See: https://github.com/apache/airflow/issues/8605
   
   So this documentation will increasingly describe how to deploy Airflow in a Docker/docker-compose environment much like the documentation for Helm Chart describes how to deploy Airflow in a Kubernetes environment.
   
   Also, note that the documentation that describes how to build a Docker image describes building an image for multiple versions of Airflow. You can use the same instruction to build the image for Airflow 1.10 and for Airflow 2.0. The only difference is the additional flag.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792113531


   Keycloak publishes documentation for an image separately from the documentation for a project.
   Keycloak documentation index: https://www.keycloak.org/documentation.html
   Keycloak server documentation: https://www.keycloak.org/docs/latest/server_installation/index.html
   
   Jupyter has very extensive documentation for the image and publishes it separately also.
   Documentation index: https://jupyter.org/documentation
   Docker image: https://jupyter-docker-stacks.readthedocs.io/en/latest/
   
   Have you seen a complex project that describes building images in the main project documentation? I'd love to see it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792004973


   Docs for the helm chart feel right as a new "package" (I really like that idea!) but docker image feels more like it is about/for apache-airflow so I favour option a.
   
   My thinking is that if you want to learn how to run Airflow, your going to be looking at the docs of apache-airflow for config reference etc, and to me docker sort of fits in there. I think the other reason why it feels wrong as separate doc package is because it's not a package we actually release.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk edited a comment on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-794503789


   I think many people are asking for docker image and have hard time finding it.  Separate section (option b) is fine). However ☺️ think there is one caveat with the current airflow/providers/split which it will only reinforce. 
   
   Once you are in airflow documentation, it is not easily to realize that there are more components (providers and image when it is separated out. Most people will not go to the docs of airflow via url - they will reach it via Google search or history in the browser. Then - when you are already in airflow docs, there is no way of knowing that you should click on the airflow logo to get to the airflow + providers + image directory. And it is not very accessibility friendly. So while separating it out is fine, we should - i think also add some way for people. To know that provider/image documentation is there - other than clicking at the Airflow logo. Maybe a separate section in the table of content should be added ? Something that will clearly say hat You can reach out to full set of airflow- related docs this way? 
   
   Not sure about name though? Additional documentation? Beyond Airflow ? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj removed a comment on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj removed a comment on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792072453


   Keycloak publish documentation for an image separately from the documentation for a project.
   Keycloak documentation index: https://www.keycloak.org/documentation.html
   Keycloak server documentation: https://www.keycloak.org/docs/latest/server_installation/index.html
   
   Jupyter has very extensive documentation for the image and publishes it separately.
   Documentation index: https://jupyter.org/documentation
   Docker image: https://jupyter-docker-stacks.readthedocs.io/en/latest/
   
   Has anyone seen the documentation that describes image building in the main documentation?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj edited a comment on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792113531


   Keycloak publishes documentation for an image separately from the documentation for a project.
   Keycloak documentation index: https://www.keycloak.org/documentation.html
   Keycloak server documentation: https://www.keycloak.org/docs/latest/server_installation/index.html
   
   Jupyter has very extensive documentation for the image and publishes it separately also.
   Documentation index: https://jupyter.org/documentation
   Docker image: https://jupyter-docker-stacks.readthedocs.io/en/latest/
   
   Have you seen a project with non-trivial docker-images that describes building images in the main project documentation? I'd love to see it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792072453


   Keycloak publish documentation for an image separately from the documentation for a project.
   Keycloak documentation index: https://www.keycloak.org/documentation.html
   Keycloak server documentation: https://www.keycloak.org/docs/latest/server_installation/index.html
   
   Jupyter has very extensive documentation for the image and publishes it separately.
   Documentation index: https://jupyter.org/documentation
   Docker image: https://jupyter-docker-stacks.readthedocs.io/en/latest/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-794613029


   @potiuk Terraform has a drop down menu in the section under the link with the documentation.
   <img width="390" alt="Screenshot 2021-03-10 at 00 38 29" src="https://user-images.githubusercontent.com/12058428/110553395-322f1f00-8139-11eb-976b-c88b84f85b6d.png">
   
   They also have links to other documentation packages in the side menu.
   <img width="513" alt="Screenshot 2021-03-10 at 00 38 43" src="https://user-images.githubusercontent.com/12058428/110553284-13c92380-8139-11eb-83b2-23711e5cb4b9.png">
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj edited a comment on issue #14644: Hard-to-find documentation for a Docker image

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #14644:
URL: https://github.com/apache/airflow/issues/14644#issuecomment-792113531


   Keycloak publishes documentation for an image separately from the documentation for a project.
   Keycloak documentation index: https://www.keycloak.org/documentation.html
   Keycloak server container documentation: https://github.com/keycloak/keycloak-containers/blob/12.0.4/server/README.md
   
   Jupyter has very extensive documentation for the image and publishes it separately also.
   Documentation index: https://jupyter.org/documentation
   Docker image: https://jupyter-docker-stacks.readthedocs.io/en/latest/
   
   Have you seen a project with non-trivial docker-images that describes building images in the main project documentation? I'd love to see it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org