Native Docker Clustering with Swarm

Fabrizio Soppelsa, Chanwit Kaewkasi

  • 出版商: Packt Publishing
  • 出版日期: 2016-12-21
  • 售價: $1,860
  • 貴賓價: 9.5$1,767
  • 語言: 英文
  • 頁數: 248
  • 裝訂: Paperback
  • ISBN: 1786469758
  • ISBN-13: 9781786469755
  • 相關分類: Docker
  • 下單後立即進貨 (約3~4週)

相關主題

商品描述

Key Features

  • Get to grips with Docker Swarm, one of the key components of the Docker ecosystem.
  • Optimize Swarm and SwarmKit features for scaling massive applications through containers.
  • Learn about Docker’s scheduling tricks, high availability, security, and platform scalability.

Book Description

Docker Swarm serves as one of the crucial components of the Docker ecosystem and offers a native solution for you to orchestrate containers. It’s turning out to be one of the preferred choices for Docker clustering thanks to its recent improvements.

This book covers Swarm, Swarm Mode, and SwarmKit. It gives you a guided tour on how Swarm works and how to work with Swarm. It describes how to set up local test installations and then moves to huge distributed infrastructures. You will be shown how Swarm works internally, what’s new in Swarmkit, how to automate big Swarm deployments, and how to configure and operate a Swarm cluster on the public and private cloud.

This book will teach you how to meet the challenge of deploying massive production-ready applications and a huge number of containers on Swarm. You'll also cover advanced topics that include volumes, scheduling, a Libnetwork deep dive, security, and platform scalability.

What you will learn

  • Create and manage Swarm Mode clusters of any size
  • Get a backstage view of the biggest Swarms ever built : Swarm2k and Swarm3k, with their 2,300 and 4,700 nodes
  • Discovery mechanisms and Raft
  • Deploy your containerized app on Swarm
  • Administer Swarm clusters on AWS, Azure, and DigitalOcean
  • Integrate Flocker volumes with Swarm
  • Create and manage Swarms on OpenStack Magnum

About the Author

Fabrizio Soppelsa works as an Escalations Engineer for Mirantis Inc., the OpenStack company. Docker activist and advocate since Docker 0.3 and author of several articles on the Docker tools in three languages, he is also a concrete contributor to the projects, especially Machine. He currently lives in Moscow, Russia, where he is the Docker Meetup organizer with his spider Mosha.

I would like to thank ClusterHQ folks for their help on Flocker, especially, Ryan Wallner. the Yandex team and Denis Kutin for having given me a free OpenStack lab on which I could easily access. Mirantis for creating the (I think) best OpenStack distribution. The Docker team and the Docker community, for all the fun.

Chanwit Kaewkasi is an Assistant Professor at the School of Computer Engineering, Suranaree University of Technology, Thailand. Chanwit started contributing to the Docker Swarm project since 0.1 where he co-designed and implemented the strategy filters, the ZooKeeper discovery, and other features. He currently serves as Docker Swarm Maintainer and Docker Captain.

I'd like to thank my wife, Pitchaya, for her encouragement and best support to everything I'm working on, including this book.

Special thanks to the Docker Engineering team for their great software, Suranaree University of Technlogy for being my great workplace, and my parents for their support and lastly, Fabrizio for inviting me to co-author this great book.

Table of Contents

  1. Welcome to Docker Swarm
  2. Discover the Discovery Services
  3. Meeting Docker Swarm Mode
  4. Creating a Production-Grade Swarm
  5. Administer a Swarm Cluster
  6. Deploy Real Applications on Swarm
  7. Scaling Up Your Platform
  8. Exploring Additional Features of Swarm
  9. Securing a Swarm Cluster and the Docker Software Supply Chain
  10. Swarm and the Cloud
  11. What is next?

商品描述(中文翻譯)

主要特點



  • 深入了解Docker生態系統中的關鍵組件之一:Docker Swarm。

  • 通過容器優化Swarm和SwarmKit功能,實現大規模應用的擴展。

  • 學習Docker的調度技巧、高可用性、安全性和平台可擴展性。

書籍描述


Docker Swarm是Docker生態系統中至關重要的組件之一,為您提供了一個本地解決方案來編排容器。由於其最近的改進,它正在成為Docker集群的首選之一。


本書涵蓋了Swarm、Swarm Mode和SwarmKit。它將帶您深入了解Swarm的工作原理以及如何使用Swarm。它描述了如何設置本地測試安裝,然後轉向大型分佈式基礎設施。您將了解Swarm的內部工作原理,Swarmkit的新功能,如何自動化大型Swarm部署,以及如何在公共和私有雲上配置和操作Swarm集群。


本書將教您如何應對在Swarm上部署大型生產就緒應用程序和大量容器的挑戰。您還將涵蓋包括卷、調度、Libnetwork深入解析、安全性和平台可擴展性在內的高級主題。

您將學到什麼



  • 創建和管理任意大小的Swarm Mode集群

  • 深入了解有史以來最大的Swarm集群:Swarm2k和Swarm3k,它們分別擁有2,300和4,700個節點

  • 發現機制和Raft

  • 在Swarm上部署容器化應用程序

  • 在AWS、Azure和DigitalOcean上管理Swarm集群

  • 將Flocker卷與Swarm集成

  • 在OpenStack Magnum上創建和管理Swarm

關於作者


Fabrizio Soppelsa現任Mirantis Inc.的升級工程師,該公司是OpenStack公司。自Docker 0.3以來,他一直是Docker活動家和倡導者,並在三種語言中撰寫了幾篇關於Docker工具的文章。他還是這些項目的實際貢獻者,尤其是Machine。他目前居住在俄羅斯莫斯科,是Docker Meetup的組織者。


我要感謝ClusterHQ的人們對Flocker的幫助,特別是Ryan Wallner。感謝Yandex團隊和Denis Kutin提供給我一個免費的OpenStack實驗室,我可以輕鬆訪問。感謝Mirantis創建了(我認為)最好的OpenStack發行版。感謝Docker團隊和Docker社區,帶來的所有樂趣。


Chanwit Kaewkasi是泰國蘇拉納里工業大學計算機工程學院的助理教授。Chanwit從0.1版本開始為Docker Swarm項目做出貢獻,他共同設計和實現了策略過濾器、ZooKeeper發現和其他功能。他目前擔任Docker Swarm維護者和Docker Captain。


我要感謝我的妻子Pitchaya,她對我所做的一切,包括這本書的鼓勵和最大的支持。


特別感謝Docker工程團隊提供的優秀軟件,蘇拉納里工業大學成為我優秀的工作場所,我的父母對我的支持,最後,感謝Fabrizio邀請我共同撰寫這本偉大的書。

目錄



  1. 歡迎來到Docker Swarm

  2. 探索發現服務

  3. 認識Docker Swarm Mode

  4. 創建生產級Swarm

  5. 管理Swarm集群

  6. 在Swarm上部署真實應用

  7. 擴展您的平台

  8. 探索Swarm的其他功能

  9. 保護Swarm集群和Docker軟件供應鏈

  10. Swarm和雲端

  11. 下一步是什麼?