Commit Graph

1569 Commits (dependabot/go_modules/golang.org/x/term-0.35.0)

Author SHA1 Message Date
Medya Ghazizadeh 86e7c954da update version in Makefile 2025-09-09 12:44:13 -07:00
minikube-bot 24e95f62f6 Release: Update ISO to v1.37.0 2025-09-09 02:35:49 +00:00
minikube-bot 554d756f5d Updating ISO to v1.36.0-1756980912-21488 2025-09-04 13:26:17 +00:00
ByoungUk Lee a9e64533fa Bring back @ in update-kubernetes-version recipe 2025-08-20 10:44:00 -07:00
minikube-bot 63a496bf4d
Update go from 1.24.0 to 1.24.6 (#21348)
* Update go from 1.24.5 to 1.24.6

* Updating kicbase image to v0.0.47-1755508051-21348
2025-08-18 12:38:34 -07:00
Nir Soffer 6b397d8285
gitignore: Ignore test/integration/licenses (#21267)
Running the function tests creates a licenses directory and checks out
the "github.com/hooklift/iso9660" module, which imports
"github.com/c4milo/gotoolkit".

    % git status
    ...

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
            test/integration/licenses/

At this point running go mod tidy will add the gotoolkit module:

    % go mod tidy --diff
    diff current/go.mod tidy/go.mod
    --- current/go.mod
    +++ tidy/go.mod
    @@ -13,6 +13,7 @@
            github.com/Xuanwo/go-locale v1.1.3
            github.com/blang/semver/v4 v4.0.0
            github.com/briandowns/spinner v1.23.2
    +	    github.com/c4milo/gotoolkit v0.0.0-20190525173301-67483a18c17a
            github.com/cenkalti/backoff/v4 v4.3.0
            github.com/cheggaaa/pb/v3 v3.1.7
            github.com/cloudevents/sdk-go/v2 v2.16.0
    ...

"github.com/hooklift/iso9660" does not have a go.mod file, so `go mod
tidy` treats is as part of the main module and update go.mod.

We should find a better place to check out the licenses, maybe a test
temporary directory, but let's start with quick fix: ignore the license
directory, and include it in `make clean`.
2025-08-08 18:01:51 -07:00
Medya Ghazizadeh 88e84ff2e8
CI: remove not needed replaces in gomod and add automation (#21212)
* remove un-needed gomod replaces

* add a make target gomodtidy

* update docs on using gomodtidy

* add automation to run go mod tidy on every push

* update contributing docs to be more helpful

* install gopogh if it is not installed in html_report

* addres PR reviews

* update docs headings
2025-08-05 10:17:02 -07:00
Medya Ghazizadeh c0e46ff8cd
ci: update all with go (#21213)
* add update all go script

* add update all make target

* add update all make target

* standardize the component name for look up

* standardize amd amd component name

* rename all hack update go code to match component name to standardize

* delete extra folder

* update makefile with new standard filenames

* update component name amd

* fix amd gpu name

* skip amd for now till broken

* fix cilium helm update

* standard name for cloud spanner emulator

* standard crio name

* set max to 100

* delete old folder

* skip docsy for update all

* return error if fail to apply

* docsy versoin

* update files with go-github

* update file names

* move all make targets to same location

* standard name for golang comp

* skip istio addon

* skip kicbase version since it is not related

* skip kubeadm constant too

* skip kubernetes version too

* run components that dont support before/after

* update kubeadm constant

* skip kubeadm constant on non linux

* add kubernetes_versions_list to not support before/after

* list preload version as one of the internal jobs

* list preload version as one of the internal jobs

* simpllify the code

* use log for printing

* add boiler plates

* add gh workflow
2025-08-04 18:15:23 -07:00
Nir Soffer e6347e0442
iso: Enable VirtioFS for x86_64 and aarch64 (#21147)
* iso: Enable VirtioFS for x86_64 and aarch64

The Virtio Filesystem[1] allows guests to mount file systems from the
host.

Testing with krunkit show 10 times faster read throughput:

minikube krunkit - 9p:

    $ time cp /mnt/models/mistral-7b-instruct-v0.2.Q4_K_M.gguf model

    real	0m34.330s
    user	0m0.019s
    sys     0m1.959s

podman krunkit - virtiofs:

    $ time cp /Users/nir/Downloads/models/mistral-7b-instruct-v0.2.Q4_K_M.gguf model

    real	0m3.245s
    user	0m0.006s
    sys     0m1.035s

We must have virtiofs for playing with AI workload in krunkit. It can be
nice improvment for vfkti and qemu, and should be available in ohter
hypervisors.

[1] https://virtio-fs.gitlab.io/index.html

* Updating ISO to v1.36.0-1753487480-21147

---------

Co-authored-by: minikube-bot <minikube-bot@google.com>
2025-07-28 12:24:44 -07:00
Medya Ghazizadeh 01913a6336
CI: fix PR update titles missing version (#21176) 2025-07-28 11:17:37 -07:00
Nir Soffer 6a779426fe
hack: Replace go workspace with replace (#21094)
Using go workspace breaks iso build, and may affect the builds in
unwanted ways, bringing dependencies from the hack module into the
minikube module.

Remove the go.work file and add a replace directive to the hack module,
so it can access minikube packages from the local directory.

Some programs working directory was the source directory. With this
change all programs and scripts in the hack module are run from the
hack directory. Paths updated to the programs can find files in the
minikube root directory.

Some updaters and benchmarks are broken in master and are still broken
with this change.

These updates fail to pull non-existing images:
- make update-istio-operator-version
- make update-amd-gpu-device-plugin-version

These try to install try to install in /usr/local/bin with sudo and
neede rewrite:
- make cpu-benchmark-idle
- make cpu-benchmark-autopause
- make time-to-k8s-benchmark
2025-07-25 15:33:44 -07:00
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
Medya Ghazizadeh 0988cc3a72
add go.work to separate hack folder (#21061)
* add go work files since there hack mod uses root mod

* add toolchain

* change Makefile to run the updates using full path to use go.work file

* add comment make file and move generate license above

* add go-license to ignore to avoid making release commit dirty

* force hack module to use older tablewriter lib

* dont do gitignore
2025-07-13 17:41:59 -07:00
Nir Soffer 11bf65dabf
build: Fix docker run when selinux is enabled (#21017)
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.
2025-07-08 14:33:57 -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
Joaquim Rocha 49d6e371a4
CI: Auto update Headlamp image (#20372)
Signed-off-by: Joaquim Rocha <joaquim.rocha@microsoft.com>
2025-07-07 13:01:53 -07:00
Nir Soffer 2a49690071
build: Update xcgo image to v2 (#21019)
The new image has less vulnerabilities (detected by quay.io):

Before:

    Quay Security Scanner has detected 607 vulnerabilities.
    Patches are available for 151 vulnerabilities.
     5 Critical-level vulnerabilities.
     12 High-level vulnerabilities.
     180 Medium-level vulnerabilities.
     322 Low-level vulnerabilities.
     34 Negligible-level vulnerabilities.
     54 Unknown-level vulnerabilities.

After:

    Quay Security Scanner has detected 572 vulnerabilities.
    Patches are available for 116 vulnerabilities.
     2 Critical-level vulnerabilities.
     11 High-level vulnerabilities.
     150 Medium-level vulnerabilities.
     319 Low-level vulnerabilities.
     34 Negligible-level vulnerabilities.
     56 Unknown-level vulnerabilities.

Delta:

     -3 Critical-level vulnerabilities.
     -1 High-level vulnerabilities.
     -30 Medium-level vulnerabilities.
     -3 Low-level vulnerabilities.
     +2 Unknown-level vulnerabilities.
2025-07-03 09:48:11 -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
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