Docker management design patterns : swarm mode on Amazon Web Services /
Master every aspect of orchestrating/managing Docker including creating a Swarm, creating services, using mounts, scheduling, scaling, resource management, rolling updates, load balancing, high availability, logging and monitoring, using multiple zones, and networking. This book also discusses the m...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[United States] :
Apress,
©2017.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Contents; About the Author; About the Technical Reviewers; Introduction; Chapter 1: Getting Started with Docker; Setting the Environment; Running a Docker Application; Summary; Chapter 2: Using Docker in Swarm Mode; The Problem; The Solution; Docker Swarm Mode; Nodes; Service; Desired State of a Service; Manager Node and Raft Consensus; Worker Nodes; Quorum; Setting the Environment; Initializing the Docker Swarm Mode; Joining Nodes to the Swarm; Testing the Swarm; Promoting a Worker Node to Manager; Demoting a Manager Node to Worker; Making a Worker Node Leave the Swarm.
- Making a Manager Node Leave the SwarmReinitializing a Cluster; Modifying Node Availability; Removing a Node; Summary; Chapter 3: Using Docker for AWS to Create a Multi-Zone Swarm; The Problem; The Solution; Setting the Environment; Creating a AWS CloudFormation Stack for Docker Swarm; Connecting with the Swarm Manager; Using the Swarm; Deleting a Swarm; Summary; Chapter 4: Docker Services; The Problem; The Solution; Setting the Environment; The docker service Commands; Types of Services; Creating a Service; Listing the Tasks of a Service.
- Invoking a Hello World Service Task on the Command LineGetting Detailed Information About a Service; Invoking the Hello World Service in a Browser; Creating a Service for a MySQL Database; Scaling a Service; Listing Service Tasks; Accessing a MySQL Database in a Docker Container; Updating a Service; Updating the Replicas; Updating the Docker Image Tag; Updating the Placement Constraints; Updating Environment Variables; Updating the Docker Image; Updating the Container Labels; Updating Resources Settings; Removing a Service; Creating a Global Service; Summary; Chapter 5: Scaling Services.
- The ProblemThe Solution; Setting the Environment; Creating a Replicated Service; Scaling Up a Service; Scaling Down a Service; Removing a Service; Global Services Cannot Be Scaled; Scaling Multiple Services Using the Same Command; Service Tasks Replacement on a Node Leaving the Swarm; Summary; Chapter 6: Using Mounts; The Problem; The Solution; Volume Mounts; Bind Mounts; Setting the Environment; Creating a Named Volume; Using a Volume Mount; Removing a Volume; Creating and Using a Bind Mount; Summary; Chapter 7: Configuring Resources; The Problem; The Solution; Setting the Environment.
- Creating a Service Without Resource SpecificationReserving Resources; Setting Resource Limits; Creating a Service with Resource Specification; Scaling and Resources; Reserved Resources Must Not Be More Than Resource Limits; Rolling Update to Modify Resource Limits and Reserves; Resource Usage and Node Capacity; Scaling Up the Stack; Summary; Chapter 8: Scheduling; The Problem; The Solution; Setting the Environment; Creating and Scheduling a Service: The Spread Scheduling; Desired State Reconciliation; Scheduling Tasks Limited by Node Resource Capacity; Adding Service Scheduling Constraints.