Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
cloudnative days tokyo online 2021 - 311
Search
k.yanagimoto
March 11, 2021
Technology
520
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
cloudnative days tokyo online 2021 - 311
k.yanagimoto
March 11, 2021
More Decks by k.yanagimoto
See All by k.yanagimoto
open telemetry w/ Ruby
kyanagimoto
0
370
nikotama.rb #10
kyanagimoto
0
420
Developers Summit 2020 - 13-A-5
kyanagimoto
0
2.2k
Nikotama.rb #9
kyanagimoto
0
330
Nikotama.rb #8
kyanagimoto
0
220
CNCF for Rubyist
kyanagimoto
0
460
Nikotama.rb #7
kyanagimoto
0
460
Rails6 New Functions
kyanagimoto
0
200
Rails Application w/ Kubernetes
kyanagimoto
1
450
Other Decks in Technology
See All in Technology
シンプルな設定ファイルで実現する AWS IAM Identity Center の ユーザー管理Terraformフレームワークを公開しました / Simplifying AWS IAM Identity Center User Management: An Open-Source Terraform Framework
yamaguchitk333
0
140
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
190
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
140
【データ横丁主催】AI エージェント時代のTranslytical Data Platform
shisyu_gaku
0
230
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
340
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
320
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
150
局所最適は悪ではない。壊れているのは指標です。量と質を同時に見る先行指標の設計
recruitengineers
PRO
2
290
Claude Code on Bedrock で統制をかける小ネタ集/claude-code-bedrock-governance-tips
emiki
1
180
Codex を使った障害対応机上演習の実際
orgachem
PRO
0
270
20年間 SNS サービス「GREE」 を支えた技術の刷新と、長期運用サービスの Kubernetes へのリアーキテクト
gree_tech
PRO
0
110
「私が一番顧客に詳しい」を捨てる~ 全員が一次情報に精通する開発チームをつくり、PMが次のボトルネックへ染み出すまで
kaminashi
3
1.3k
Featured
See All Featured
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
830
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Balancing Empowerment & Direction
lara
6
1.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
New Earth Scene 8
popppiees
4
2.7k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
420
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Transcript
AKS with Istioで運⽤しているサービスのUpgradeをし てみた Mar 11th, 2021 Koichi Yanagimoto Ecosystem
Services Dept. Rakuten, Inc.
2 Hello, My name is Koichi Yanagimoto (@kyanagimoto) Rakuten, Inc.
Software Engineer Joined in 2009. Organizer of Nikotama.rb 趣味 • スノボ(温泉︖) • ポイ活 • キーボード集め CloudNative歴 • 2〜3年くらい︖ Self Introduction
3 Today’s Topic
4 How upgraded? Component Version AKS 1.16.13 -> 1.19.3 Istio
1.4.1 -> 1.8.2 Flagger 0.21 -> 1.6.1 Ruby 2.6 -> 2.7.2 Rails 6.0.2 -> 6.0.3.4
5 AKS upgrade Breaking Changes • Kubernetes Version • Ubuntu
Version • Ubuntu 16 -> Ubuntu 18 What happened? • Artifactoryに置いてあるContainer imageがpull出来ない問題
6 xxxx.local→
7 How solved? DaemonSetでresolv.confのリンクの付け替えを実施 • Azureの公式ドキュメント • https://docs.microsoft.com/ja-jp/azure/aks/support-policies#user-customization-of-agent-nodes • Microsoftへの問い合わせ
• Githubのissue(対応継続中) • https://github.com/Azure/AKS/issues/2052
8 Istio upgrade -> Istio operator • AddOn周りのinstall結構変わった • Custom
ingressgateway manifestを ⾃分で書かなければいけなかった (Helmのときも書いてた) • そのほかは結構すんなりとupgrade!
9 Flagger upgrade https://docs.flagger.app/ canary.yaml apiVersion: flagger.app/v1beta1 kind: Canary metadata:
name: sample spec: targetRef: apiVersion: apps/v1 kind: Deployment name: sample progressDeadlineSeconds: 600 autoscalerRef: apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler name: sample service: port: 80 targetPort: 3000 gateways: - istio-ingressgateway hosts: - "*" trafficPolicy: loadBalancer: simple: LEAST_CONN match: - uri: prefix: /sample method: exact: "GET" kubectl apply してみると、エラーが…
https://github.com/fluxcd/flagger/pull/777
11 Flagger upgrade https://docs.flagger.app/ Re-Apply︕ . . . Canaryが終わらない…w Issueでなんか上がってないかな…
同じ状態のissue発⾒︕ https://github.com/fluxcd/flagger/issues/780
https://github.com/fluxcd/flagger/pull/781
13 Takeaways • Cloudベンダー側の設定でどうにもならないもの はDaemonSet. • IstioはInstall周りからゴロっと変えたけど、そこ まで苦労しなかった. (Linkerd試してみたい) •
OSSで問題に直⾯した時は、まずIssues.
14 My teammates’ talk Vault on Kubernetes~秘匿情報の安全な管理~ https://event.cloudnativedays.jp/cndo2021/talks/371 デプロイメント⼿法を選択する ~
Flagger/Argo Rollouts ~ https://event.cloudnativedays.jp/cndo2021/talks/401 Dashboard as Codeでダッシュボード管理は改善するか︖ https://event.cloudnativedays.jp/cndo2021/talks/621 https://rakuten.wd1.myworkdayjobs.com/ja-JP/RakutenInc/job/Tokyo-Japan/SRE-Application-Engineer--EC- Platform----ECID_00008349 Job Information
None