码迷,mamicode.com
首页 > 其他好文 > 详细

kolla newton 配置

时间:2016-10-21 17:03:26      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:kolla   newton   

一、环境准备

准备一台centos7系统虚拟机

二、安装kolla

  • 安装epel

yum install epel-release -y
  • 配置ntp

yum install ntp -y
systemctl enable ntpd
systemctl start ntpd
  • 配置docker源

cat /etc/yum.repos.d/docker.repo
[dockerrepo]
name=Docker Repository
#baseurl=
baseurl=
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
  • 安装docker

yum install docker-engine -y
  • 安装git

yum install git -y
  • 安装pip

yum install pip -y
pip install pip --upgrade
  • 安装kollla

git clone https://github.com/openstack/kolla.git
cd kolla
git checkout stable/newton
pip install -r requirements.txt
python setup.py install
cp -r etc/kolla /etc/
  • 安装ansible

yum remove ansiable* -y && yum autoremove -y
pip install ansible

三、安装docker registry

cat /usr/lib/systemd/system/docker.service
...
ExecStart=/usr/bin/dockerd --insecure-registry registry_ip_address:registry_ip_port
...

四、构建image

kolla-build --base centos --base-tag 7 \

  --type source \

  --registry registry_ip_address:registry_ip_port \

  --push 2>&1 | tee -a kolla_build.logs

本文出自 “武陵荒草” 博客,请务必保留此出处http://penguintux.blog.51cto.com/3021117/1864180

kolla newton 配置

标签:kolla   newton   

原文地址:http://penguintux.blog.51cto.com/3021117/1864180

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!