연두색연필
LimePencil's Log
연두색연필
전체 방문자
오늘
어제

About Me

  • GitHub
  • Instagram
  • Gmail

인기 글

  • 분류 전체보기 (70)
    • Machine Learning (3)
      • MNIST (2)
    • PS & Algorithm (9)
    • Web (4)
      • HTML (1)
      • JavaScript (3)
    • Rust (2)
      • The Rust Programming Langua.. (2)
    • 논문 리뷰 (12)
      • Reinforcement Learning (10)
      • Computer Vision (2)
    • DevOps (17)
      • Docker (9)
      • Kubernetes (8)
    • Development (6)
      • SQL (6)
    • 잡다한 것들 (15)
      • 부스트캠프 AI Tech 4기 (13)

최근 댓글

Tag

  • 백준
  • ML
  • 파이썬
  • 부스트캠프
  • docker
  • Python
  • Kubernetes
  • 도커
  • 쿠버네티스
  • K8s
03-19 06:14
hELLO · Designed By 정상우.
연두색연필

LimePencil's Log

[Docker 배우기] Section 9. Container Orchestration - Docker Swarm & Kubernetes
DevOps/Docker

[Docker 배우기] Section 9. Container Orchestration - Docker Swarm & Kubernetes

2023. 12. 22. 00:04

Docker for the Absolute Beginner - Hands On - DevOps | Udemy

 

Container Orchestration is used to host multiple containers over multiple hosts by using scripts and codes.

  • Some solution scales containers automatically and even scale hosts

Famous container orchestration solutions:

  1. Docker Swarm
  2. Kubernetes
  3. Mesos

Docker Swarm

Distributes containers over many hosts for higher availability and load balancing

In order to set up a docker swarm, one of the hosts must be a swarm manager while the others are workers.

  • Running docker swarm init in the swarm manager starts docker swarm and provides instructions to set up other workers

docker service create --replicas=[number of containers]: runs determined amount of containers distributed across worker nodes

Kubernetes

kubectl run --replicas=[number of containers]: runs replica of container across multiple nodes

  • kubectl scale: scales container by a determined amount

Kubernetes can automatically scale up and down based on the load.

  • Allows rolling back
  • Various authentication methods

 

Nodes are grouped by cluster and it is controlled by the master node.

 

'DevOps > Docker' 카테고리의 다른 글

[Docker 배우기] Section 8. Docker on Mac & Windows  (1) 2023.12.21
[Docker 배우기] Section 7. Docker Engine, Storage, and Networking  (0) 2023.12.21
[Docker 배우기] Section 6. Docker Registry  (0) 2023.12.21
[Docker 배우기] Section 5. Docker Compose  (0) 2023.12.21
[Docker 배우기] Section 4. Docker Images  (0) 2023.12.21
    'DevOps/Docker' 카테고리의 다른 글
    • [Docker 배우기] Section 8. Docker on Mac & Windows
    • [Docker 배우기] Section 7. Docker Engine, Storage, and Networking
    • [Docker 배우기] Section 6. Docker Registry
    • [Docker 배우기] Section 5. Docker Compose
    연두색연필
    연두색연필
    ML, Programming, PS, 삶의 순간을 기록

    티스토리툴바