Skip to content

feat: add documentation for diracx container deploment#851

Open
marianne013 wants to merge 2 commits intoDIRACGrid:mainfrom
marianne013:containerdoc
Open

feat: add documentation for diracx container deploment#851
marianne013 wants to merge 2 commits intoDIRACGrid:mainfrom
marianne013:containerdoc

Conversation

@marianne013
Copy link
Copy Markdown
Contributor

This attempts to address #798.

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented Mar 24, 2026

Comment thread docs/admin/how-to/install/minimal-requirements.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
At the time of writing, the only supported way of running DiracX is through **[Kubernetes](https://kubernetes.io/docs/tutorials/kubernetes-basics/)**.
At the time of writing, the only fully supported way of running DiracX is through **[Kubernetes](https://kubernetes.io/docs/tutorials/kubernetes-basics/)**.

If you need to decouple your DIRAC v9 upgrade from a kubernetes deployment, you can deploy DiracX in a container. This has only been tested in conjunction with a DIRAC v9.0 deployment. In this case, your starting point is: [Prepare a node for container deployment](prepare-container-node.md).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this sentence is overly conservative. We know the changes in v9.1 are unrelated it's more likely to be affected by diracx updates (e.g. #842) though even then it shouldn't be too bad.

Suggested change
If you need to decouple your DIRAC v9 upgrade from a kubernetes deployment, you can deploy DiracX in a container. This has only been tested in conjunction with a DIRAC v9.0 deployment. In this case, your starting point is: [Prepare a node for container deployment](prepare-container-node.md).
If you need to decouple your DIRAC v9 upgrade from a kubernetes deployment, you can deploy DiracX in a container. In this case, your starting point is: [Prepare a node for container deployment](prepare-container-node.md).

Comment thread mkdocs.yml Outdated
- admin/how-to/install/index.md
- Minimal requirements: admin/how-to/install/minimal-requirements.md
- Installing kubernetes: admin/how-to/install/install-kubernetes.md
- Preparing a container node: admin/how-to/install/prepare-container-node.md
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need a way of making the table of contents clearer, maybe Alt: or something as a prefix to make clear it's an alternative to the previous? Or maybe just having a single page after Minimal requirements named Installing without kubernetes or something?

Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install/installing-in-a-container.md Outdated
@chrisburr chrisburr marked this pull request as draft March 27, 2026 07:50
@marianne013
Copy link
Copy Markdown
Contributor Author

Hi @fstagni , @chrisburr This has now a lot of comments, and I am not sure we can re-organize the whole documentation on top of that. Can I suggest that I address all immediate issues (text, links etc) and we publish it in the location it's currently at, and make the re-organisation a separate issue ("2 points") ?

@marianne013 marianne013 force-pushed the containerdoc branch 2 times, most recently from 2693e7c to 733cbe9 Compare April 1, 2026 15:42
@aldbr
Copy link
Copy Markdown
Contributor

aldbr commented Apr 16, 2026

ddev meeting
As we have bunch of people reading the documentation now, @chrisburr and @fstagni suggest we should apply the changes within this PR. They will recheck the comments, and will review it again to give more explicit instructions.

@chrisburr
Copy link
Copy Markdown
Member

I've pushed a suggestion for the layout change, what do you think?

@fstagni
Copy link
Copy Markdown
Contributor

fstagni commented Apr 16, 2026

I've pushed a suggestion for the layout change, what do you think?

It does not solve, IMHO. Also some links are broken now. I will push myself.


Note: The username and password will then re-appear in the `diracx.env` connection strings for the databases.

You can now continue to [Convert CS](../convert-cs.md). After this please read [Installing DiracX](../installing.md) for some background information before proceeding to [Installing DiracX in a container](installing-in-a-container.md).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this please read Installing DiracX for some background information before proceeding to

This is rather confusing. Which info should be gathered from that document, which contains (also) kubernetes specific info?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment the table of contents in the sidebar is unreadable with this:

Screenshot 2026-04-23 at 10 23 36

The other issue with this is that you need to convert the CS before installing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can address "After this please read Installing DiracX for some background information before proceeding to", but I am staying off the layout.

@fstagni
Copy link
Copy Markdown
Contributor

fstagni commented Apr 16, 2026

I've pushed a suggestion for the layout change, what do you think?

It does not solve, IMHO. Also some links are broken now. I will push myself.

I pushed a new schema. Have a look.

@aldbr
Copy link
Copy Markdown
Contributor

aldbr commented Apr 29, 2026

@fstagni any update on this?

@fstagni
Copy link
Copy Markdown
Contributor

fstagni commented Apr 29, 2026

@fstagni any update on this?

I am done with this. The ball is again on @marianne013

@marianne013
Copy link
Copy Markdown
Contributor Author

Ha, just as I am about to go on holiday.
I think the only outstanding issue is
#851 (comment)
or does someone else see anything else ?

Co-authored-by: Federico Stagni <federico.stagni@cern.ch>
Co-authored-by: Chris Burr <chrisburr@users.noreply.github.com>
@marianne013
Copy link
Copy Markdown
Contributor Author

@fstagni @aldbr

I've addressed the last bit that I think was still open. Is there any chance, we can please please release this ?
Daniela

@aldbr aldbr marked this pull request as ready for review May 6, 2026 15:31
@aldbr aldbr requested review from chrisburr and fstagni May 6, 2026 15:32
Comment thread docs/admin/how-to/install/installing-in.md Outdated
Comment thread docs/admin/how-to/install-without-kubernetes/index.md Outdated
Comment thread docs/admin/how-to/install-without-kubernetes/prepare-container-node.md Outdated
Comment thread docs/admin/how-to/install-without-kubernetes/prepare-container-node.md Outdated
Comment thread docs/admin/how-to/install-without-kubernetes/installing-in-a-container.md Outdated
Comment thread docs/admin/how-to/install-without-kubernetes/prepare-container-node.md Outdated
Comment thread mkdocs.yml
Co-authored-by: Chris Burr <chrisburr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Provide documentation to deploy diracx in a container instead of kubernetes

5 participants