Files
zuul-jobs/roles
Clark Boylan b16fae463e Bump the default ensure-kubernetes microk8s version to 1.31/stable
Previously we pinned to 1.28/stable due to a bug that prevented
1.29/stable from working. Now we've hit a new issue with 1.28/stable on
bookworm. The fix for that appears to simply be to upgrade to
1.31/stable so we do so here. More details can be found in this GitHub
issue:

  https://github.com/canonical/microk8s/issues/4361

The new version appears to return from the snap installation before the
k8s installation is fully ready to deal with add-on installation. This
occasionally produces errors like:

  subprocess.CalledProcessError:
  Command '('/snap/microk8s/7178/microk8s-kubectl.wrapper', 'get',
            'all,ingress', '--all-namespaces')'
  returned non-zero exit status 1.

Work around that with `microk8s status --wait-ready` to ensure that k8s
is up before adding addons.

While we are at it we also update the collect-kubernetes-logs role to
collect microk8s inspect output as that would've enabled us to debug the
above issue without holding nodes. We also update test jobs to trigger
when the collect-kubernetes-logs and collect-container-logs roles are
updated to ensure we get coverage from those jobs when updating these
roles.

Change-Id: I60022ec6468c2cadd723a71bbc583f20096b27dc
2024-09-17 15:04:05 -07:00
..
2022-05-05 14:40:00 +10:00
2022-07-27 17:13:39 +10:00
2022-11-07 10:37:53 +11:00
2020-11-09 14:40:00 +00:00
2020-11-03 10:04:27 +00:00
2020-11-09 14:40:00 +00:00
2020-05-06 07:54:30 +02:00
2024-08-19 09:13:07 +02:00
2022-08-15 10:54:23 -07:00
2020-11-09 14:40:00 +00:00
2022-12-15 13:22:49 -08:00
2020-11-09 14:40:00 +00:00
2022-11-07 10:37:53 +11:00
2024-07-02 08:00:55 -07:00
2020-11-10 19:34:45 +00:00
2019-11-20 20:27:21 +01:00
2022-07-27 17:13:39 +10:00
2021-03-08 13:30:32 +00:00
2022-07-27 17:13:39 +10:00
2020-11-02 18:38:54 +00:00
2020-05-16 17:46:17 +02:00
2021-03-17 15:44:43 +00:00
2024-01-08 16:09:17 +00:00
2022-07-27 17:13:39 +10:00
2022-11-07 10:37:53 +11:00
2021-03-17 15:44:43 +00:00
2022-07-27 17:13:39 +10:00
2021-03-08 13:30:32 +00:00
2018-08-17 10:23:20 +10:00