2014-05-20 Lingxian Kong
之前的一篇博客讲了AWS和Heat中AutoScaling的机制和大概的实现,本篇是上一篇的姊妹篇,主要讲autoscaling在heat中的简单使用。 环境准备 我们还是以一个模板为例,模板内容如下: { "HeatTemplateFormatVersion": "2012-12-12", "Description": "Template which create a base autoscaling for launch base.", "Parameters": { "InstanceType": { "Type": "String" }, "ImageId": { 继续阅读 »
2016-06-07 Lingxian Kong
Nova flavor The flavor will be used for creating octavia service vm. We can create a new flavor or reuse an existing one. Commands: nova flavor-create --is-public False m1.amphora ${OCTAVIA_AMP_FLAVOR_ID} 1024 2 1 Option: [controller_worker] amp_flavor_id = ${OCTAVIA_AMP_FLAVOR_ID} Nova keypair If we want to log 继续阅读 »
2019-04-18 geekspeng
准备工作 安装 virt-install ```bash yum install -y virt-install ``` ISO镜像安装虚拟机 在官方网站下载CentOS-7ISO镜像 使用qemu-img工具创建一个虚拟硬盘 bash qemu-img create -f qcow2 /tmp/centos7.qcow2 10G 继续阅读 »
2014-01-23 Kun Ren
Finally I set up my blog website hosted by GitHub Pages. It is quite amazing to create a website totally for free. After some trial and error, now I come up with a stable workflow to publish my work, introductory materials, and random thoughts online. 继续阅读 »
2017-01-15 Lu Huang
This page is going to tell how to install tensorflow on ubuntu 16.04 from the github sources. I sugget you to use conda or miniconda as your python, then you can skip section 6: Create the pip package and install. 继续阅读 »
2016-07-06 ruki
Website Sources Changelog Changes Change install and uninstall actions Update templates Improve to check function Bugs fixed #7: Fix create project bug with '[targetname]' #9: Support clang with c++11 Fix api scope leaks bug Fix path bug for windows Fix check function bug Fix check toolchains failed Fix compile fa 继续阅读 »
2015-11-02 veryyoung
Create and configure lightweight, reproducible, and portable development environments. 上面这段话来自 Vagrant 官网,我翻译一下:创建和配置轻量级的,可重复的,可移植的开发环境。 继续阅读 »
2019-01-13 Alex Sun
一、Pod定义 官网文档对Pod的定义是: A Pod is the basic building block of Kubernetes–the smallest and simplest unit in the Kubernetes object model that you create or deploy. A Pod represents a running process on your cluster. 继续阅读 »
2015-11-21 Klaus Ma
Swarm on Mesos Overview Swarm API gets REST API request, and then create a task and put it into message queue. Swarm Cluster (registered as Mesos framework) gets offer from Mesos Swarm Cluster picks up a task from message queue Swarm Cluster calls Scheduler’s routine to gets target host Swarm Cluster calls Mesos 继续阅读 »
2014-07-02 Lingxian Kong
stack domain解决以下几个问题: 从虚拟机内部访问Heat服务时的身份认证。 用domain的方式实现,创建的用户对非管理员不可见 创建的用户的操作权限是被隔离的 配置的步骤如下: 1、安装python-openstackclient,因为keystoneclient不支持V3 API,将来也不会支持,参考这里的讨论。 2、创建domain UVP:/home/kong # openstack --os-token 2012 --os-url=http://172.25.150.8:5000/v3 --os-identity-api-version=3 domain create heat --descri 继续阅读 »