openstack, gke
GKE で Openstack コントローラーをデプロイしてみる
リージョン選定
asia-northeast1 が東京 リージョンとゾーン | Compute Engine ドキュメント | Google Cloud
VM をプリエンプティブサーバにしてコスト削減
VM type は 1 VCPU, 3 GB RAM * 3 を pool に登録
GKE の tutorial を行う
Kubernetes Engine での Go Bookshelf の実行 | Go | Google Cloud
gcloud container clusters のコマンド
gcloud container が GKE まわりのコマンドかな?
1COMMANDS
2 COMMAND is one of the following:
3
4 create
5 Create a cluster for running containers.
6
7 delete
8 Delete an existing cluster for running containers.
9
10 describe
11 Describe an existing cluster for running containers.
12
13 get-credentials
14 Fetch credentials for a running cluster.
15
16 list
17 List existing clusters for running containers.
18
19 resize
20 Resizes an existing cluster for running containers.
21
22 update
23 Update cluster settings for an existing container cluster.
24
25 upgrade
26 Upgrade the Kubernetes version of an existing container cluster.
1gcloud container clusters list
2NAME LOCATION MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUS
3standard-cluster-1 asia-northeast1-b 1.11.9-gke.8 35.189.151.9 custom-1-3072 1.11.9-gke.8 3 RUNNING
kubectl を実行する前にクレデンシャルを取得する必要があった
Kubernetes(GKE)にお安く入門する - LiBz Tech Blog
1gcloud container clusters get-credentials standard-cluster-1 -z asia-northeast1-b
kubectl exec はデフォルトの namespace を向いている
1kubectl exec -n tiller-world -it ... /bin/sh
べつの namespace の場合、↑としないと pod に入ることができない