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
cloudnative days tokyo online 2021 - 311
Search
k.yanagimoto
March 11, 2021
Technology
500
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
360
nikotama.rb #10
kyanagimoto
0
410
Developers Summit 2020 - 13-A-5
kyanagimoto
0
2.2k
Nikotama.rb #9
kyanagimoto
0
320
Nikotama.rb #8
kyanagimoto
0
210
CNCF for Rubyist
kyanagimoto
0
440
Nikotama.rb #7
kyanagimoto
0
450
Rails6 New Functions
kyanagimoto
0
200
Rails Application w/ Kubernetes
kyanagimoto
1
430
Other Decks in Technology
See All in Technology
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
660
サイバー捜査員研修(前半)
nomizone
1
1.9k
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
550
制約理論(ToC)入門 2026版
recruitengineers
PRO
7
2.1k
修正PRを食べてレビュースキルが賢くなる:Claude Codeによる自己改善サイクル
yuyaumetsu
6
1.4k
AI駆動開発は個人技からチーム戦へ:組織でAIを使いこなすための実践設計
moongift
PRO
0
480
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
190
AIコーディングの次。コードレビューと理解負荷を解消して組織の開発生産性を高める
moongift
PRO
2
2.3k
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
1
370
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
530
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
200
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
740
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
760
Docker and Python
trallard
47
4.1k
Building Applications with DynamoDB
mza
96
7.2k
Become a Pro
speakerdeck
PRO
31
6.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
A Tale of Four Properties
chriscoyier
163
24k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.3k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
260
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
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