• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Nurtch/rubix: Python package to enable DevOps tasks in Jupyter Notebooks

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Nurtch/rubix

开源软件地址:

https://github.com/Nurtch/rubix

开源编程语言:

Python 97.1%

开源软件介绍:

PyPI version Build Status

Rubix

What is Rubix?

Python library that makes it easy to perform common DevOps tasks inside Jupyter Notebooks. E.g. plot Cloudwatch metrics, rollback your ECS/kubernetes app etc.

When to use it?

While Rubix can be used in many contexts, it's most useful for writing incident runbooks/playbooks. On-call can read instructions & execute steps right from the Jupyter Notebook. I wrote more about the use case here.

Why Jupyter Notebook?

  • Ideal for quick incident response. Jupyter allows interleaving instructions and executable code.
  • Rich HTML output makes it easy to plot graphs, show deployment status etc.
  • Low friction way to edit/view/execute notebooks in a browser.

Live In Action

Checkout this 1-minute debugging session to see how Rubix helped root cause API latency issue.

Demo Video

Documentation

Currently following integrations are supported in Rubix, would love to add more. Note that Jupyter Notebook supports executing shell commands & SQL queries out of the box.

Installation

Rubix exclusively works with Jupyter notebooks. You can install Jupyter locally or use JupyterHub multi user setup. I also built nurtch (commercial) for easy multi user Jupyter setup.

  • For your Jupyter/JupyterHub setup, just execute the following at the top of any notebook. Bang operator tells Jupyter to execute this as a terminal command.
!pip install rubix
  • Rubix is pre-installed with nurtch multi-user Jupyter setup.
  • Rubix is pre-installed with GitLab 11.4 onwards. See this video for instructions.

Usage

Complete documentation is linked above. Here are some usage examples.

Plot Cloudwatch Metrics

Cloudwatch Metrics Example

Rollback Service in ECS

ECS Rollback Example

Contribute

If you see any problem, open an issue or send a pull request. For additional integrations open an issue with Feature Request tag & clearly describe the operations you want to perform. You can write to us at [email protected] or DM us on twitter.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap