Kubernetes In Kubernetes the Easy Way
If you are planing to adopt CloudNative way to ship your products in an efficient way, then Kubernetes might be a good choice to mondernize IT.After serveral years growth, the product went into an stable state and adpoted by large number of companies in Production environments. All major cloud prvoider players offerred their own kubernretes service with their own addons. Kelsey Hightower wrote an good article Kubernetes-the-hard-way to help you better understanding the tasks needed to deploy a workable kubernetes cluster. The minimal tasks needed are:
Read MoreOpenStack Internal Service Design
API前端服务 每个 OpenStack 组件可能包含若干子服务,其中必定有一个 API 服务负责接收客户请求。 以 Nova 为例,nova-api 作为 Nova 组件对外的唯一窗口,向客户暴露 Nova 能够提供的功能。 当客户需要执行虚机相关的操作,能且只能向 nova-api 发送 REST 请求。 这里的客户包括终端用户、命令行和 OpenStack 其他组件。 设计 API 前端服务的好处在于:
Read MoreOpenStack AIO Setup with Ansible
如果你是OpenStack 的developer的话,那么相信对DevStack的会十分的熟悉。 DevStack 可以在一台机器上快速的交付AIO(all-in-one)的OpenStack环境十分的方便。 OpenStack-Ansible 是一种通过ansible来部署OpenStack 环境的方案,具体的设计初衷、以及如果使用请参考rackspace 以及platform9开发博客 物理环境 名称 信息 OS Dist Ubuntu 16.
Read MoreOpenStack Nova 添加扩展API流程
例子中涉及到SQLAlchemy 得相关操作,可以参考 [上一随笔] Openstack 中规定,扩展openstack得api有两种方式 创建新的WSGI 资源 扩展原有得WSGI资源得控制器(我得理解是,接受到API请求后,具体得响应逻辑) 这两种方式中,都要求写一个新的模块来声明控制器类去处理请求和实现扩展。 在一个API模块中,可以有一个或多个得资源和扩展控制器。
Read More