Commit Graph

980 Commits (docker_service)

Author SHA1 Message Date
Nir Soffer a5b60727b9
iso: Fix `minikube stop` with vfkit and krunkit drivers (#21089)
* iso: Minimal kernel for arm64

Create default arm64 config and disable stuff that we cannot use in
a VM.

This chagne was generated by:

1. Create defualt arm64 config

       cd out/buildroot/output-aarch64/build/linux-6.6.95
       make ARCH=arm64 defconfig
       make ARCH=arm64 menuconfig
       (exit saving changes)

2. Disable features that we don't need in the minikube VM:

       - Platform suppport
	 - all platforms
       - Device drivers
         - Multimedia support
         - Sound support

3. Updated our linux defconfig

       cd out/buildroot/output-aarch64
       make linux-update-defconfig

4. Normalize the config

       make linux-menuconfig-aarch64
       (exit saving changes)

With this config qemu, vfkit, and krunkit boot with --no-kubernetes, and
graceful shutdown works in vfkit and krunkit (using --restful-uri).

We cannot start kubernetes yet since some features are not available in
the default architecture config.

* iso: Add configs removed by defualt config

This restores the configs removed by updating from the default
architecture config. These configs are required for kubernetes support.

After adding the removed configs, run `make linux-menuconfig-aarch64` to
normalize the config and remove multimedia and sound card support again.

* iso: Unbreak go packages build

Adding go.work seems to break podman build. The workspace is needed only
for running the update commands so let's disable it when building the
iso.

We may need much bigger change to ensur that the workspace is used only
when running the update go commands, or remove it. This change fixes
only the iso build.

* Updating ISO to v1.36.0-1752940814-21089

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-19 18:43:46 -07:00
minikube-bot dce184900f
Kicbase/ISO: Update docker from 28.0.4 to 28.3.2 (#21053)
* Kicbase/ISO: Update docker from 28.0.4 to 28.3.2

* Updating kicbase image to v0.0.47-1752142599-21053

* Updating ISO to v1.36.0-1752142514-21053
2025-07-14 14:03:14 -07:00
Nir Soffer 447113560c
iso: Update to longterm kernel to 6.6.95 (#20995)
* iso: Update kernel to 6.6.95 for x86_64

Generated by running `make iso-menuconfig-x86_64` and updating kernel
version to longterm kernel 6.6.95 and kernel headers to 6.6.x, and then
running `make linux-menuconfig-x86_64` to update the linux config.

Additinally update hyperv-daemons package to use kernel 6.x.

* iso: Update kernel to 6.6.95 for aarch64

Generated by running `make iso-menuconfig-aarch64` and updating kernel
version to longterm kernel 6.6.95 and kernel headers to 6.6.x, and then
running `make linux-menuconfig-aarch64` to update the linux config.

* iso: Enable VirtIO GPU for krunkit driver

The krunkit driver exposes the host GPU via VirtIO GPU, enabling AI
workloads in the guest.

* Updating ISO to v1.36.0-1751445739-20995

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-08 13:06:52 -07:00
Nir Soffer 77b44f9269
iso: Improve build and clean up configuration (#20991)
* iso: Extract buildroot target

Beofre we can build the iso, we need to clone and configure buildroot.
This is required to run iso-menuconfig-{arch}.

* iso: Extract iso-prepare-% target

This target prepare for building an iso or running menuconfig. With this
change we can run the {iso,linux}-menuconfig-{x86_64,aarch64} targets
without buidling the entire iso.

* iso: Fix linux-menuconfig-% target

Previouly it worked only after building the entire iso. Now we make this
target without building the iso or running iso-menuconfig.

On the first run this downloads and builds lot for packages required to
run the linux-menuconfig target, but it is much shorter than buidling
the entire iso.

* iso: Simplify linux-menuconfig-%

Preveviously we copied the defconfig manauly to the beoard config file.
This can be done using the special linux-update-defconfig target.

With this change we don't need to keep KERNEL_VERSION in the Makefile,
making future upgrade easier.

* iso: Update buildroot configuration for aarch64

Run `make iso-menuconfig-aarch64` without making any changes updates the
buildroot config. It seems that there were manual changes in the config
which are overwritten when running iso-menuconfig. Removing the manual
changes to make it easier to edit the configuration with kconfig.

* iso: Update buildroot configuration for x86_64

Same as the aarch64 change to make it easier to configure using kconfig.

* iso: Update linux configuration for aarch64

Same as iso-menuconfig-aarch64, run `make linux-menuconfig-aarch64` and
exit without any change to update the config. This seems to change the
order, removing manual changes from the config. This will make it easier
to configure using kconfig in the future.

* iso: Update linux configuration for x86_64

Same as the aarch64 changes to make it easier to configure using kconfig
in the future.

* iso: Disable all platform for aarch64

We run on qemu virt machine or apple virtualization so we don't need
support for all kinds of embeded Arm boards. This reduces the arm64 iso
size from 410 MiB to 392 MiB.

* Updating ISO to v1.36.0-1751221996-20991

* Updating ISO to v1.36.0-1751315722-20991

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-01 14:21:57 -07:00
Nir Soffer 57dd4b3d17
iso: Disable grub timeout speeding up vm start by 5 seconds (#20895)
* iso: Disable grub timeout

This speeds up machine boot by 5 seconds. The timeout may be helpful for
debugging boot issues but we don't have a way to access the serial
console for debugging currently.

Testing shows about ~5 seconds speedup.

| driver     | timeout | start time |
|------------|---------|------------|
| vfkit[1]   |     5.0 |      24.01 |
| vfkit[1]   |     0.0 |      19.90 |
| qemu       |     5.0 |      29.46 |
| qemu       |     0.0 |      24.28 |
| krunkit[2] |     5.0 |      25.14 |
| krunkit[2] |     0.0 |      20.51 |

[1] Tested with #20833, booting using iso instead of direct kernel
    boot. Direct kernel boot is little bit faster (e.g. 18.x).
[2] Tested with #20826

* Updating ISO to v1.36.0-1749153077-20895

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-06-06 16:07:50 -07:00
Nir Soffer da0839e79d
iso: Fix console for vfkit/krunkit (#20832)
* iso: Fix console for vfkit/krunkit

The serial console name depends on the driver. We had setting for qemu
that does not work for vfkit and krunkit, breaking boot from minikube
iso.

Fixed by using 2 console= options, one is known to work for qemu, and
one for vfkit and krunkit. With this we can use the same iso image with
qemu, vfkit, and krunkit.

This will allow simplifying vfkit driver. Previously we had to extract
the kernel and initrd and start it using the legacy --kernel,
--kernel-cmdline and --initrd options.

I tested this by building the iso with this fix and running with
--iso-url.

Example run with qemu:

    % minikube start -p qemu --driver qemu --container-runtime containerd \
        --iso-url file://$PWD/minikube-arm64.iso
    😄  [qemu] minikube v1.36.0 on Darwin 15.5 (arm64)
      Using the qemu2 driver based on user configuration
    🌐  Automatically selected the socket_vmnet network
    👍  Starting "qemu" primary control-plane node in "qemu" cluster
    🔥  Creating qemu2 VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
    📦  Preparing Kubernetes v1.33.1 on containerd 1.7.23 ...
        ▪ Generating certificates and keys ...
        ▪ Booting up control plane ...
        ▪ Configuring RBAC rules ...
    🔗  Configuring bridge CNI (Container Networking Interface) ...
    🔎  Verifying Kubernetes components...
        ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
    🌟  Enabled addons: default-storageclass, storage-provisioner
    🏄  Done! kubectl is now configured to use "qemu" cluster and "default" namespace by default

Example run with krunkit:

    % minikube start -p krunkit --driver krunkit --container-runtime containerd \
        --iso-url file://$PWD/minikube-arm64.iso
    😄  [krunkit] minikube v1.36.0 on Darwin 15.5 (arm64)
      Using the krunkit (experimental) driver based on user configuration
    👍  Starting "krunkit" primary control-plane node in "krunkit" cluster
    🔥  Creating krunkit VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
    📦  Preparing Kubernetes v1.33.1 on containerd 1.7.23 ...
        ▪ Generating certificates and keys ...
        ▪ Booting up control plane ...
        ▪ Configuring RBAC rules ...
    🔗  Configuring bridge CNI (Container Networking Interface) ...
    🔎  Verifying Kubernetes components...
        ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
    🌟  Enabled addons: default-storageclass, storage-provisioner
    🏄  Done! kubectl is now configured to use "krunkit" cluster and "default" namespace by default

* Updating ISO to v1.36.0-1749066232-20832

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-06-05 10:54:58 -07:00
Predrag Rogic 4da3cedc84
Fix KVM driver (tests) timeouts (#20852)
* Fix KVM driver tests timeouts

Rewrite KVM driver waiting logic for domain start, getting ip address
and shutting domain down. Add more config/state outputs to aid future
debugging.

Bump go/libvirt to v1.11002.0 and set the minimum memory required for
running all tests to 3GB to avoid some really weird system behaviour.

* revert reduction of timelimit for TestCert tests run

* set memory and debug output in TestNoKubernetes tests

* extend kvm waitForStaticIP timeout

* add console log to debug output

* Updating ISO to v1.36.0-1748823857-20852

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-06-03 15:07:48 -07:00
minikube-bot 9171dbbc18
Kicbase/ISO: Update cni-plugins from v1.6.2 to v1.7.1 (#20771)
* Kicbase/ISO: Update cni-plugins from v1.6.2 to v1.7.1

* Updating kicbase image to v0.0.46-1747341282-20771

* Updating ISO to v1.35.0-1747341198-20771
2025-05-16 11:31:38 -07:00
minikube-bot be7dd7c518
Kicbase/ISO: Update runc from v1.2.6 to v1.3.0 (#20764)
* Kicbase/ISO: Update runc from v1.2.6 to v1.3.0

* Updating kicbase image to v0.0.46-1747264594-20764

* Updating ISO to v1.35.0-1747264512-20764
2025-05-15 10:38:52 -07:00
minikube-bot a141f42521
Kicbase/ISO: Update cri-dockerd from v0.3.15 to v0.4.0 (#20747)
* Kicbase/ISO: Update cri-dockerd from v0.3.15 to v0.4.0

* Updating kicbase image to v0.0.46-1747166185-20747

* Updating ISO to v1.35.0-1747160120-20747
2025-05-14 14:49:05 -07:00
VerlorenerReisender 5ee31ab152
Kicbase/ISO: Update buildroot from 2023.02.9 to 2025.2 (#20720)
* Kicbase/ISO: Update buildroot from 2023.02.9 to 2024.11.2

* Updating ISO to v1.35.0-1746739450-20720

* fix restart

* fix kvm containerd

* fix falco-modules

* remove falco for good

* use expo retry

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-05-13 10:08:07 -07:00
minikube-bot fe470c1679
Kicbase/ISO: Update runc from v1.2.5 to v1.2.6 (#20604)
* Kicbase/ISO: Update runc from v1.2.5 to v1.2.6

* Updating kicbase image to v0.0.46-1744107393-20604
2025-04-10 14:15:59 -07:00
minikube-bot 709f200e9b
Kicbase/ISO: Update docker from 28.0.1 to 28.0.4 (#20591)
* Kicbase/ISO: Update docker from 28.0.1 to 28.0.4

* Updating kicbase image to v0.0.46-1743675393-20591
2025-04-04 12:07:07 -07:00
minikube-bot 802ce44801
Kicbase/ISO: Update docker from 28.0.0 to 28.0.1 (#20523)
* Kicbase/ISO: Update docker from 28.0.0 to 28.0.1

* Updating kicbase image to v0.0.46-1741860993-20523
2025-03-13 16:46:47 -07:00
minikube-bot 7512311745
Update go from 1.23.4 to 1.24.0 (#20510)
* Update go from 1.23.4 to 1.24.0

* Updating kicbase image to v0.0.46-1741597657-20510
2025-03-10 10:37:40 -07:00
minikube-bot c551e9aeda
Kicbase/ISO: Update docker from 27.4.0 to 28.0.0 (#20436)
* Kicbase/ISO: Update docker from 27.4.0 to 28.0.0

* Updating kicbase image to v0.0.46-1740046583-20436
2025-02-20 14:41:42 -08:00
minikube-bot 15b614c7cd
Kicbase/ISO: Update runc from v1.2.3 to v1.2.5 (#20433)
* Kicbase/ISO: Update runc from v1.2.3 to v1.2.5

* Updating kicbase image to v0.0.46-1739873784-20433
2025-02-18 10:14:25 -08:00
minikube-bot 298599cc50 Update go from 1.23.3 to 1.23.4 2025-01-15 15:10:49 -08:00
minikube-bot cbd4945d16
Kicbase/ISO: Update cni-plugins from v1.6.1 to v1.6.2 (#20236)
* Kicbase/ISO: Update cni-plugins from v1.6.1 to v1.6.2

* Updating kicbase image to v0.0.45-1736763277-20236

* Updating ISO to v1.34.0-1736762773-20236
2025-01-13 08:26:04 -08:00
minikube-bot a507260e73
Kicbase/ISO: Update dependency versions (#20090)
* Kicbase/ISO: Update dependency versions

* Updating kicbase image to v0.0.45-1734029593-20090

* Updating ISO to v1.34.0-1734029574-20090
2024-12-16 11:13:46 -08:00
minikube-bot 94b67b6db7
Kicbase/ISO: Update buildkit from v0.16.0 to v0.18.1 (#20089) 2024-12-12 10:14:45 -08:00
minikube-bot 7e1077f88d
Kicbase/ISO: Update crun from 1.18.2 to 1.19 (#20083)
* Kicbase/ISO: Update crun from 1.18.2 to 1.19

* Updating kicbase image to v0.0.45-1733912881-20083

* Updating ISO to v1.34.0-1733936888-20083
2024-12-12 10:11:52 -08:00
minikube-bot 558f1bebdf Update go from 1.23.2 to 1.23.3 2024-12-09 09:02:44 +00:00
minikube-bot 7cf70409cb
Kicbase/ISO: Update crun from 1.18 to 1.18.2 (#19917)
* Kicbase/ISO: Update crun from 1.18 to 1.18.2

* Updating kicbase image to v0.0.45-1730888964-19917

* Updating ISO to v1.34.0-1730913550-19917
2024-11-07 09:52:36 -08:00
minikube-bot 79ad8801c7 Kicbase/ISO: Update crun from 1.17 to 1.18 2024-10-30 10:01:00 +00:00
minikube-bot 348b475d7b Kicbase/ISO: Update cni-plugins from v1.5.1 to v1.6.0 2024-10-28 10:01:40 +00:00
minikube-bot 896b021ae6 Update go from 1.23.1 to 1.23.2 2024-10-25 16:52:04 +00:00
minikube-bot 1f953ea0aa Kicbase/ISO: Update containerd from v1.7.22 to v1.7.23 2024-10-21 11:21:50 -07:00
Steven Powell c1f8377a91 CI: Fix LegacyKeyValueFormat warning when building images 2024-10-14 15:07:33 -05:00
minikube-bot 19890b2f63 Kicbase/ISO: Update runc from v1.1.14 to v1.1.15 2024-10-08 10:07:09 +00:00
minikube-bot 1655a4be18 Update go from 1.23.0 to 1.23.1 2024-10-04 17:33:09 +00:00
minikube-bot 71a9b82ae7 Kicbase/ISO: Update docker from 27.3.0 to 27.3.1 2024-09-23 16:05:12 +00:00
minikube-bot c214889d38 Kicbase/ISO: Update docker from 27.2.1 to 27.3.0 2024-09-19 22:19:09 +00:00
minikube-bot 8b26e904ed Kicbase/ISO: Update nerdctl from 1.7.6 to 1.7.7 2024-09-16 10:05:17 +00:00
minikube-bot b0b42b9dbc ISO: Update docker-buildx from v0.16.2 to v0.17.1 2024-09-15 15:47:36 +00:00
minikube-bot e965eaa2a3 Kicbase/ISO: Update buildkit from v0.15.2 to v0.16.0 2024-09-14 23:58:50 +00:00
minikube-bot 0407c2b875 Kicbase/ISO: Update containerd from v1.7.21 to v1.7.22 2024-09-14 02:32:48 +00:00
minikube-bot b0b1a5d3fb Kicbase/ISO: Update crun from 1.16.1 to 1.17 2024-09-13 15:55:37 +00:00
minikube-bot 19ee15a791 Update go from 1.22.5 to 1.23.0 2024-09-13 02:10:19 +00:00
minikube-bot e8dc5a4cc4 Kicbase/ISO: Update docker from 27.2.0 to 27.2.1 2024-09-12 15:42:11 +00:00
minikube-bot 911e8a5c49 Kicbase/ISO: Update runc from v1.1.13 to v1.1.14 2024-09-09 20:09:58 +00:00
minikube-bot 655d4c72e8
Kicbase/ISO: Update docker from 27.1.2 to 27.2.0 (#19530)
* Kicbase/ISO: Update docker from 27.1.2 to 27.2.0

* Updating kicbase image to v0.0.44-1724862063-19530

* Updating ISO to v1.33.1-1724862017-19530
2024-08-30 10:27:55 -07:00
minikube-bot 31a681bc67 Kicbase/ISO: Update containerd from v1.7.20 to v1.7.21 2024-08-27 15:47:25 +00:00
Anders F Björklund c56e02ce4b Remove crio-wipe service that is not required 2024-08-26 12:14:15 +02:00
minikube-bot efef9cc864 Kicbase/ISO: Update buildkit from v0.15.1 to v0.15.2 2024-08-15 16:43:41 +00:00
minikube-bot b7534896e5 Kicbase/ISO: Update crun from 1.16 to 1.16.1 2024-08-14 15:34:30 +00:00
minikube-bot b095a85b80 Kicbase/ISO: Update docker from 27.1.1 to 27.1.2 2024-08-13 16:47:03 +00:00
minikube-bot 2ab998bf59 Kicbase/ISO: Update buildkit from v0.15.0 to v0.15.1 2024-08-08 12:37:34 -07:00
minikube-bot 820e515200 Kicbase/ISO: Update crun from 1.15 to 1.16 2024-08-07 14:33:25 -07:00
minikube-bot 143c6459f7 ISO: Update docker-buildx from v0.16.1 to v0.16.2 2024-07-30 11:07:53 -07:00