DevStack plugin for installation of container engine
Go to file
Hongbin Lu d7a72df7f4 Make the docker job voting
The job install Docker and use basic scenario to verifies if
Docker is working properly. The job is quite stable so far.
This commit changes this job from non-voting to voting.

Change-Id: I7da8471fc9b3b362bf6502f379b60cfeb2a9ad92
2019-05-11 15:50:12 +00:00
contrib Add support for Clear Container Runtime 2018-01-09 10:16:22 +05:30
devstack Support k8s installation 2019-05-07 03:57:24 +00:00
playbooks/devstack-plugin-container-dsvm OpenDev Migration Patch 2019-04-19 19:42:34 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:34 +00:00
.zuul.yaml Make the docker job voting 2019-05-11 15:50:12 +00:00
README.rst Support k8s installation 2019-05-07 03:57:24 +00:00

README.rst

Container Plugin

This plugin enables installation of container engine and Kubernetes on Devstack. The default container engine is Docker.

Enabling in Devstack

1. Download DevStack

For more info on devstack installation follow the below link:

https://docs.openstack.org/devstack/latest/

2. Add this repo as an external repository

This plugin supports installing Kubernetes or container engine only. For installing container engine only, using the following config:

cat > /opt/stack/devstack/local.conf << END
[[local|localrc]]
enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container
END

For installing Kubernetes, using the following config in master node:

cat > /opt/stack/devstack/local.conf << END
[[local|localrc]]
enable_plugin devstack-plugin-container https://git.openstack.org/openstack/devstack-plugin-container
enable_service etcd3
enable_service container
enable_service k8s-master
# kubeadm token generate
K8S_TOKEN="9agf12.zsu5uh2m4pzt3qba"

...

END

And using the following config in worker node:

cat > /opt/stack/devstack/local.conf << END
[[local|localrc]]
SERVICE_HOST=10.0.0.11 # change this to controller's IP address

enable_plugin devstack-plugin-container https://git.openstack.org/openstack/devstack-plugin-container
enable_service container
enable_service k8s-node
# kubeadm token generate
K8S_TOKEN="9agf12.zsu5uh2m4pzt3qba"

...

END

3. Run devstack

cd /opt/stack/devstack
./stack.sh