kolla-ansible/ansible/roles/zun/tasks
Hongbin Lu 91678f67af Zun: Add zun-cni-daemon to compute node
Zun has a new component "zun-cni-daemon" which should be
deployed in every compute nodes. It is basically an implementation
of CNI (Container Network Interface) that performs the neutron
port binding.

If users is using the capsule (pod) API, the recommended deployment
option is using "cri" as capsule driver. This is basically to use
a CRI runtime (i.e. CRI plugin for containerd) for supporting
capsules (pods). A CRI runtime needs a CNI plugin which is what
the "zun-cni-daemon" provides.

The configuration is based on the Zun installation guide [1].
It consits of the following steps:
* Configure the containerd daemon in the host. The "zun-compute"
  container will use grpc to communicate with this service.
* Install the "zun-cni" binary at host. The containerd process
  will invoke this binary to call the CNI plugin.
* Run a "zun-cni-daemon" container. The "zun-cni" binary will
  communicate with this container via HTTP.

Relevant patches:
Blueprint: https://blueprints.launchpad.net/zun/+spec/add-support-cri-runtime
Install guide: https://review.opendev.org/#/c/707948/
Devstack plugin: https://review.opendev.org/#/c/705338/
Kolla image: https://review.opendev.org/#/c/708273/

[1] https://docs.openstack.org/zun/latest/install/index.html

Depends-On: https://review.opendev.org/#/c/721044/
Change-Id: I9c361a99b355af27907cf80f5c88d97191193495
2020-04-30 02:22:20 +00:00
..
bootstrap_service.yml Fix handling of docker restart policy 2019-07-18 13:39:06 +00:00
bootstrap.yml During deploy, always sync DB 2019-07-12 08:56:54 +00:00
check-containers.yml Zun: Add zun-cni-daemon to compute node 2020-04-30 02:22:20 +00:00
check.yml Fix the check.yml of Zun does not exist 2017-03-31 11:42:28 +08:00
clone.yml Support checkout dedicated version from git with dev mode 2018-08-14 16:06:00 +08:00
config.yml Refactor copy certificates task 2020-04-14 17:26:19 +00:00
copy-certs.yml Refactor copy certificates task 2020-04-14 17:26:19 +00:00
deploy-containers.yml Add a job that *only* deploys updated containers 2019-09-26 17:51:14 +01:00
deploy.yml Zun: Add zun-cni-daemon to compute node 2020-04-30 02:22:20 +00:00
loadbalancer.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
main.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
precheck.yml Zun: Add zun-cni-daemon to compute node 2020-04-30 02:22:20 +00:00
pull.yml Specify 'become' for all tasks that use kolla_docker module 2018-06-08 12:39:24 +00:00
reconfigure.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
register.yml Refactor service, endpoint and user registration 2019-09-17 10:13:56 -07:00
stop.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
upgrade.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00