ignite icon indicating copy to clipboard operation
ignite copied to clipboard

add new centos-firekube image skeleton

Open chanwit opened this issue 6 years ago • 2 comments
trafficstars

This PR adds a new Dockerfile and other scripts to prepare a CentOS image with pre-loaded container images which are used to bootstrap Firekube.

Todos:

  • [x] Dockerfile
  • [x] Add Makefile
  • [x] Preload wksctl 0.8.1
  • [x] Test

Fixes #477

chanwit avatar Oct 11 '19 17:10 chanwit

kindly ping @stealthybox this PR's ready to review.

chanwit avatar Oct 12 '19 07:10 chanwit

Notes from the oct14 ignite dev call (recorded):

  • The technical approach for building this primed image appears technically sound
  • The yum cache is created in this image to workaround bugs that prevent the VM from booting when packages like docker-ce are pre-installed. This bug is not understood but may relate to SELinux.
  • This image build depends on a modified version of the unsupported ctr binary from containerd v1.2.9 that is capable of priming the containerd rootfs with images without unpacking them to a snapshotter implementation.
  • Maintaining this ctr129 binary will need to be done until we can use a docker/kubernetes version in Firekube that supports the brand-new containerd v1.3.0
  • This image is probably better managed in the Firekube project since it will need to be updated and released in when Firekube changes. Changes to ignite are not likely to cause changes to this image.
  • We should try hard not to have a separate image between the ignite and footloose implementations as that complicates the Firekube project.

stealthybox avatar Oct 14 '19 16:10 stealthybox