zuul-jobs/roles/ensure-kubernetes
Ian Wienand 1e133ba51d
enable-kubernetes: Fix jammy install, improve pod test
This updates the ensure-kubernetes testing to check the pod is
actually running.  This was hiding some issues on Jammy where the
installation succeeded but the pod was not ready.

The essence of the problem seems to be that the
containernetworking-plugins tools are coming from upstream packages on
Ubuntu Jammy.  This native package places the networking tools in a
different location to those from the Opensuse kubic repo.

We need to update the cri-o path and the docker path for our jobs.

For cri-o this is just an update to the config file, which is
separated out into the crio-Ubuntu-22.04 include file.

For docker things are bit harder, because you need the cri-docker shim
now to use a docker runtime with kubernetes.  Per the note inline,
this shim has some hard-coded assumptions which mean we need to
override the way it overrides (!).  This works but does all feel a bit
fragile; we should probably consider our overall support for the
docker backend.

With ensure-kubernetes working now, we can revert the non-voting jobs
from the eariler change Id6ee7ed38fec254493a2abbfa076b9671c907c83.

Change-Id: I5f02f4e056a0e731d74d00ebafa96390c06175cf
2022-11-10 10:40:35 +11:00
..
defaults Add addons args in ensure-kubernetes role 2020-06-02 22:49:00 +03:00
tasks enable-kubernetes: Fix jammy install, improve pod test 2022-11-10 10:40:35 +11:00
templates enable-kubernetes: Fix jammy install, improve pod test 2022-11-10 10:40:35 +11:00
README.rst Add addons args in ensure-kubernetes role 2020-06-02 22:49:00 +03:00

An ansible role to install kubernetes.

Role Variables