docker-kubernetes-mesos | Dockerfile - Kubernetes Mesos

 by   ruo91 Shell Version: release-1.0 License: No License

kandi X-RAY | docker-kubernetes-mesos Summary

kandi X-RAY | docker-kubernetes-mesos Summary

docker-kubernetes-mesos is a Shell library. docker-kubernetes-mesos has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

K8SM(Kubernetes Mesos)는 Apache Mesos에서 Google의 Kubernetes를 사용 할 수 있도록 만들어진 mesos framework 입니다. K8SM framework를 물리 서버 1대 만으로도 실제와 같은 구성 및 테스트를 해볼 수 있도록 만들어 봤습니다. ( 테스트 용도로만 사용하시면 됩니다.). Apache Mesos와 Kubernetes의 대해서는 아래 링크 또는 구글링을 통해 참고 하시기 바랍니다. Github 저장소에서 Dockerfile을 받아 옵니다. Kubernetes v1.0 버전이 release 되면서 K8SM가 kubernetes 저장소의 contrib/mesos 디렉토리로 통합 되었습니다. Kubernetes 0.x 버전대에서는 분산 환경에서 연동 부분에서 문제가 있었는데, v1.0+ 부터는 해결 되었으나, pods pull까지만 구현 되어있습니다. 이 부분은 차후 해결 될것으로 보입니다. Kubernetes 저장소에서 받아와 빌드 합니다. (KUBERNETES_CONTRIB 변수를 설정 하지 않으면 빌드시에 km 명령어가 빌드 되지 않습니다.). 빌드가 완료 되면 테스트로 사용 될 Docker Images를 빌드 해야 합니다. 이를 위해 빌드와 실행이 쉽도록 쉘 스크립트를 따로 만들어 두었습니다. 사용 방법은 아래와 같습니다. etcd, mesos master, kubernetes mesos, kubernetes minion 을 빌드 합니다. etcd, mesos master, kubernetes mesos, kubernetes minion을 실행 합니다. 실행과 동시에 각각의 Container들은 pipework를 통해 아래와 같이 구성 됩니다. 3개의 etcd container는 아래 명령어를 통해 자동으로 클러스터링 설정이 되며 실행 됩니다. Mesos Master에 ZooKeeper가 설치 되어 있으므로, ZooKeeper를 먼저 실행 합니다. 이후 Mesos Master를 실행 합니다. 기존 Kubernetes에서 Minion은 kube-proxy와 kubelet을 실행 하는데, K8SM에서는 Mesos가 이를 제어 하므로 Mesos Slave만 실행 하면 됩니다. K8SM에서는 기존의 Kubernetes가 가지고 있는 API Server, Scheduler, Controller Manager를 가지고 있습니다. 다만, km 명령어를 통해 실행 하는데, 일일이 실행하기 귀찮으니 쉘 스크립트를 만들어 두었으므로 아래와 같이 실행 하면 됩니다. kubernetes-mesos container에서 kubectl 명령어를 통해 K8SM 스케줄러가 정상 등록 되어있는지 확인 합니다. 예제 Nginx YAML 파일을 통해 Pods를 구성 해봅니다. Pods를 확인 해봤을때, STATUS 부분에 Pending 상태로 되어있는 경우, Docker Images를 받아오는 중이라고 생각 하시면 됩니다. Running의 경우 Container가 실행 중이라는 뜻입니다. K8SM(Kubernetes Mesos)에서는 Mesos와 Kubernetes의 조합이므로, Mesos Master UI, Kubernetes UI를 지원합니다. 각각의 기본 포트는 아래와 같습니다. Nginx를 사용 중인 경우 Reverse Proxy로 연결 해줄 수 있습니다.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              docker-kubernetes-mesos has a low active ecosystem.
              It has 10 star(s) with 4 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              docker-kubernetes-mesos has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of docker-kubernetes-mesos is release-1.0

            kandi-Quality Quality

              docker-kubernetes-mesos has no bugs reported.

            kandi-Security Security

              docker-kubernetes-mesos has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              docker-kubernetes-mesos does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              docker-kubernetes-mesos releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-kubernetes-mesos
            Get all kandi verified functions for this library.

            docker-kubernetes-mesos Key Features

            No Key Features are available at this moment for docker-kubernetes-mesos.

            docker-kubernetes-mesos Examples and Code Snippets

            No Code Snippets are available at this moment for docker-kubernetes-mesos.

            Community Discussions

            No Community Discussions are available at this moment for docker-kubernetes-mesos.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install docker-kubernetes-mesos

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ruo91/docker-kubernetes-mesos.git

          • CLI

            gh repo clone ruo91/docker-kubernetes-mesos

          • sshUrl

            git@github.com:ruo91/docker-kubernetes-mesos.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link