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 Getting Started
Search
sakajunquality
November 01, 2018
Technology
2
1.3k
GKE Getting Started
GCPUG Beginners Tokyo #9 feat. GKE
sakajunquality
November 01, 2018
Tweet
Share
More Decks by sakajunquality
See All by sakajunquality
DevFest Tokyo 2023: Google Cloudでチームで安全にデプロイをする
sakajunquality
10
1.6k
Cloud Spanner Monitoring 入門 / Cloud Spanner Monitoring Introduction
sakajunquality
1
1.1k
GKE Overview March 2021: Introducing Autopilot
sakajunquality
1
730
Introduction to Cloud Run 2021
sakajunquality
3
1.5k
Building Reliable Distributed Systems on GCP
sakajunquality
1
200
Istio 1.5 Updates
sakajunquality
4
1.8k
GCP 101: Getting Started through Cloud Run
sakajunquality
6
3.4k
Seeking Observability, Getting Started with Service Mesh
sakajunquality
0
120
Fastly Yamagoya Meetup: Leveraging Cloud Portability with Fastly
sakajunquality
0
15k
Other Decks in Technology
See All in Technology
JAWS-UG Bedrock Claude Night
yamahiro
3
740
Cypress or Playwright?
rainerhahnekamp
0
170
成長をサポートするピープルマネジメントのやり方
sioncojp
9
1.2k
EM完全に理解した と思ったけど、 やっぱり何も分からなかった話 / EM Night Fukuoka #1
hirutas
0
290
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
5
18k
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
430
R3のコードから見る実践LINQ実装最適化・コンカレントプログラミング実例
neuecc
3
2.8k
AWS学習者向けにAzureの解説スライドを作成した話
handy
3
200
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
280
IaCからAWSに入門した初心者が CloudFormationを通して考えた「AWS操作」の使い分け
maimyyym
2
440
.NET Profiler in 2024.
kkamegawa
2
1.8k
Babylon.js JAPAN活動紹介 (2024/4)
limes2018
1
120
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
12
1k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Building Adaptive Systems
keathley
32
1.9k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Adopting Sorbet at Scale
ufuk
69
8.6k
How GitHub (no longer) Works
holman
305
140k
Design by the Numbers
sachag
274
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.4k
How to Ace a Technical Interview
jacobian
273
22k
Transcript
GKE Hands-on 2018.11.01 #gcpug #beginners #9 @sakajunquality
- Google Developers Experts (最近) - Software Engineer, SRE @
Ubie株式会社 (最近) - 最近やってること #docker #kubernetes - 好きなこと #coffee #beer - 好きなGCPサービス #BigQuery #GKE #Cloud Build @sakajunquality
Target - Dockerは使ったことあるけど、オーケストレーションよくわからない - KubernetesとかGKEとか最近聞くからやってみたい - なんとなく使ってるけど、再入門したい - etc...
Goal - 一人でGKEにアプリケーションをデプロイできるようになる - 本番投入へのヒントを得る
Agenda - 1. GKE クラスターの作成 - 2. kubectl 入門 -
3. アプリケーションのデプロイ - 4. アプリケーションのアップデート - 5. 2つ目のアプリケーションのデプロイ
Let’s start
Codes https://github.com/sakajunquality/gke-getting-started
Getting Started
Getting Started
1. GKE クラスターの作成
1. GKE クラスターの作成 ハンズオン
2. kubectl 入門
2. Kubectl 入門 ハンズオン
3. アプリケーションのデプロイ
3. アプリケーションの概要 Load Balancer App (Go) GET / Hello!
3. アプリケーションのデプロイ - コンテナイメージのビルド - コンテナレジストリーへのプッシュ - GKEへデプロイ
3. アプリケーションのデプロイ ハンズオン
4. アプリケーションのアップデート
4. アプリケーションの概要(2) Load Balancer App (Go) GET / I LOVE
GCP
4. アプリケーションのデプロイ - アプリケーションの変更 - コンテナイメージの再ビルド - コンテナレジストリーへの再プッシュ - GKEへデプロイ
4. アプリケーションのアップデート ハンズオン
5. 2つ目のアプリケーションのデプ ロイ
5. アプリケーションの概要(3) Load Balancer App (Go) GET / I LOVE
GCP App2 (Java) GET /ping pong
5. フロー - コンテナイメージのビルド - コンテナレジストリーへのプッシュ - GKEへデプロイ - ロードバランサーのパスを変更
5. 2つめのアプリケーションのデプロイ ハンズオン
6. 掃除
6. 掃除 ハンズオン
Production Ready?
No
For Production Ready - GKE ClusterのNodePool… - コンテナのヘルスチェック - コンテナイメージの最適化
- CI/CD Pipeline - モニタリング - ロギング - トレース - セキュリティ - etc.
For more information https://cloud.google.com/solutions/prep-kubernetes-engine-for-prod