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 入門編
Search
haru2036
August 21, 2019
Programming
1
1.3k
ケチケチGKE 入門編
haru2036
August 21, 2019
Tweet
Share
More Decks by haru2036
See All by haru2036
チームメンバー爆増!その時に準備したこととその後の成長
haru2036
0
25
VRChatでLT会やりたかった話
haru2036
0
200
Google Colabを触ってみた/Google Colab hands on
haru2036
0
1.1k
神(運営)にお願いして世界の崩壊を免れた話 / How to report a bug in VRChat
haru2036
1
1.4k
締め切りカウントダウンポスターを作った話 / Deadline timer in VRChat
haru2036
0
1.3k
LTワールドのつくりかた
haru2036
0
2.5k
光るスカート作った
haru2036
0
140
Other Decks in Programming
See All in Programming
技術的負債の正体を知って向き合う
irof
0
220
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
330
CSC509 Lecture 08
javiergs
PRO
0
230
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
3
5.5k
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
1
310
Pythonに漸進的に型をつける
nealle
1
110
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
2
660
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
33k
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
7k
テーブル定義書の構造化抽出して、生成AIでDWH分析を試してみた / devio2025tokyo
kasacchiful
0
250
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
1
470
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Optimizing for Happiness
mojombo
379
70k
Agile that works and the tools we love
rasmusluckow
331
21k
Done Done
chrislema
185
16k
Navigating Team Friction
lara
190
15k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
How STYLIGHT went responsive
nonsquared
100
5.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
990
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Transcript
ένένGKE ೖฤ Δ
None
Θ͔Δ
ͬͯΈ͍͚ͨͩ
खஈ͕త
Ͱɺझຯ͔ͩΒ͓̺Ͱ͢
None
GKEΛझຯͰ͏ • MastodonΛࡶʹಈ͔ͯ͠Έͨ • Cloud SQL+GKE+Cloud Load Balancing • ݄7000ԁ͘Β͍
GKEߴ͍ • ݄7000ԁݸਓͰಈ͔͢ͷ݁ߏ͖ͭ͘ͳ ͍……ʁ • MastodonΊ͚ͨͲένͬͯΈΑ͏ • ݸਓ։ൃΞϓϦͷσϓϩΠઌʹࠔ͍ͬͯͨ
ένͬͨʢ͔ͭͬͨͷʣ • Cloud DNS • Kubernetes Engine • Compute Engine
• Cloud SQL • Cloud Storage
ένͬͨʢΧοτͨ͠ͷʣ • Cloud Load Balancing • ServiceͰtype: LoadBalancerʹ͢Δͱউखʹ࡞ΒΕΔ • ࠷ར༻ྉ͕ۚ݁ߏߴ͍(2000ԁ~)
• PreemptibleͰͳ͍GKEϊʔυ • Ұ͚ͭͩʹߜͬͨ
ένͬͨ • Load BalancerΛΘͣexternalIPͰެ։ • nginxͷserviceʹexternalIPΛઃఆ • VPCͷϙʔτΛ։์ͨ͠ • nodeΛpreemptibleԽ
• Ұ͚ͭͩ௨ৗͷϊʔυΛ༻ҙͯͦ͜͠ͰnginxΛಈ͔ͨ͠
શମ૾ Preemptible Preemptible "QQ "QQ
ࠔͬͨ͜ͱ • PreemptibleͰͳ͍Πϯελϯε·Ͱ࠶ىಈ͞ Ε͍ͯΔ • Auto-Repair͕ಈ͍ͯͨ
ରࡦ • Auto-RepairΛͬͨ • ͬͨޙStatus:UnknownʹͳͬͯԠ͕ ͳ͘ͳͬͯ͠·ͬͨ • Ϧιʔεෆʁ
ରࡦ • taintΛઃఆͯ͠nginxҎ֎ͷPod͕εέδϡʔ ϧ͞Εͳ͍Α͏ʹͨ͠ • ݱࡏ༷ࢠݟத
None
ένͬͨ݁Ռ • ݄2500ԁऑʢ༧ʣ • ͔ࣗͬͯ͠ͳ͍αʔϏεΛͤΔʹ े͔ͭ͑Δ • k8s͕࣋ͭػೳͷศར͞ʢยྡྷ͚ͩʣମݧͰ ͖ͨ
ࢀߟจݙ • https://qiita.com/kter/items/ d3b81cc9fd850a934a9e • https://stackoverflow.com/questions/ 49716618/is-there-a-way-to-not-use-gkes- standard-load-balancer