6. Recently kubernetes etc..
Introducing AKS (managed Kubernetes) and
Azure Container Registry improvements
by Microsoft Azure 2017.10.24
Azure Container Service (AKS)
Kubernetes環境を管理し、コンテナ
オーケストレーションの専門知識不要
で、コンテナ化されたアプリケーショ
ンを迅速かつ容易に展開および管理で
きます。
実行しているアプリケーションインス
タンス料金のみで、マネージドサービ
スとして提供されているkubernetesは
無料で提供されます。
7. Recently kubernetes etc..
Docker Platform and Moby Project add
Kubernetes by docker blog 2017.10.17
DockerCon17 EUで、次のDockerのバージョンからオーケストレータ
としてSwarmとKubernetesをサポートすると発表!!
まずは、Docker Enterprise Editionから!!
8. Recently kubernetes etc..
次バージョンのDocker for Win/Macでは、ローカ
ルにKubernetes環境も自動構築。DockerCon
Europe 2017 by Publickey 2017.10.18
インストールすると自動的にDocker環境とシングルクラスタによる
Kubernetesの開発環境がローカルに提供されます!!
9. Recently kubernetes etc..
コンテナオーケストレーションで「Kubernetes」が優勢
by ZDNet Japan 2017.6.5
マイクロソフト、アプリを自動的にDockerコンテナ化して
Kubernetesへデプロイしてくれる「Draft」をオープンソースで公開
by Publickey 2017.6.5
CoreOSがKubernetes-as-a-Service/etcd-as-a-Serviceなど
発表。どのクラウドでもオープンなコンテナプラットフォームを実現
by Publickey 2017.6.7
SUSE CaaS Platformが正式リリース。Kubernetes、
SLE MicroOS、Saltを統合したコンテナプラットフォーム
by Publickey 2017.6.21
11. Recently kubernetes etc..
GitHub Goes All in on Kubernetes
by THENEWSTACK 2017.8.16
SRE(Site Reliability Engineering)
の事例としても興味深い!!
12. Recently kubernetes etc..
Introducing Pivotal Container Service (PKS),
The Simple Way to Bring Kubernetes to
Enterprise Customers
by Pivotal 2017.8.28
企業レベルのKubernetesを簡単に導入及び運用、そしてコンテナベースのワーク
ロードに移行して VMware vSphereとGoogle Cloud Platform(GCP)上でも稼働。
51. 3.Bluemix CLIから以下のコマンドを実行します。
>bx plugin install container-service -r Bluemix
>bx login -a https://api.au-syd.bluemix.net
Email >
Password >
アカウントを選択します (または Enter キーを押してスキップします):
1.アカウント名's Account (aa1a87213f3f04723ea30ef1451088ae)
数値を入力してください> 1
ターゲットのアカウントアカウント名's Account (aa1a87213f3f04723ea30ef1451088ae)
ターゲットのリソース・グループ Default
API エンドポイント: https://api.au-syd.bluemix.net (API バージョン: 2.75.0)
地域: au-syd
ユーザー: Email address
アカウント: アカウント名's Account (aa1a87213f3f04723ea30ef1451088ae)
リソース・グループ: Default
組織:
スペース:
Tip: If you are managing Cloud Foundry applications and services
- Use 'bx target --cf' to target Cloud Foundry org/space interactively, or use 'bx target -o ORG -s SPACE' to
target the org/space.
- Use 'bx cf' if you want to run the Cloud Foundry CLI with current Bluemix CLI context.
自分の Bluemix アカウントにログインします。
Let’s import Bluemix Kubernetes Clusters
52. >bx cs init
Using default API endpoint: https://ap-south.containers.bluemix.net
OK
IBM Bluemix Container Service のプラグインを初期化します。
> bx cs cluster-config mycluster
OK
mycluster の構成は正常にダウンロードされました。 環境変数をエクス
ポートして Kubernetes の使用を開始してください。
SET KUBECONFIG=C:Usersy.ichikawa.bluemixpluginscontainer-
serviceclustersmyclusterkube-config-mel01-mycluster.yml
ターミナル・コンテキストをクラスターに設定します。
>SET KUBECONFIG=C:Usersy.ichikawa.bluemixpluginscontainer-serviceclustersmyclusterkube-config-mel01-mycluster.yml
Let’s import Bluemix Kubernetes Clusters
53. >kubectl get nodes
NAME STATUS AGE VERSION
10.118.243.175 Ready 1h v1.7.4-1+1540c973d4ff9d
Kubectlコマンドを実行します。
>kubectl proxy
Starting to serve on 127.0.0.1:8001
Kubernetes Dashboardも起動できます。
Let’s import Bluemix Kubernetes Clusters
60. $ az group create --name myResourceGroup --location westus2
Let’s import AKS Kubernetes Clusters
$ az aks create --resource-group myResourceGroup --name myK8sCluster --agent-count 1 --generate-ssh-keys
61. $ az aks install-cli
Let’s import AKS Kubernetes Clusters
$ az aks get-credentials --resource-group=myResourceGroup --name=myK8sCluster
$ kubectl get nodes
62. Let’s import AKS Kubernetes Clusters
3.Use existing Kubernetesの「Select」ボタンをクリックします。
64. Let’s import AKS Kubernetes Clusters
5. AKSのK8S Clusterがインポートできていることを確認します。
65. Get Started with Rancher 2.0
Step1 : Prepare a Linux Host
OS Ubuntu 16.04 (kernel 3.1.0 +) or RHEL/CentOS7.3
Mem 2GB +
Disk 80GB +
Docker Docker v1.12.6
Docker v1.13.1
Docker v17.03-ce
Docker v17.06-ce
Step2 : Start the server
sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:preview
Step3 : Browser Access
http://hostIP:8080
67. Document of Rancher 2.0
・Rancher Labs
https://rancher.com/announcing-rancher-2-0/
・Rancher Labs Japan
https://prtimes.jp/main/html/rd/p/000000003.000027827.html
Press Release
Rancher 2.0 Special Site
https://rancher.com/rancher2-0/
DEEP DIVE AND DEMO
https://www.youtube.com/watch?v=cATqiXBZ8MY&feature=youtu.be
TECHNICAL ARCHITECTURE
https://cdn2.hubspot.net/hubfs/468859/Whitepapers/Rancher%202
.0%20Technical%20Architecture%20-%20Sept%202017.pdf
69. Rancher Labs Sessions at kubeCon
Building Helm Charts From the Ground Up: An introduction to Kubernetes [I]
– Amy Chen 12/7 11:55am – 12:30am
Using Kubernetes API from Go [B]
– Alena Prokharchyk 12/7 4:35pm – 5:10pm
Webhooks for Automated Updates [B]
– Rajashree Mandaogane 12/8 11:55am – 12:30am