<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Swarm - 标签 - 海岸实验站</title>
        <link>https://study.seahi.me/tags/swarm/</link>
        <description>Swarm - 标签 - 海岸实验站</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>lu_xdxy@163.com (seaHi)</managingEditor>
            <webMaster>lu_xdxy@163.com (seaHi)</webMaster><lastBuildDate>Tue, 30 Dec 2025 00:00:00 &#43;0000</lastBuildDate><atom:link href="https://study.seahi.me/tags/swarm/" rel="self" type="application/rss+xml" /><item>
    <title>8.7 Docker Stack</title>
    <link>https://study.seahi.me/8.7swarmstack/</link>
    <pubDate>Tue, 30 Dec 2025 00:00:00 &#43;0000</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.7swarmstack/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/1767155102345.jpg" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>摘要<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content"><strong>Docker Stack</strong> 是 Docker Swarm 集群中用于部署和管理多容器应用的工具。它的语法与 Docker Compose 非常相似，都使用 YAML 格式的配置文件。但与 Compose 不同的是，Stack 运行在 Swarm 集群环境中，可以充分利用集群的高可用、负载均衡等特性。</div></div></div>]]></description>
</item><item>
    <title>8.6 Swarm 高可用与负载均衡</title>
    <link>https://study.seahi.me/8.6%E9%AB%98%E5%8F%AF%E7%94%A8%E4%B8%8E%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/</link>
    <pubDate>Mon, 29 Dec 2025 00:00:00 &#43;0000</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.6%E9%AB%98%E5%8F%AF%E7%94%A8%E4%B8%8E%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/1766986599660.jpg" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>实验介绍<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content"><p>在 Docker Swarm 集群中，<strong>高可用性（High Availability）</strong> 和 <strong>负载均衡（Load Balancing）</strong> 是两个核心特性。</p>
<ul>
<li><strong>高可用</strong>：当集群中的某个节点发生故障时，Swarm 会自动检测并将其上运行的任务调度到其他健康节点，确保服务不中断。</li>
<li><strong>负载均衡</strong>：Swarm 将访问流量自动分发到后端的各个容器副本。</li>
</ul></div></div></div>]]></description>
</item><item>
    <title>8.5 Swarm网络</title>
    <link>https://study.seahi.me/8.5swarm%E7%BD%91%E7%BB%9C/</link>
    <pubDate>Thu, 25 Dec 2025 00:00:00 &#43;0000</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.5swarm%E7%BD%91%E7%BB%9C/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/1766627631304.jpg" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>实验概述<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content">本实验将带你深入了解 Swarm 的 <strong>Overlay（覆盖）网络</strong>。你将亲手构建一个跨主机的网络环境，部署 MySQL 和 Typecho 博客应用，并验证利用服务名（Service Name）进行服务发现的能力。</div></div></div>]]></description>
</item><item>
    <title>8.4 Swarm存储卷应用</title>
    <link>https://study.seahi.me/8.4swarm%E5%AD%98%E5%82%A8%E5%8D%B7/</link>
    <pubDate>Thu, 18 Dec 2025 00:00:00 &#43;0000</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.4swarm%E5%AD%98%E5%82%A8%E5%8D%B7/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/1766031613349.jpg" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>实验概述<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content">本实验将带你探究 Swarm 中默认存储卷的局限性，并学习如何使用 NFS（网络文件系统）作为共享存储，实现数据的真正持久化，确保服务在不同节点间迁移时数据的安全与一致。</div></div></div>]]></description>
</item><item>
    <title>8.3 Swarm滚动更新和回滚</title>
    <link>https://study.seahi.me/8.3swarm%E6%BB%9A%E5%8A%A8%E6%9B%B4%E6%96%B0%E5%92%8C%E5%9B%9E%E6%BB%9A/</link>
    <pubDate>Wed, 17 Dec 2025 00:00:00 &#43;0000</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.3swarm%E6%BB%9A%E5%8A%A8%E6%9B%B4%E6%96%B0%E5%92%8C%E5%9B%9E%E6%BB%9A/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/1765951139966.webp" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>实验概述<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content"><p>在实际的生产环境中，应用的版本更新是家常便饭。传统的更新方式往往需要停机维护，这会导致服务中断，影响用户体验。而 Docker Swarm 提供了&quot;滚动更新&quot;功能，可以让你在不中断服务的情况下，平滑地将应用升级到新版本。</p>
<p>这篇实验手册将带你学习如何在 Swarm 集群中进行滚动更新和回滚操作，掌握零停机部署的技巧。</p>
</div></div></div>]]></description>
</item><item>
    <title>8.2 服务管理与动态伸缩</title>
    <link>https://study.seahi.me/8.2%E5%9C%A8swarm%E4%B8%AD%E7%AE%A1%E7%90%86%E6%9C%8D%E5%8A%A1/</link>
    <pubDate>Mon, 24 Jun 2024 00:00:00 &#43;0000</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.2%E5%9C%A8swarm%E4%B8%AD%E7%AE%A1%E7%90%86%E6%9C%8D%E5%8A%A1/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/1765953121055.png" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>摘要<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content"><p>在 Docker Swarm 集群中，“服务 (Service)” 是我们部署和管理应用的核心概念。你可以把服务看作是运行在集群中的一组容器的定义。Swarm 会确保指定数量的服务实例（称为“任务”或“副本”）始终在运行，并且可以轻松地对服务进行伸缩和更新。</p>
<p>这篇实验手册将引导你学习如何在 Swarm 集群中部署、管理和更新服务。</p>
</div></div></div>]]></description>
</item><item>
    <title>8.1 搭建 Docker Swarm 集群</title>
    <link>https://study.seahi.me/8.1%E6%90%AD%E5%BB%BA%E9%9B%86%E7%BE%A4swarm/</link>
    <pubDate>Wed, 05 Jun 2024 14:36:00 &#43;0800</pubDate><author>
        <name>seaHi</name>
    </author><guid>https://study.seahi.me/8.1%E6%90%AD%E5%BB%BA%E9%9B%86%E7%BE%A4swarm/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="https://static.seahi.me/2025/12/PixPin_2025-12-10_19-37-17.png" referrerpolicy="no-referrer">
            </div><div class="details admonition abstract open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg></span>摘要<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content"><p>Docker Swarm 是 Docker 官方提供的容器编排工具，它可以让你将多个 Docker 主机组合成一个集群，像管理单个 Docker 主机一样来管理它们。</p>
<p>这篇实验手册将带你一步步搭建一个简单的 Docker Swarm 集群。</p>
</div></div></div>]]></description>
</item></channel>
</rss>
