Docker Swarm 2020(2)Docker Swarm and Portainer
Just follow my previous Portainer Installation, I have it running on the manager node
> ./portainer --template-file "/opt/portainer/templates.json" -p 0.0.0.0:9000 --data /opt/portainer/data
Portainer Swarm Cluster Endpoints
Just add the manage node 2375 into the Portainer
Login in to the UI Console and find the Swarm link in the menu http://rancher-home:9000/#/swarm
We can find and go to the Swarm Visualizer http://rancher-home:9000/#/swarm/visualizer
In Visualizer, we can see all the nodes and see what is running.
Create a new Service nginx
http://rancher-home:9000/#/services/new
Name: nginx3
Registry: DockerHub
Image: docker.io nginx:latest
Port mapping: host:8801 -> Container 80 TCP Ingress
Click Create Service
It runs on one node, because we choose Ingress, so we can visit it any nodes.
http://rancher-home:8801/
http://rancher-worker1:8801/
http://rancher-worker2:8801/
References:
https://www.jianshu.com/p/4d3de35f3a2d
https://www.jianshu.com/p/ed89aa65978f
https://dockerswarm.rocks/portainer/
https://zhuanlan.zhihu.com/p/106333254
分享到:
相关推荐
Docker Swarm 模式集群操作API封装和Swarm UI的中间层应用
The DevOps 2.1 Toolkit Docker Swarm 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请...
docker swarm 20.10.17 + portainer-ce 2.14.2 + nginx 1.23.1 一条龙离线包
Docker Swarm 管理资源.rar
Docker Swarm架构的特性与基本实践.docx
将功能作为服务(在Docker Swarm之上)
Docker Swarm的一个可视化工具 使用 Docker Remote API, Node.JS, 和D3实现
Unleash the power of operating Docker Swarm, Docker Machine and Docker Compose together. Get to grips with Docker Swarm, one of the key components of the Docker ecosystem A comprehensive guide that ...
Linux运维-运维课程MP4频-05容器-69dockerswarm网络存储卷-nfs准备.mp4
docker swarm部署分布式微服务编排文件示例
该资源来自Dockercon 2014“Docker Swarm”。
Docker swarm是一个用于创建Docker主机(运行Docker守护进程的服务器)集群的工具,具备服务发现,负载均衡,任务分发、调度,服务状态一致性保持,滚动更新,安全传输等特性。从docker v1.12开始,docker engine ...
ansible-dockerswarm, 基于"Swarm Mode" 和Ansible的Docker 引擎 Ansible角色:Docker 群 在 Docker/centos和 debian/ubuntu服务器上使用新的Docker"发动机模式群"( https://docs.docker.com/engine/swarm/ ) 建立集
Portainer是一个轻量级的docker环境管理UI,可以用来管理docker宿主机和docker swarm集群,这篇文章主要介绍了使用portainer连接远程docker的方法,需要的朋友可以参考下
第四章:Docker容器升华--swarm集群一、Docker Swarm集群概述;二、Docker Swarm核心架构;三、案例:实现Docker Swarm
This book explores the practices and tools required to run a Swarm cluster. We'll go beyond a simple deployment. We'll explore how to create a Continuous Deployment process. We'll set up multiple ...
Ansible-ansible-docker_swarm.zip,负责安装和配置Docker Swarm群集的角色。Docker_Swarm,ansible是一个简单而强大的自动化引擎。它用于帮助配置管理、应用程序部署和任务自动化。
Jenkins Docker Swarm插件描述该插件允许将Docker Swarm(集群模式)添加为云代理提供程序。 这允许从给定的Docker映像动态启动Docker Swarm中的一次性Jenkins代理。 创建是通过完成的,该允许在代理容器上设置...
Docker简介 Docker 是一个开源的应用容器引擎,让...docker swarm是一个容器编排管理工具,docker-engine在1.12版本之后集成了docker swarm,不需要再单独安装。 docker swarm的功能,举个例子,有3台机器都安装了do