Current docker-ce is not supported in CentOS8.
So we should add note which explain devstack for using kubernetes
does not work on CentOS8.
Change-Id: Ie452debd5721093013d78544ef8c4ca03b1a32cc
(cherry picked from commit a102176db2)
3.9 KiB
Install via Devstack
Overview
Tacker provides some examples, or templates, of
local.conf used for Devstack. You can find them in
${TACKER_ROOT}/devstack directory in the tacker
repository.
Devstack supports installation from different code branch by
specifying branch name in your local.conf as described in
below. If you install the latest version, use master
branch. On the other hand, if you install specific release, suppose
ussuri in this case, branch name must be
stable/ussuri.
For installation, stack.sh script in Devstack should be
run as a non-root user with sudo enabled. Add a separate user
stack and granting relevant privileges is a good way to
install via Devstack1.
Install
Devstack expects to be provided local.conf before
running install script. The first step of installing tacker is to clone
Devstack and prepare your local.conf.
Download DevStack
Get Devstack via git, with specific branch optionally if you prefer, and go down to the directory.
$ git clone https://opendev.org/openstack-dev/devstack -b <branch-name> $ cd devstackEnable tacker related Devstack plugins in
local.conffilelocal.confneeds to be created by manual, or copied from Tacker repo2 renamed aslocal.conf. We have two choices for configuration basically. First one is theall-in-onemode that installs full Devstack environment including Tacker in one PC or Laptop. Second, it isstandalonemode which only will install only Tacker environment with some mandatory OpenStack services. Nova, Neutron or other essential components are not included in this mode.All-in-one mode
There are two examples for
all-in-onemode, targetting OpenStack or Kubernetes as VIM.local.confforall-in-onemode with OpenStack3 is shown as below.../../../devstack/local.conf.example
The difference between
all-in-onemode with Kubernetes4 is to deploy kuryr-kubernetes and octavia.../../../devstack/local.conf.kubernetes
Note
The above local.conf.kubernetes does not work on CentOS8. Because docker-ce is not supported on CentOS8.
Standalone mode
The
local.conffile of standalone mode from5 is shown as below.../../../devstack/local.conf.standalone
Installation
After saving the
local.conf, we can runstack.shin the terminal to start setting up.$ ./stack.sh
Footnotes
https://opendev.org/openstack/tacker/src/branch/master/devstack↩︎
https://opendev.org/openstack/tacker/src/branch/master/devstack/local.conf.example↩︎
https://opendev.org/openstack/tacker/src/branch/master/devstack/local.conf.kubernetes↩︎
https://opendev.org/openstack/tacker/src/branch/master/devstack/local.conf.standalone↩︎