-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update admin documentation #96
Comments
The Ubuntu desktop install is a good inspiration for structuring the install documentation. The openai cookbook indexing and linking is a good structure to have. The linked pages are to be relative links pointing to our mkdocs pages. Another example is Devcookbook. |
a install script is located under
Won't this be a problem, if you run it from the |
The users are need to run it from top-level. Please see this README. source deploy/install.sh The installation steps require strict sequence of steps. We will improve upon them to automate most of these steps in near future. |
Updated on branch 96-update-admin-documentation |
Comments:Admin section:
Questions:Should I run test the 'admin doc install guide' on the DTaaS integration server or do you have another linux server available I can test on? My own PC is running windows machine.
I know me talked about this one, but I'm not sure what and where to update. Is this already done?
Are the network diagram already made? If yes which one is it in the draw.io file, the first one?
Is this already written somewhere or do I need to write this? If so I think this would take me some time, because I have a knowledge gap, and each scenario would need to be specified further in order for me to understand.
Same question as number 4.
Not sure how to do this one and what the requirements are. Is it to take one of the draw.io diagrams and convert to Mermaid diagram? |
The Ubuntu install procedure gives a template for what we can write about the installation steps. Let us follow that for now.
The integration server
I have the steps written in a markdown file. We can discuss a way to get this done easily
Hope the explanation helps. We will meet soon anyway and so we can discuss more soon. Thanks. |
@prasadtalasila I have noted some reflections while trying the trial installation.
|
@nichlaes am not sure if you received answers to these questions. In case you did not receive them, please see below.
For now, just access the website and check all the steps outlined in
This is the password check made by Traefik gateway. It should be made obvious in the installation documentation. Your idea of post-install checklist is a good one. Can you please add a page to the admin documentation section describing the checklist steps and the expected results?
It can be any OAuth provider. But the gitlab is also integrated into other components of DTaaS software. Thus having another OAuth provider will be extra work for user. This question and the explanation is a good candidate for admin cookbook section. |
Adding more usersCreate new account with on gitlabWithin DTaaS codebase## create required files
cd DTaaS/files
cp -R user2 <username>
## start new workspace for user
cd ..
docker run -d \
-p <port>:8080 \
--name "ml-workspace-<username>" \
-v "${TOP_DIR}/files/<username>:/workspace" \
-v "${TOP_DIR}/files/<username>:/workspace/common" \
--env AUTHENTICATE_VIA_JUPYTER="" \
--env WORKSPACE_BASE_URL="<username>" \
--shm-size 512m \
--restart always \
mltooling/ml-workspace:0.13.2
## add route in gateway
cd servers/config/gateway
htpassword auth <username>
vi dynamic/fileConfig.yml
http:
routers:
....
<username>:
entryPoints:
- http
rule: 'Host(`foo.com`) && PathPrefix(`/<username>`)'
middlewares:
- basic-auth
service: <username>
services:
...
<username>:
loadBalancer:
servers:
- url: 'http://localhost:<port>' Add new servicesProvide instructions for installing MongoDB link services to local ports using SSH port mappingdo SSH-link from workspace to remote services Set read only access to common asset area:docker run -d \
-p 8091:8080 \
--name "ml-workspace-user2" \
-v "${TOP_DIR}/files/user2:/workspace" \
-v "${TOP_DIR}/files/common:/workspace/common:ro" \
--env AUTHENTICATE_VIA_JUPYTER="" \
--env WORKSPACE_BASE_URL="user2" \
--shm-size 512m \
--restart always \
mltooling/ml-workspace:0.13.2 || true Hosting site without httpscorrect the following sentence on deploy/admin/overview.md If you do not have a reverse proxy, please replace https://foo.com with http://foo.com in client .env file and in OAuth registration. Other installation configuration remains the same. provide correct sample client env.js and OAuth table |
PR #300 completes most of this work. |
Make sure that all the code in
deploy/
andscript/
have been correctly ported fromrelease-v0.2
branch tofeature/distributed-demo
. (cross-check PR Feature/distributed demo #94) - (Done)The "Admin" tab is really "Installation", though there may be administrative (post-install) tasks there too. But it leaps into the detail of the installation without explaining that there are multiple stages and different bits of software that need to be installed in stages. This level of description may make sense for members of the development team, but to someone unfamiliar it is very difficult to follow/understand. - (Done)
There needs to be an overview of the installation in terms of "we're going to do this, then we're going to do that" so that an unfamiliar user can follow it more easily. Ideally, you need to be able to take a smart (but unfamiliar) person and put them in a room with this website, and have them follow your instructions to install the product. As it stands, I think they would be very confused very quickly.(cross-check PR Updates docs #215) - (Done)
The instructions and install.sh need to be updated for basepath. All the ml-workspace containers need to have basepath as well. See issue Update install instructions for basepath #88 for more information
Add installation instructions for Gitlab OAuth integration. - (Done)
Add representative network diagrams on all the installation pages (the docs/developer/system/DTaaS.drawio) (cross-check PR Updates docs #215) - (Done)
Admin --> Installation --> Cookbook page
docs/admin/guides
to add notes on modifications to the standard deployment scenarios. Currently known scenarios:ssl/
) / LetsEncrypt certificatesUpdate servers/config/gateway/README.md to include auth in the volume mapping of docker container. - (Done)
Update the servers/config/gateway/README.md for traefik-gateway launch command to use auth. - (Done)
Document basepath installations and possibility of multiple installations. See issue #88
One Mermaid diagram showing the installation of different software components (cross-check PR Updates docs #215) - (Done)
The text was updated successfully, but these errors were encountered: