일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 워커 노드
- worker node architecutre
- Branch
- 컨테이너 런타임
- Data store
- opentelemetry
- 마스터 노드
- COMMIT
- 워커 노드 구조
- master node
- 깃
- controller manager
- worker node
- 쿠버네티스 유저
- 쿠버네티스
- smart money
- Instrumentation libraries
- container runtime
- 장단기 금리 차
- k8s
- 쿠버네티스 구조
- Kubernetes Architecture
- GIT
- Dag
- 기저조건
- 종결 조건
- 오픈텔레미트리
- 쿠버네티스 네터워크
- 왜 쿠버네티스
- Kubernetes User
- Today
- Total
개발과 잡지식
Kubernetes 01 - Container Orchestration 본문
Introduction to Kubernetes
Will Be Check
- Define the concept of container orchestration.
- Explain the benefits of using container orchestration.
- Discuss different container orchestration options.
- Discuss different container orchestration deployment options.
Chapter 2. Container Orchestration
What Are Containers?
Container는 애플 라이 케이션 중심인 고성능 확장 가능한 애플리케이션입니다.
컨테이너는 실행 중인 다른 애플리케이션의 간섭 없이 애플리케이션을 실행할 수 있도록 격리된 이식 가능한 가상 환경을 제공하여 마이크로 서비스를 제공하는 데 가장 적합합니다.
마이크로 서비스는 라이브러리 및 환경 요구 사항과 함께 현대 언어로 작성된 가벼운 애플리케이션을 뜻합니다.
컨테이너 이미지는 그 자체로 런타임, 라이브러리 그리고 종속성을 가진 애플라이케이션을 제공합니다.
다시 말해 컨테이너 이미지는 고립된 애플리케이션이 실행 가능한 환경을 제공하기 위해 배포된 칸테 이너의 소스입니다.
What is Container Orchestration
개발 환경에서는 컨테이너의 싱글 호스트에서 컨테이너들을 실행하거나 테스트하는 일은 부가적일 수는 있지만 나아가서 품질 테스트(Quality Assurance : QA) 및 Prod 환경에서는 부가적이라고 치부할 수 없게 됩니다.
아래의 요구조건을 충족해야 되기 때문입니다.
- Fault-tolerance : 결함 생겨도 나머지 서비스에 작동에 이상이 없도록
- On-demand scalability : 요구에 따른 확장 가능성
- Optimal resource usage : 자원의 최적화
- Auto-discovery to automatically discover and communicate with each other : 서비스들 간에 자동적인 인식 및 의사소통
- Accessibility from the outside world : 외부에서의 접근성
- Seamless updates/rollbacks without any downtime. : 서비스의 중단 없는 원활한 update/rollback
Monolith to MIcroservices에서 말했던 것처럼 클라우드 환경과 마이크로 서비스 환경에 대한 수요는 엄청나게 많고 더 많아지고 있는 추세입니다.
Container Orchestration을 위해서 아래와 같은 서비스들이 있습니다. 다만 몇 가지는 자유도에 있어서는 제약이 있을 수 있습니다.
- Amazon Elastic Container Service
- Azure Container Instances
- Azure Service Fabric
- Kubernetes
- Marathon
- Nomad
- Docker Swarm
Why Use Container
싱글 호스트에서 여러 컨테이너를 실행하고 테스트하는 오케스트레이션이 필요할까?
수가 적은 컨테이너들이라면 컨테이너들을 수집하고 라이프 사이클을 관리하는 일은 어렵지 않겠지만 수백수천 가지가 넘어가게 되면 이는 쉬운 일이 아니게 된다.
오케스트레이션은 이러한 컨테이너들에 대한 관리를 운영자가 쉽게 할 수 있도록 도와준다.
오케스트레이션은 아래와 같은 일을 가능하게 한다.
-
Group hosts together while creating a cluster
-
Schedule containers to run on hosts in the cluster based on resources availability
Enable containers in a cluster to communicate with each other regardless of the host they are deployed to in the cluster
-
Bind containers and storage resources
-
Group sets of similar containers and bind them to load-balancing constructs to simplify access to containerized applications by creating a level of abstraction between the containers and the user
-
Manage and optimize resource usage
-
Allow for implementation of policies to secure access to applications running inside containers.
각각의 기능이 이제부터 설명될 테니 따로 번역 및 부연 설멍을 달지는 않겠습니다.
위의 기능들을 가능하게 하면서 유연하게 컨테이너들의 스케일을 관리하는 데 있어서 오케스트레이션 사용은 당연한 일이다.
그중 대세인 k8s(kubernetes)에 대해서 이제 알아가 보자.
Where to Deploy Container Orchestrators?
그렇다면 컨테이너 오케스트레이션(쿠버 네티스)을 어디에 배포해야 될까?
우리가 원하는 인프라에 배포 가능하다.
- 로컬 하이퍼 바이저가 있거나 없는 워크 스테이션, 회사 데이터 센터 내부, AWS Elastic Compute Cloud (EC2) 인스턴스의 클라우드, Google Compute Engine (GCE) VM, DigitalOcean Droplets, OpenStack 등
특히 클라우드에 명령어 몇 줄로 설치 가능하게 하는
Infrastructures-as-a-Service, such as GCE, AWS EC2, Docker Enterprise, IBM Cloud, Rancher, VMware Tanzu, and multi-cloud solutions through IBM Cloud Private or StackPointCloud.
또는 이미 설치되어 있는
Amazon Elastic Kubernetes Service (Amazon EKS), Azure Kubernetes Service (AKS), DigitalOcean Kubernetes, Google Kubernetes Engine (GKE), IBM Cloud Kubernetes Service, Oracle Container Engine for Kubernetes, or VMware Tanzu Kubernetes Grid.
뭐.. 다양한 서비스들이 있으니 이용하면 된다는 내용..
이번 글은 그다지 엄청난 내용이 있진 않네요..
Check
Define the concept of container orchestration : 컨테이너들을 수집, 배포, 관리, 스케일링, 라이프 사이클, 네트워크 등 을 관리해주는 기능.
Explain the benefits of using container orchestration : 운영자가 쉽게 컨테이너들을 관리하게 해 준다.
Discuss different container orchestration options :...
Discuss different container orchestration deployment options :..
<댓글로 알려 주세요 ㅜ.ㅜ 딱히 뭐라 말해야 할지..>
'micro service > kubernetes(k8s)' 카테고리의 다른 글
Kubernetes 05 - Kubernetes Architecture 2 (0) | 2021.01.15 |
---|---|
Kubernetes 04 - Kubernetes Architecture 1 (0) | 2021.01.12 |
Kubernetes 03 - From Monolith to Microservices - Part 2 (0) | 2021.01.10 |
Kubernetes 02 - From Monolith to Microservices (0) | 2021.01.09 |
Kubernetes 00 - From Monolith to Microservices (0) | 2021.01.06 |