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
ZHGDL.4-march-liu-slatstack
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Zoom.Quiet
August 12, 2013
Technology
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ZHGDL.4-march-liu-slatstack
[8.11]珠海GDG第四次GDL沙龙!
http://www.chinagdg.com/thread-2783-1-1.html
Zoom.Quiet
August 12, 2013
More Decks by Zoom.Quiet
See All by Zoom.Quiet
PyCon2014China-Zhuhai-high performance
zoomquiet
0
200
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
180
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
160
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
150
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
150
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
170
PyCon2014China-Zhuhai-jeff
zoomquiet
0
160
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
200
DevFest2014-Zhuhai-Polymer
zoomquiet
0
490
Other Decks in Technology
See All in Technology
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
150
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
610
SREへの勘違いに気づいた後の話
tomodakengo
0
160
人間はどの意思決定を手放せるのか
kawasima
16
8.3k
負債のメタファと2026年 / Debt Metaphor in Agentic Engineering Age 202609 Edition
twada
PRO
13
7.4k
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
440
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
34
22k
Mastering Agentic Development: Harness Engineering for Effective Coding Agents
konippi
3
560
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
AI coding 整合正規方法
philipz
0
550
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2.5k
[Kiro Meetup #7] Kiro Crew Dive Deep
konippi
0
350
Featured
See All Featured
Technical Leadership for Architectural Decision Making
baasie
3
580
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Side Projects
sachag
456
43k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Transcript
Saltstack 实践 开发管理,试错、学习和探索 13年8⽉月10⽇日 星期六
故事背景 • ⼩小团队 • 创业 • 年轻 未来将面临⼀一个快速上 升的时期。 ⼈人⼒力问题比资⾦金更突
出,更紧缺。 开发队伍缺少经验,⼯工 作习惯完全没有。 13年8⽉月10⽇日 星期六
⼯工具和平台选择 • Saltstack • Git • Github • Debian 13年8⽉月10⽇日
星期六
Debian • Debian + XEN+XEN-TOOLS • APT+APT Cacher 13年8⽉月10⽇日 星期六
Git+Github • VCS • Pull Request • Code Review+issues 强制引⼊入细粒度版本管
理。 通过版本管理和协作平 台强制引⼊入pull request。 强制代码审核。 13年8⽉月10⽇日 星期六
Saltstack • 开发即运维 • 强制隔离各节点 • 强制性⾃自动发布 • Develop+Alpha+Beta+Release 13年8⽉月10⽇日
星期六
Alpha环境 • 内⺴⽹网服务器 • apt+apt cacher • git pull from
github • all in salt-master:/srv • highstate to cluster 13年8⽉月10⽇日 星期六
部署节点 • /srv/ • /srv/salt/top.sls • /srv/salt/xxxNode • /srv/salt/xxxNode/init.sls /srv
目录即代码仓库。 在 salt的组件目录中直 接管理代码。 13年8⽉月10⽇日 星期六
APT First • salt.states.pkg.installed • salt.states.pip.installed • salt.states.git-remote • salt.states.file
13年8⽉月10⽇日 星期六
代码部署 • salt.states.user • salt.states.file.recurse • salt.states.file.symlink 13年8⽉月10⽇日 星期六
服务 • debian daemon • debian postgresql cluster • supervisor
• unicorn 13年8⽉月10⽇日 星期六
Devlop/Alpha ⼀一致化 • /srv/pillar • /srv/pillar/top.sls • /srv/pillar/intranet/init.sls • /srv/pillar/workshop/init.sls
13年8⽉月10⽇日 星期六
配置⽂文件⼀一致化 • 直接由模板⽣生成 • 由pillar管理内容和路径 13年8⽉月10⽇日 星期六
Service ⼀一致化 • salt 管理服务安装 • debian service 控制 •
/etc/xxx/conf.d/ 13年8⽉月10⽇日 星期六
数据库⼀一致化 • salt.states.postgres_user • salt.states.postgres_database 13年8⽉月10⽇日 星期六
开发与⼯工作环境 • Mars’ Workshop • salt.states.git • pillar(ssh or https)
13年8⽉月10⽇日 星期六
问题与应对 • gitfs 稳定性问题 • zmq 阻塞问题 • Ruby Gems
访问问题 • 架构与运维冲突问题 解决⼀一切争议的第⼀一原 则是运维最简化。可复 现,确定性压倒⼀一切。 13年8⽉月10⽇日 星期六
问答时间 13年8⽉月10⽇日 星期六
谢谢⼤大家,再⻅见! 13年8⽉月10⽇日 星期六