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
Getting Started to CRIU
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
@ジュジュ
March 07, 2019
Technology
170
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
670
SLOを活用した技術的改善
juju62q
10
16k
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
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.1k
hackers_champloo_2026_tidb
makocchi
0
110
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.7k
しろおびから始める!ログ活用の第一歩
shumei_ito
0
890
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
130
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.3k
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2.8k
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
860
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.4k
Jetson Orin Nanoとk3sとローカルLLMで音声文字起こしシステム作ってみた
y_sera15
0
120
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
670
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
470
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
The SEO Collaboration Effect
kristinabergwall1
1
590
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
570
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Speed Design
sergeychernyshev
33
2.2k
A Soul's Torment
seathinner
8
3.7k
From π to Pie charts
rasagy
1
390
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
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な機能で、デフォルトでは使えません