GithubHelp home page GithubHelp logo

yunanjeong / container-orchestration Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 271 KB

Container Orchestration Tips, Examples, Practice

License: MIT License

Shell 100.00%
containers docker kubernetes helm k3s k9s minikube skaffold

container-orchestration's Introduction

Container Orchestration

컨테이너 및 이미지 관리에 필요한 내용들을 정리

기초용어

  • Container(컨테이너)

    • 앱 및 앱 실행 환경을 하나의 패키지로 격리하는 기술
  • Container Runtime(컨테이너 런타임)

    • 컨테이너 관리도구
    • 여러가지 있으나 Docker로 사실상 표준화
    • Docker로 만든 Container는 표준이 지켜져 있기 때문에 다른 Container Runtime에서도 사용가능
  • Container Orchestration(컨테이너 오케스트레이션)

    • 여러 호스트에 걸친 Container들을 관리하는 행위
  • Docker(도커)

    • 사실상 표준 Container Runtime
    • vm처럼 image 개념을 사용
    • DockerFile을 작성하여 image로 build 가능
    • DockerFile이나 image가 여러 host, 여러 사람들 간에 공유되곤 한다.
    • Registry: 도커 이미지 관리 공간. 기본적으로 Docker Hub로 설정되어 있어, 인터넷으로 편하게 공유가능
    • Repository: Registry 내 도커 이미지 저장공간. 이미지 이름으로 여기는게 더 직관적이다.
    • Tag: 동일한 repository(이름)의 이미지들을 구분하는 용도로 사용. 주로 버전이 표기되는 자리
  • Docker Context

    • DockerFile을 포함하여 이미지 생성에 필요한 모든 리소스들의 모음 or 그 디렉토리
  • Docker Compose(도커 컴포즈)

    • (하나의 호스트에서) 여러 Container들을 관리하는 도구
      • 한 호스트 내 한정이라는 점 때문에, Orchestration Tool로는 취급되지 않는 편
    • Docker 프로젝트에 통합되어 있으며 docker compose라는 subcommand 형태로 사용 가능
    • docker-compose라는 패키지가 별도로 존재하나, 구버전
    • Docker Compose는 yaml파일에 모든 Container 설정들을 기술해두고, up&down 명령어만 사용하면 돼서 편하다.
    • Docker만 사용시 개별 Container를 docker run ... 명령어로 관리해야해서, 관리할 Container 수가 조금만 늘어나도 불편하다. 이럴 때 Docker Compose가 용이하다.
  • Docker Swarm(도커 스웜)

    • Docker 자체 제공 Container Orchestration Tool
      • (Docker Engine-based Native Docker Orchestration Tool)
      • docker swarm 이라는 subcommand로 사용
    • 상대적으로 다루기 쉬운편이나, 잘 쓰이지 않음
  • Kubernetes(쿠버네티스)

    • 약어: k8s(케이츠, 케이에이츠), kube(큐브)
    • Container Orchestration Tool의 사실상 표준
    • 구글에서 만듦
  • Helm (헬름)

    • Kubernetes 애플리케이션을 패키징하고 배포하기 위한 도구
  • Skaffold (스캐폴드)

    • 컨테이너 기반 및 Kubernetes 애플리케이션의 지속적인 개발을 촉진하는 CLI 툴
    • K8s 앱의 지속적 배포를 위한 구글 자체 툴

container-orchestration's People

Contributors

yunanjeong avatar

Stargazers

 avatar

Watchers

 avatar

container-orchestration's Issues

기타

daemonset 내용추가

외부노출 => hostport 방식 추가
=> EKS에서 로드밸런서 자동으로 잡히는 내용 추가

플러그인 처리 방법 유형 정리

  • 플러그인 처리 방법 유형 정리
  • 기존 배포되는 이미지에 추가 플러그인이 필요한 경우 처리 방법
  • 다양한 방법이 있고, 상황에 따라 다르게 쓸 수 있다.
  • volume, volumeattachment, persistentvolume(local, network) 등도 간략히 k8s리소스 쪽에 정리하자

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.