DevStack plugin for installation of container engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zuul b323f5b71a Merge "Docker and kubernetes package installation on CentosStream" 2 months ago
devstack Merge "Docker and kubernetes package installation on CentosStream" 2 months ago
etc/cni/net.d Support enabling CRI for containerd 2 years ago
playbooks Add Kubernetes job 3 years ago
releasenotes/notes Add support for kata container 3 years ago
roles Add Kubernetes job 3 years ago
.gitignore Add bashate job 2 years ago
.gitreview OpenDev Migration Patch 3 years ago
.zuul.yaml Migrate devstack-plugin-container jobs to focal 2 years ago
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2 years ago
README.rst Add support for kata container 3 years ago
tox.ini Bump min tox version to 3.18.0 8 months ago

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 Kata Containers, 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
ENABLE_KATA_CONTAINERS=True
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