Skip to content

Deployment

Lyes S edited this page Sep 25, 2021 · 10 revisions

Table Of Contents

Objective

The objective is to configure three VMs, named “Mitsuke” 😸, “IceTea” 🍹 and spray 🦠 “Covid” 😷 💉 .

Each VM has a Docker engine 🐳 installed and are running on Hyper-V.

The swarm cluster is created with those three VMs, and the following table shows the role of each VM in the swarm cluster.

VM name Role Host Name IP
Mitsuke Manager mitsuke 192.168.1.4
IceTea Worker-1 ice-tea 192.168.1.5
Covid Worker-2 covid 192.168.1.6

Configuration

VM

Settings Description
Operating System Ubuntu 20.04.3 LTS
Architecture x86_64
CPUs 2
Total Memory 1.878GiB

Docker

Settings Description
Docker Engine version 20.10.8
mitsuke ( ◥◣_◢◤ ) : ~$ docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 1
 Server Version: 20.10.8
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: e25210fe30a0a703442421b0f60afac609f950a3
 runc version: v1.0.1-0-g4144b63
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-84-generic
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 1.878GiB
 Name: mitsuke
 ID: WJJT:LAEE:2WL5:DB5D:7R75:YEPC:TMYD:KBKM:SLKX:WF5A:5QUX:BS54
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: lsefiane
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false 

Deployment

Docker Swarm

Kubernetes

Clone this wiki locally