Commit Graph

976 Commits (master)

Author SHA1 Message Date
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
minikube-bot 34cc5b4c11 Kicbase/ISO: Update docker from 27.1.0 to 27.1.1 2024-07-25 14:21:48 -07:00
minikube-bot 0b6a417139 Kicbase/ISO: Update docker from 27.0.3 to 27.1.0 2024-07-22 22:19:29 +00:00
Steven Powell 88700932ae disable VCS stamping 2024-07-19 14:30:02 -05:00
Steven Powell 7b0a16594b turn go modules on 2024-07-19 12:46:47 -05:00