Commit Graph

1551 Commits (medyagh-patch-3)

Author SHA1 Message Date
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
Medya Ghazizadeh f8f52f5de1
add changelog for minikube 1.36.0 (#20821)
* add changelog for v1.36.0

* add changelog for v1.36.0

* bump minikube version to 1.36.0

* review comments
2025-05-22 10:55:32 -07:00
minikube-bot cc5eacb23d
Release: Update ISO to v1.36.0 (#20816) 2025-05-21 20:33:46 -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
Nir Soffer f9c9d20f55
build: Use jammy based xcgo image for hyperkit (#20746)
* build: Fix docker run when selinux is enabled

When mouting volumes we need to use :Z suffix to allow access to the
mounted directory. This fixes docker run when running on Fedora an other
distros using selinux by default.

* build: Use jammy based xcgo image for hyperkit

Image was built from:
https://github.com/nirs/xcgo

Maybe we need to add this repo under the minikube organization or
include the code in minikube repo.

With this I could build hyperkit using:

    $ make hyperkit_in_docker
    $ file out/docker-machine-driver-hyperkit
    out/docker-machine-driver-hyperkit: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
2025-05-13 12:55:02 -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
Tian 8575beea95
migrate golangci lint to v2 (#20658)
* migrate golangci lint to v2

* Optimize rule verification configuration files
2025-05-09 13:55:07 -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 3b4f03443f
CI: Update golint from v1.63.4 to v1.64.5 (#20421) 2025-02-18 10:14:53 -08:00
Predrag Rogic 48b66bb628 set GOTOOLCHAIN to GO_VERSION in Makefile 2025-01-27 20:13:15 -08:00
Predrag Rogic 1f372f177a set GOTOOLCHAIN to GO_VERSION in Makefile 2025-01-27 20:13:15 -08:00
Predrag Rogic 41d7589048 set GOTOOLCHAIN to local in Makefile 2025-01-27 20:13:15 -08:00
minikube-bot a93b590f29 CI: Update golint from v1.62.2 to v1.63.4 2025-01-22 18:44:43 +00:00
minikube-bot 298599cc50 Update go from 1.23.3 to 1.23.4 2025-01-15 15:10:49 -08:00
Medya Gh 7a33b23d08 bump version 135 2025-01-15 13:54:01 -08:00
minikube-bot 6dabd6fd63
Release: Update ISO to v1.35.0 (#20257) 2025-01-14 11:45:19 -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 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
Steven Powell b9c712332a
Merge pull request #20065 from minikube-bot/auto_bump_golang_version-3b895bd
Update go from 1.23.2 to 1.23.3
2024-12-10 11:24:48 -08:00
Steven Powell bccf50eba0
Merge pull request #20062 from prezha/make-arm64
fix make by skipping kvm2-arm64 till 19959 is resolved
2024-12-10 11:22:55 -08:00
Fredrik Holmqvist d66790a48c
Update Makefile, correct update-nerdctld-version
It is missing a 'd'.
2024-12-10 16:23:54 +01:00
minikube-bot 558f1bebdf Update go from 1.23.2 to 1.23.3 2024-12-09 09:02:44 +00:00
Predrag Rogic 9645626412
fix make by skipping kvm2-arm64 till 19959 is resolved 2024-12-08 17:36:33 +00:00
Steven Powell 6c1c8a28f7
Merge pull request #20024 from minikube-bot/auto_bump_golint_version
CI: Update golint from v1.62.0 to v1.62.2
2024-12-05 09:17:19 -08:00
tianlj f0e3399a0b
Remove extra '\'
Remove extra '\'
2024-12-05 01:45:38 +00:00
Medya Ghazizadeh 2b52e11e18
remove arm64 kvm (#19985)
* remove arm64 kvm

* add to drivers

* spaces

* spaces

* remove kvm arm64 from build and upload script

* add missing backslash

* remove deb arm64 kvm

* add not used

* remove kvm arm64
2024-12-04 12:54:33 -08:00
minikube-bot 2474191f0a CI: Update golint from v1.62.0 to v1.62.2 2024-12-02 10:02:36 +00:00
minikube-bot 280ecd4d4b CI: Update golint from v1.61.0 to v1.62.0 2024-11-11 10:02:24 +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 121f0c56d9 Updating ISO to v1.34.0-1730282777-19883 2024-10-30 14:35:53 +00:00
minikube-bot d8c730041b Updating ISO to v1.34.0-1730109979-19872 2024-10-28 16:02:36 +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 e5310e2a0a Updating ISO to v1.34.0-1729002252-19806 2024-10-21 11:21:50 -07:00
fbyrne 50b5d8ee62 Add support for AMD GPU via --gpu=amd for docker linux amd64. 2024-10-11 21:36:06 +01:00
Steven Powell 30db4fd877
CI: Auto update kube-registry-proxy image (#19766) 2024-10-09 11:25:31 -07:00
Steven Powell 910bd33621
addon gvisor: Update gvisor-addon image from v0.0.1 to v0.0.2 (#19776) 2024-10-09 11:13:30 -07:00
minikube-bot 95efbc930e Updating ISO to v1.34.0-1728382514-19774 2024-10-08 16:16:19 +00:00
minikube-bot 1655a4be18 Update go from 1.23.0 to 1.23.1 2024-10-04 17:33:09 +00:00
Predrag Rogic 48c1157c61
automate kube-vip version update 2024-09-28 19:44:42 +01:00
minikube-bot 60137f5eb6 Updating ISO to v1.34.0-1727108440-19696 2024-09-23 21:53:20 +00:00
minikube-bot d6d2a37830 Updating ISO to v1.34.0-1726784654-19672 2024-09-20 04:06:49 +00:00
minikube-bot 32fce3c1cb Updating ISO to v1.34.0-1726481713-19649 2024-09-16 15:53:22 +00:00
minikube-bot 33e06a9c3e Updating ISO to v1.34.0-1726415472-19646 2024-09-15 21:33:47 +00:00
minikube-bot c0eea096ac Updating ISO to v1.34.0-1726358414-19644 2024-09-15 05:41:59 +00:00