Docker Swarm and Portainer #12373
Unanswered
Jens-Wymeersch
asked this question in
Help
Replies: 1 comment 7 replies
-
Hello! That’s correct. If the node running Portainer goes down, you’ll lose access to Portainer as well. We typically recommend, if possible, running the Portainer server outside of your swarm on a dedicated Docker standalone host and connecting the swarm via an agent. If you decide to keep Portainer within the swarm, ensure that, in the event it goes down, another node can access the Portainer data—usually through a network share. However, please note that storing Portainer’s data on a network share can have issues as databases and network shares can be hit and miss |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ask a Question!
Hello,
I used the following tutorial https://www.youtube.com/watch?v=nmas_zbcMeU
3 ubuntu servers (v24.04)
for the virtual IP - keepalived
for replicated storage - microceph - replicated storage is residing on /mnt/cephfs/
Both work perfectly and tested.
Dockerswarm looks like
The purpose is to have an HA and load balanced environment for my docker containers.
All my nodes are manager nodes. Based on the documentation, https://portal.portainer.io/knowledge/how-can-i-ensure-portainers-configuration-is-retained, I need to restrict the portainer server to one node.
So if this node goes down, I won't be able to access portainer till it gets up again. Correct ?
If I am correct, I have 2 options
Other options or comments ?
Beta Was this translation helpful? Give feedback.
All reactions