본문 바로가기

전체 글119

kubernetes 설치하기 (vmware) Juju를 통해 vmware 에 vm을 만들고 그 위에 kubernetes를 올려본다. kubernetes charm은 https://jujucharms.com/canonical-kubernetes/ 에서 받을 수 있다.기본적으로 juju deploy canonical-kubernetes 하면 vcenter를 통해 vm을 생성하고 그 위에 설치 하게 되지만,vcenter내에 여러개의 cluster가 존재 할 경우 한 곳에 deploy하기 위해서는 bundle file을 수정한다. 아래와 같이 bundle.yaml 파일을 만들거나 위 링크에서 bundle.yaml을 다운 받아서 아래와 같이 수정한 뒤, juju deploy bundle.yaml 을 수행하면 된다series: xenial descriptio.. 2017. 12. 24.
Docker Swarm 아키텍처 1. Docker Swarm Mode Workshttps://docs.docker.com/engine/swarm/how-swarm-mode-works/nodes/위와 같이 Manager 역할은 클러스터를 관리하고 스케쥴링을 해주며, swarm mode api를 제공한다.maintaining cluster statescheduling servicesserving swarm mode HTTP API endpoints Worker의 경우에는 Docker instances만 담당한다. 2. Docker Swarm Serviceshttps://docs.docker.com/engine/swarm/how-swarm-mode-works/services/Swarm모드로 image를 deploy하기 위해서는 service.. 2017. 12. 24.
Docker Swarm 설치하기 1. Docker 설치# sudo apt update # curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - # sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" # sudo apt update # sudo apt-get install docker-ce # sudo docker run hello-world제대로 설치 되면 아래와 같이 나온다Unable to find image 'hello-world:latest' locally latest: Pulling from li.. 2017. 12. 24.
Juju란? Juju는 Ubuntu를 배포하는 Canonical의 오케스트레이션 툴이다.공식 문서에는 이렇게 나와 있다.What is Juju?Juju is a state-of-the-art, open source modelling tool for operating software in the cloud. Juju allows you to deploy, configure, manage, maintain, and scale cloud applications quickly and efficiently on public clouds, as well as on physical servers, OpenStack, and containers. You can use Juju from the command line or throu.. 2017. 12. 24.