Docker Community Forums

Share and learn in the Docker community.

Portainer at docker swarm replicas or global too have it HA

hello,

I just deployed Portainer at a smal Docker Swarm Cluster.
curl -L https://downloads.portainer.io/portainer-agent-stack.yml -o portainer-agent-stack.yml
docker stack deploy -c portainer-agent-stack.yml portainer
with that rsult:
portainer_agent portainer portainer/agent:latest global 3 / 3
portainer_portainer portainer portainer/portainer-ce:latest Replicas 1 / 1

The plan is too have it HA (High availability) .

When is scale it up I cant log in anymore, and when I deploy it with 3 replicas I cant register.

I also tried to deploy portainer-ce global but only 1 will start , the other 2 are only in creation.
portainer_agent portainer portainer/agent:latest global 3 / 3
portainer_portainer portainer portainer/portainer-ce:latest global 1 / 3
|preparing|o278eksruyqo06gi7ya89qlta -|docker2|2021-04-18 17:09:54|
|preparing|ray5y8r1d76un0v9imzqs2ihj -|docker1|2021-04-18 17:09:54|
|running|lhyucdgd8otk50umxm26y3liy -|docker3|2021-04-18 18:49:34|

What could I try next?

greetings

A replicated service is a Docker Swarm service that has a specified number of replicas running. These replicas consist of multiple instances of the specified Docker container. In our case, each replica will be a unique Redis instance.