You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
この記事は Kubernetes Advent Calendar 2014 の19日目の記事です。18日の記事は kazunori279 の GKE+BQがうまく動かなかった話。 Kubernetes (k8s)とMesosがやっていることが似ているように見えて、 何が違うかイマイチわからない開発者が多いと思います。 それぞれがやっていることと、役割について書いて、その後、 組み合わせて使うにはどうしたらいいか少し書いてみたいと思います。 k8s について まず、k8s はどこまで何をしてくれるの? という疑問がよくあると思う。 コンテナーのクラスターが作れるみたいだけど、 自動的にスケールしてくれるのかな?とか、考えてくるよね。 k8s は Docker コンテナーのクラスターを管理してくれるものだ。Docker自体はコンテナーを管理してくれるから k8s は なんで必要かと思っていしま
Running Kubernetes Example on CoreOS, Part 2 https://coreos.com/blog/running-kubernetes-example-on-CoreOS-part-2/ が出ましたので、お試ししてみました。 以下は、Vagrant で CoreOS の Kubernetes Cluster を VirtualBox 上に構築し、GuestBook example を実行する手順です。 コードは、Gist に置きましたので、参照してください。 Running Kubernetes Example on CoreOS, Part 2 https://gist.github.com/YungSang/6177b69f1754f0590dbe Step Zero: クラスタの構築 これで、etcd discovery 用に一つ、Kubern
クラウド上でデータベースのサービスやRubyやJavaといった言語の実行系を提供する、いわゆるPaaS型クラウド基盤のソフトウェアとして知られている主なものに、「Cloud Foundry」と「OpenShift」の2つがあります。 いずれもオープンソースですが、Cloud FoundryがすでにIBMのBluemixやHPのHelion、NTTコミュニケーションズのCloudnなどに採用されている一方で、Red Hatが中心となって開発されているOpenShiftはまだ大きな採用事例もなく、比較的目立たない存在でした。 そのOpenShiftが、今年登場するOpenShift V3でDockerとKubernetesを核としたPaaSへと大きくアーキテクチャを転換します。1月28日に開催された「第24回 PaaS勉強会」で、Red HatのChris Morgan氏がその内容を解説しまし
24. リソース制限 • コンテナやPodに対してリソース制限をかけられるように する • コンテナはdockerがcgroupsによる制限を提供している • じゃあPodはどうする・・・? • Googleのlmctfyを参考に実装していってるぽい • その先にはQoS Tierという構想があるっぽい 25. Replication ControllerとPod Templateの分離 • Replication Controllerは、自身のコンフィグ内にある PodTemplate定義を元にPodを複製していく。 • このPodTemplateは独立した概念とするべきではないか、 という話 • PodTemplateが独立したリソースになれば、Replication Controller以外 (例えばCron jobとか、何かのフックとか) で活用できるよね、という考え方
注目されるDockerのスケジューリングツール Dockerには、基本機能だけでは自分自身がインストールされているホストのコンテナしか管理できず、複数ホストのコンテナを管理できないという問題がある。そのため、実際にサーバを複数台利用するような規模でDocker環境を運用することを考えると、コンテナのクラスタリングやスケジューリングなど、複数ホストにまたがってコンテナをオーケストレーションする仕組みが必須となる。 そのため、Docker環境の管理を行うスケジューリングツールが注目を集め、数多くの製品が登場しているが、その中で特に注目されているものに、KubernetesとMesosがある。KubernetesとMesosは、複数ホストのコンテナを簡単に管理できるという点では共通しているが、機能の対象範囲には違いがある。 今回は、KubernetesとMesosの特徴と相違点について整理し、そ
このエントリはKubernetesアドベントカレンダー2014の1日目です。 Docker、IBM、Microsoft、RedHatがGoogleのコンテナ管理フレームワークKubernetesにこぞって開発参加する理由 - Qiitaより拝借 Kubernetesとは 「クゥバネィテス」的なかんじで呼びます。 よく k8s と略されます。 いろいろ誤解を承知でざっくり説明すると、雰囲気としては KVM/VMware/Xenと組み合わせてITインフラをうまく使うためのツールがOpenstack/Cloudstack dockerと組み合わせてITインフラをうまく使うためのツールがKubernetes という感じの動きをしてくれるソフトウェアです。 ただしマルチテナントの機能は今のところありません。 概要レベルの情報はそれなりに出回っているので読み漁ってみるとよいかと思います。 gce -
このエントリはKubernetesアドベントカレンダー2014の8日目です。 今日はKubernetesの効果を理解するために、Kubernetesなしで構成を組んでみます。 dockerだけで組むのは先日やってみたので、 昨日紹介したflannelを使って実装します。 構成 手元のMacBookAirのVirtualBox上に、CentOS7を2台起動します。 host01上のコンテナにhost02上のコンテナから直接アクセスできるようなれば、Kubernetesのようなアクセス分散が実現できそうです。 eth0(NAT): 10.0.2.0/24 eth1(Hostonly): 172.16.0.0/16(host01: 172.16.1.1, host02: 172.16.2.1) docker0: flannel全体: 172.17.0.0/16, host01: flannel次
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く