DevOps Tutorial : Docker Swarm Tutorial | Examples | Create Swarm Cluster

preview_player
Показать описание
Hello Friends ,

In this video lecture we will learn Docker swam .

1. What is Docker Swarm
3. Basic command of Docker swarm
4. How to create the Docker service
5. Creating the Docker Cluster
6. Example of Postgres and Drupal container in Cluster

Docker swarm is container orchestration tools build and manager by Docker.
It's a native clustering tool provided by Docker which provides high-availability and high-performance for your application by distributing it to all nodes inside the swarm cluster.
A Docker engine participating in a swarm is called a node.
Swarm uses the SwarmKit library for orchestration.
This toolkit uses Raft consensus algorithm to coordinate and decision making of a distributed system. SwarmKit is responsible for Orchestration, Scheduling and Cluster Management.

Features of Docker Swarm

Scaling
Services running on the cluster are easily scalable through a single parameter. You can declare the number of replicas a service should have and the swarm manager automatically adapts by adding or removing containers to maintain the desired state.
The swarm also provides resilience through reconciliation of the desired states. The manager continuously monitors the state of the nodes in the cluster. If a node goes offline, the manager will reconcile the difference in the desired state and the current state by redeploying the lost services on the available nodes.

Load balancing
Swarm manager uses ingress load balancing to expose the services you want to make available externally to the swarm..

Security
Docker Swarm comes with great security features out of the box. When a node joins the swarm, it uses a token that not only verifies itself but also verifies it is joining the swarm you think it is. From that moment on, all communication between nodes takes place using mutual TLS encryption. This encryption is all provisioned and managed automatically by the Swarm, so you never need to worry about renewing certificates, and other typical security hassles.

Important component of Docker swarm
1. Service : Service define the task that need to be execute on manager and workder nodes.
2. Task : Tasks are Docker containers that execute the commands you defined in the service.
3. Manager Node: It delivers work (in the form of tasks) to worker nodes. and Monitor the worker node.
4. Worker node: Worker nodes run tasks distributed by the manager node in the swarm.Each worker node runs an agent that reports back to the master node about the state of the tasks assigned to it, so the manager node can keep track of services and tasks running in the swarm.
Reference :

YOUTUBE PLAYLIST

#DockerSwarm #WhatIsDockerSwarm #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps
#quarantine2020 #quarantinelearning

#DockerImages #DockerContainers #DockerTutorials #DevOpsTools #DevOpsTraining #DockerFreeTutorials #DockerforDevOps#Docker2020 #DockerTutorial2020
#DockerVolume #DockerBindMount
Рекомендации по теме
Комментарии
Автор

I like your videos its more simple to understand than other videos. Waiting for next video.

amolmistry
Автор

Nice work debugging and fixing the networking issue!

DevOpsDirective