Skip to content

New code/example required for Minikube 1.24+ because of switch to cri-dockerd & cni #2

@jimlindeman

Description

@jimlindeman

Using minikube versions 1.24 and later on Travis requires additional steps like:

  1. downloading/installing a recent go compiler (like 1.19)
  2. downloading/compiling/installing latest containerd-cni from https://raw.githubusercontent.com/containerd/containerd/
  3. downloading/compiling/installing latest cri-dockerd from https://github.com/Mirantis/cri-dockerd.git
  4. installing latest crictl from https://github.com/kubernetes-sigs/cri-tools/

It took me 10+ hours to figure the right combination of steps to make containers start up. However, the container-cni library, while recognized by minikube, doesn't seem to actually configure the networking correctly in minikube because the pods are not able to talk to the outside internet (i.e. the containers still seem to be on host/null networks under docker0 instead of on the cni0 bridge created by containerd-cni).

Once we get this figured out, for long term I really think this makes sense to have these pieces be offered pre-installed by Travis similar to what it does for:

services:
 - docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions