Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GKE Overview March 2021: Introducing Autopilot
Search
sakajunquality
March 08, 2021
Technology
1
810
GKE Overview March 2021: Introducing Autopilot
https://gcpug-tokyo.connpass.com/event/205839/
sakajunquality
March 08, 2021
Tweet
Share
More Decks by sakajunquality
See All by sakajunquality
DevFest Tokyo 2023: Google Cloudでチームで安全にデプロイをする
sakajunquality
10
1.8k
Cloud Spanner Monitoring 入門 / Cloud Spanner Monitoring Introduction
sakajunquality
1
1.3k
Introduction to Cloud Run 2021
sakajunquality
3
1.5k
Building Reliable Distributed Systems on GCP
sakajunquality
1
230
Istio 1.5 Updates
sakajunquality
4
1.9k
GCP 101: Getting Started through Cloud Run
sakajunquality
6
3.6k
Seeking Observability, Getting Started with Service Mesh
sakajunquality
0
140
Fastly Yamagoya Meetup: Leveraging Cloud Portability with Fastly
sakajunquality
0
16k
GCLB Traffic Management: envoy inside
sakajunquality
0
620
Other Decks in Technology
See All in Technology
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
550
Data-centric AI入門第6章:Data-centric AIの実践例
x_ttyszk
1
370
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
1
1.1k
AWSでRAGを実現する上で感じた3つの大事なこと
ymae
3
1k
CZII - CryoET Object Identification 参加振り返り・解法共有
tattaka
0
240
PL900試験から学ぶ Power Platform 基礎知識講座
kumikeyy
0
110
モノレポ開発のエラー、誰が見る?Datadog で実現する適切なトリアージとエスカレーション
biwashi
6
770
30分でわかる『アジャイルデータモデリング』
hanon52_
9
2.2k
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
120
ビジネスと現場活動をつなぐソフトウェアエンジニアリング~とあるスタートアッププロダクトの成長記録より~
mizunori
0
210
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
2
880
アジャイル開発とスクラム
araihara
0
160
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
40
2.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Bash Introduction
62gerente
610
210k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
Designing Experiences People Love
moore
139
23k
Building Adaptive Systems
keathley
40
2.4k
Being A Developer After 40
akosma
89
590k
Transcript
Jun Sakata Google Developers Expert, Cloud @sakajunquality GKE Overview 2021.03.08
#GCPUG Tokyo GKE Day March 2021
アジェンダ Google Kubernetes Engine - GKE とは - 他の Google
Cloud のコンテナランタイム - Standard と Autopilot - GKE と Upstream Kubernetes との違い - まとめ
GKE とは Secured and fully managed Kubernetes service with revolutionary
autopilot mode of operation.
GKE - Kubernetes のマネージドサービス - What is Kubernetes? - https://speakerdeck.com/masayaaoyama/devboost-k8s-cn
何がマネージされているのか - コントロールプレーン https://cloud.google.com/blog/products/containers-kubernetes/introducing-gke-autopilot
何がマネージされているのか - コントロールプレーン - Google Cloudがすべて管理 - i.e. No SSH
- リクエストに応じて自動でスケールアップ - ダウンタイムなしのメンテナンス - ※ Regional Clusterのみ https://cloud.google.com/blog/products/containers-kubernetes/introducing-gke-autopilot
何がマネージされているのか - データプレーン(ノード) https://cloud.google.com/blog/products/containers-kubernetes/introducing-gke-autopilot
何がマネージされているのか - データプレーン(ノード) - ノードプールと言う形で抽象化して提供 - ノードのGCEのスペックを選択 - スケールアウト・イン、サービスイン・アウトは 自動
- パッチマネジメントも自動 - SSHは可能 https://cloud.google.com/blog/products/containers-kubernetes/introducing-gke-autopilot
GKE Day 2 Operations - メンテナンス - コントロールプレーンに加えてノードのメンテナンスが必要 - ※
Surge Upgrade / Maintenance Windowなどの便利な機能は存在 - 最適化 - GKE上のワークロード(Pod) に応じたノードのスペックの最適化 - ※ Node Auto Provisioning なども存在 - 監査やセキュリティ - SSHできてしまうのでポリシーによっては厳しい対応が必要な場合も
https://www.youtube.com/watch?v=_JKsv2BtAnY
GKE Autopilot - コントロールプレーンに加えてノードも完全に Google Cloud が管理 - ユーザーサイドからGCEは見れない -
必要なリソースをGoogle側が割当 (NAP) - No SSH - ※ Kubernetes のノードとしては見れる https://cloud.google.com/blog/products/containers-kubernetes/introducing-gke-autopilot
GKE Autopilot - クラスター+ノードのインスタンス課金→クラスター+Pod単位の課金 - StandardだとノードはGCEのSLA→Autopilotはノード部分も含めてGKEとして SLA保証 - 裏側のDeep Diveは
@kazshinohara におまかせ
https://twitter.com/kelseyhightower/status/1364779881297440768
GKE Autopilot Limitations - 便利だが制限も - https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-ove rview#limits - Resource,
Linux Capabilities, Webhook etc... - この辺の話は @makocchi さんが詳しく Gatekeeper について解説してくれます
他の Google Cloud の コンテナランタイム
Cloud Run - サーバーレスのアプリケーション - Knativeベース - 任意コンテナイメージをデプロイ - 基本的にイベント・ドリブン
- HTTP / gRPC / WebSocket
Compute Engine - IaaS VM - GKE Standardでのノード - コントロールプレーンなしでもコンテナはデプロイ可能
- https://cloud.google.com/compute/docs/containers/deploying-containers
Container Runtime Cloud Run GKE Autopilot GKE Standard GCE GAE
Flex
Container Runtime Cloud Run GKE Autopilot GKE Standard GCE GAE
Flex 容易さ 自由度
Standard / Autopilot
Standard / Autopilot
Standard / Autopilot Standard - Node Config / Solo-tenant Node
などよりパフォーマンス等を意識したカスタマイズが可能 - CPU/GPUの選択ができる - クラスター課金/SLA Autopilot - 汎用的につかえる (E2なのでN1と同水準のパフォーマンスは維持) - ワークロードや設定に制限がある - Pod 課金 /SLA
Upstream Kubernetes との違い
GKE specific features - Computing - Node Auto Provisioning -
Multi-dimensional autoscaling - Node Config - Operations - Release Channel - Surge Upgrade - Maintenance Window
GKE specific features - Networking - NEG - Multi Cluster
Ingress / Multi Cluster Service - Trust / Security - Shield GKE Nodes - GKE Sandbox - Workload Identity
まとめ GKE はいいぞ!
まとめ - GKE はマネージドの Kubernetes - Standard→ノードをユーザーが管理する分自由度が高い - Autopilot→新登場、制約が多い代わりにノード管理から開放 -
イベント・ドリブンなものであれば Cloud Run も選択肢の一つ
Thank You! Jun Sakata Google Developers Expert, Cloud @sakajunquality