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
Getting Started to CRIU
Search
@ジュジュ
March 07, 2019
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Getting Started to CRIU
@ジュジュ
March 07, 2019
More Decks by @ジュジュ
See All by @ジュジュ
チーム分割においていかれたアラートをチームで責任を持てる形に再設計した
juju62q
0
210
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.2k
Firecracker Snapshottingを調べてみた
juju62q
1
650
SLOを活用した技術的改善
juju62q
10
15k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.7k
telepresence handson
juju62q
2
5.5k
Wanna Use Vitess in Orientation
juju62q
6
1.4k
machine learning with rancher and K8s on prem
juju62q
5
490
docker-handson-for-researcher
juju62q
3
360
Other Decks in Technology
See All in Technology
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
TypeScript入門 2026
recruitengineers
PRO
3
500
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
230
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
660
サイバー捜査員研修(後半)
nomizone
1
810
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
Flutterをカメラで動かしたかった話
sony
1
130
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
200
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
530
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
システム思考で問題に対処する
yussak
0
210
ガバメントクラウドでのランサムウェア対策
techniczna
2
1k
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
230
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
790
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Building AI with AI
inesmontani
PRO
1
1.1k
Claude Code のすすめ
schroneko
67
230k
Darren the Foodie - Storyboard
khoart
PRO
3
3.6k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
450
KATA
mclloyd
PRO
35
15k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
360
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
540
Transcript
CRIUで遊んでみた 2019/03/07 OthloTechLT大会@クックパッド 岡野兼也
$ whoami name: - 岡野兼也 - @ジュジュ belonging: - 名古屋大学
interest: - CloudNative - SRE dream: - 働かないこと hobbies: - 登山 - キャンプ
CRIU - Checkpoint and Restore In Userspaceの略称 - Linuxのアプリケーションの実行状態を Checkpointとして固めてRestoreできる
CRIUを使うとアプリが動いている状態の コンテナを走らせることができる!
Checkpoint $ docker checkpoint create ${container_name} ${checkpoint_name} - コンテナの今の状態を保存する -
作ったチェックポイントに基づいてリストアできる
Restore $ docker container start --checkpoint ${checkpoint_name} ${container_name} - チェックポイントから再実行をする
- 何回でも同じチェックポイントから実行可能
実際につかってみる
もう一回リストアする!
解決できる問題① コンテナの起動がいくら早くても アプリの起動が遅ければ遅くなってしまう 初めからからアプリの状態を 記憶できているので爆速起動!!
解決できる問題② k8sがいくらうまいことやっているといっても ノードメンテのために落とすと影響あるよね… ファイルとして状態を持てるので ライブマイグレーションができる!!
ご清聴ありがとうございました ※CRIUはDockerのexperimentalな機能で、デフォルトでは使えません