49. GKE のハイレベル アーキテクチャ
API Server
kubectl
User
Storage
Scheduler
Resource
Controllers
User Pod
Containers
User Pod
Containers
User Pod
Containers
Nodes
User Pod
Containers
Google Cloud
サービス
Virtual
Private Cloud
Persistent
Disk
Cloud Load
Balancing
Operations
Control plane
GKE cluster
Google 管理
GKE が構築、
Google、お客様で管理
Google Cloud サービス
64. Proprietary + Confidential
ハンズオンの概要 ステップ 1
End Users
nginx
nginx
Deployment
nginx
Service
①コマンドで定義
このステップで学ぶ内容
● コマンドを利用してマニフェストファイル (yaml) なしに Deployment と Service を作成する
65. Proprietary + Confidential
ハンズオンの概要 ステップ 2
このステップで学ぶ内容
● Deployment ではなく Pod を作成する
● Pod の状態を確認する
● Service がない状態で Pod にアクセスする
● Pod のログを確認する
Cloud Shell
monolith
monolith
Pod
② Pod にアクセス
66. Proprietary + Confidential
ハンズオンの概要 ステップ 3
このステップで学ぶ内容
● ConfiMap, Secret で設定情報や機密情報を定義する
● 外部に公開するための Service を定義する
● ラベルとセレクタを理解する
End Users
monolith
secure-
monolith
Pod
monolith
Service
③ ラベルとセレクタ
67. Proprietary + Confidential
hello
Deployment
ハンズオンの概要 ステップ 4
このステップで学ぶ内容
● Pod を管理するための Deployment を定義する
● 外部に公開するための Service を定義する
● マイクロサービスアーキテクチャーを感じる
End Users
microservice
hello
Deployment
frontend
Service
auth
Deployment
auth
Service
hello
Deployment
hello
Service
frontend
Deployment
④ マニフェストファイルで宣言的に定義