Commit Graph

6087 Commits (a455dce003ab53f5b66e61c23501d75bb09ad625)

Author SHA1 Message Date
Sharif Elgamal 19b763fd36 do not start pods if no creds 2021-08-10 15:16:41 -07:00
Andriy Dzikh 61fb4757d0 Add info log message to print driver, container runtime, and Kubernetes version. 2021-08-10 14:54:16 -07:00
Medya Gh 4e32f41c83 move away from v1beta apis 2021-08-10 14:24:43 -07:00
Sharif Elgamal dfef0ad478 read blessed cloud shell config file 2021-08-10 13:46:49 -07:00
Andriy Dzikh d2d0fee726 Use Load function in implementation of LoadProfile function. 2021-08-10 13:24:32 -07:00
minikube-bot d7681967bf Updating ISO to v1.22.0-1628622362-12032 2021-08-10 20:06:04 +00:00
Sharif Elgamal 3acbd2fc90 gcp-auth: improve flow for GCE/Cloud Shell 2021-08-10 12:57:10 -07:00
minikube-bot 6cecbf6fe5 Updating kicbase image to v0.0.25-1628619379-12032 2021-08-10 18:33:49 +00:00
Anders F Björklund e91b037546 Make sure to break loop and not select 2021-08-10 13:16:45 +02:00
Anders F Björklund dbb295d078 Go back to upstream google/go-containerregistry
Do the docker pull (of the manifest and its digest) explicitly,
instead of implicitly in the library. Also, no progress bar.

Pass the digest to the fetch and the tag to the tarball save,
as usual there are _no_ digests used in the tarball files.
2021-08-10 10:43:42 +02:00
Anders F Björklund b75bf27942 Add command to save images from the cluster
This is the opposite command of "minikube image load",
and can be used after doing a "minikube image build".

The default is to save images in the cache, but it is
also possible to save to files or to standard output.
2021-08-10 09:49:23 +02:00
Anders F Björklund a62a02bc9a Add method to copy files from the VM as well
Previously you could only Copy(To), not CopyFrom.

Implies that some Assets can be written to instead.
2021-08-10 09:47:34 +02:00
Steven Powell b1dcba955c ping `releases.json` file if `WantUpdateNotification` is false 2021-08-09 15:45:21 -07:00
Steven Powell de8a1ba40b
Merge pull request #12143 from spowelljr/imageLoadTar
Fix loading an image from tar failing on existing delete
2021-08-09 15:14:58 -07:00
Sharif Elgamal 9995961a77
Merge pull request #12106 from sharifelgamal/more-reg
configure gcp-auth addon pull secret to work with all GCR and AR mirrors
2021-08-09 12:02:31 -07:00
Medya Ghazizadeh dc8dd6f508
Merge pull request #12135 from afbjorklund/containerd-version
Make sure to return valid containerd version
2021-08-09 11:55:32 -07:00
minikube-bot 3dccb2bea0 Updating ISO to v1.22.0-1628238775-12122 2021-08-06 09:27:20 +00:00
Sharif Elgamal b1ab5a087d
Merge pull request #12124 from sharifelgamal/gcp-cs
gcp-auth: always create the pull secret and don't require --force if …
2021-08-05 17:25:53 -07:00
Steven Powell 6d4eec056b fix loading an image from tar failing on existing delete 2021-08-06 00:24:28 +00:00
Anders F Björklund e6af39a358 Special case for handling deb package versions
So that we still show the patched version, if possible.
But not everything can be represented as semver, like ~.
2021-08-05 23:05:56 +02:00
Anders F Björklund bd00169c07 Make sure to return valid containerd version
For instance ubuntu put their packaging version into it.
Only return the major, minor and patch no in that case.
2021-08-05 22:12:45 +02:00
minikube-bot 16f5466439 Updating ISO to v1.22.0-1628159026-12129 2021-08-05 11:19:56 +00:00
Sharif Elgamal b2bc913596 gcp-auth: always create the pull secret and don't require --force if GOOGLE_APPLICATION_CREDENTIALS env var is set 2021-08-04 16:35:26 -07:00
Sharif Elgamal c0e8d3e640 Merge branch 'master' of github.com:kubernetes/minikube into more-reg 2021-08-03 13:34:11 -07:00
Sharif Elgamal eff683bfaf
Revert "fix whitespace in test yaml" 2021-08-03 13:21:33 -07:00
Sharif Elgamal 86839e6bc8 Merge branch 'master' of github.com:kubernetes/minikube into more-reg 2021-08-03 13:03:08 -07:00
Sharif Elgamal 35fc753381
Merge pull request #12091 from minikube-bot/auto_bump_k8s_versions
fix whitespace in test yaml
2021-08-03 11:59:10 -07:00
Sharif Elgamal 3d79bba97d configure gcp-auth addon pull secret to work with all GCR and AR mirrors 2021-08-03 11:48:20 -07:00
minikube-bot ef196a35b8 bump default/newest kubernetes versions 2021-08-02 08:03:07 +00:00
Steven Powell 88a4add138 auto start buildkit daemon on `image load` for containerd 2021-07-29 16:50:29 -07:00
Medya Ghazizadeh 5da954e278
Merge pull request #11945 from sharifelgamal/gcp-sa
don't try to recreate pull secrets for refreshing gcp-auth
2021-07-28 16:09:45 -07:00
Sharif Elgamal faca0fd9ff
Merge pull request #11483 from BlaineEXE/add-extra-disks-to-hyperkit-vms
Add ability to create extra disks on hyperkit vms
2021-07-28 13:50:13 -07:00
Medya Ghazizadeh 654a1b5b55
Merge pull request #11842 from leoluk/libvirt-permissions-revisited
kvm: only check libvirt membership if we failed to connect to it
2021-07-28 12:27:47 -07:00
Medya Ghazizadeh f20cbf357e
Merge pull request #11968 from kadern0/issue-11729
Added restart command after setting crio options
2021-07-28 12:26:13 -07:00
Medya Ghazizadeh 44feb06fb7
Merge pull request #12066 from andriyDev/fix-download-pb-not-tty
Make download.download not use progress bar if not in tty.
2021-07-28 12:08:41 -07:00
minikube-bot 6aa3c7ff11 Updating ISO to v1.22.0-1627488369-11483 2021-07-28 17:03:32 +00:00
Blaine Gardner 8f05ee00e1
Add ability to create extra disks on hyperkit vms
Add the ability to create and attach extra disks to hyperkit vms.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-07-28 09:57:20 -06:00
Medya Ghazizadeh 2b84cb9a71
Merge pull request #12052 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-07-27 15:00:24 -07:00
Andriy Dzikh a3f7bfc2f8 Make download.download not use progress bar if not in tty. 2021-07-27 14:12:32 -07:00
Medya Ghazizadeh 75d0c72a62
Merge pull request #11709 from dinever/out-box
Add method for customized box output
2021-07-26 17:34:28 -07:00
Medya Ghazizadeh 3375c39c76
Merge pull request #11981 from de-sh/vb-warn
Add message to discourage the use of the virtualbox driver
2021-07-26 17:30:38 -07:00
Medya Gh a6bfbd1580 update the warnning 2021-07-26 16:40:43 -07:00
Medya Ghazizadeh c6ff62046c
Merge pull request #11979 from andriyDev/MountPort
Add configurable port for minikube mount
2021-07-26 15:30:45 -07:00
Medya Gh 12a174a7ba update kubeadm yamls 2021-07-26 15:06:45 -07:00
minikube-bot 190226eb07 bump default/newest kubernetes versions 2021-07-26 08:03:10 +00:00
Vishal Jain ecaa3c1f03 Addressed comment about activeConn. 2021-07-25 14:45:41 -07:00
Medya Ghazizadeh 11200f8778
Merge pull request #12035 from sharifelgamal/custom-cert
make sure to sync certs from all documented locations
2021-07-23 14:00:12 -07:00
Sharif Elgamal 6d710b4e59 only use update if the secret already exists 2021-07-23 13:11:07 -07:00
Sharif Elgamal a940203ed4 update instead of delete/create 2021-07-23 12:22:51 -07:00
Sharif Elgamal c8379ea2ec Merge branch 'master' of github.com:kubernetes/minikube into gcp-sa 2021-07-23 09:25:00 -07:00
Sharif Elgamal c744d3b72d don't throw an error if a certs dir doesn't exist 2021-07-22 11:38:27 -07:00
Andriy Dzikh 36cc7e0a70 Have cluster.Mount return an error which is checked in advice.go. 2021-07-22 10:38:57 -07:00
Medya Ghazizadeh db4f0dc414
Merge pull request #11957 from kadern0/issue-11513
Don't set conntrack parameters in kube-proxy
2021-07-21 21:28:16 -07:00
Sharif Elgamal cca438a21a sync from all locations 2021-07-21 18:14:29 -07:00
Steven Powell f78483c83c
Merge pull request #11940 from tejal29/patch-1
Add a suggestion for unhealthy control plane due to control plane not updated.
2021-07-21 21:00:14 +00:00
Steven Powell 92b7ba0c1e
Merge pull request #11420 from ntkme/fully-qualified-image-name
Use fully qualified image name for kicbase image from docker hub
2021-07-21 18:47:42 +00:00
Tejal Desai 064a7eccf9
code review comments. 2021-07-20 09:24:53 -07:00
Devdutt Shenoi 892b314020 Rewrite suggestion and change if statement 2021-07-20 09:06:25 +05:30
Sharif Elgamal 5227520347 Merge branch 'master' of github.com:kubernetes/minikube into gcp-sa 2021-07-19 12:23:15 -07:00
minikube-bot 839b0fbdbc bump default/newest kubernetes versions 2021-07-19 08:02:48 +00:00
Devdutt Shenoi e30f9e2e62 Ensure if alternative vmware is healthy before recommeding 2021-07-17 15:57:59 +05:30
Devdutt Shenoi 86dba80fb3 Ensure available alternatives aren't either discouraged or not installed 2021-07-17 15:43:14 +05:30
Devdutt Shenoi 3fb51c4cfc Ensure message is shown only if alternatives are available 2021-07-17 15:34:59 +05:30
Devdutt Shenoi dfb624117c Improve cyclomatic complexity, move warning into separate function 2021-07-16 18:46:07 +05:30
Devdutt Shenoi b3696ea3b8 Refactor message into a box dialog 2021-07-16 02:13:14 +05:30
Andriy Dzikh 49cd3840d3 Create advice for mount command timing out. 2021-07-14 15:38:04 -07:00
Devdutt Shenoi 0e665930e8 Add message to discourage the use of virtualbox driver 2021-07-14 15:00:22 +05:30
なつき 4040311f1e Use fully qualified image name for docker hub fallback image 2021-07-13 16:09:55 -07:00
Sharif Elgamal 6b6a7c0192
Merge pull request #11956 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-07-13 14:15:29 -07:00
Sharif Elgamal 4dd89f8713 Merge branch 'master' of github.com:kubernetes/minikube into gcp-sa 2021-07-13 13:31:34 -07:00
Sharif Elgamal 4c66799127
Merge pull request #11933 from balasu/addons/portainer
Add addon support for portainer
2021-07-13 10:40:20 -07:00
Sharif Elgamal be6b203bdc
Merge pull request #11948 from aspectcapital/issue11934
Retain full container name when passing --image-repository
2021-07-13 10:07:57 -07:00
Pablo Caderno c211601ec4 Added restart command after setting crio options 2021-07-13 20:38:08 +10:00
Steven Powell 59faff1ff9
Merge pull request #11893 from andriyDev/refactor-preload
Refactor checkRemotePreloadExists to no longer include caching logic
2021-07-12 23:58:00 +00:00
Matt Dainty f452a08f5c
Update tests 2021-07-12 22:39:31 +01:00
balasu 41e4977bcb
Update addons.go 2021-07-12 23:01:05 +05:30
Pablo Caderno 746d5d14b1 Don't set conntrack parameters in kube-proxy 2021-07-12 19:31:07 +10:00
minikube-bot 35253acf40 bump default/newest kubernetes versions 2021-07-12 08:02:55 +00:00
Sharif Elgamal a8d366ffbf don't try to recreate pull secrets for refreshing gcp-auth 2021-07-08 16:15:44 -07:00
Tejal Desai 5db736cea6
Add a suggestion for unhealthy control plane.
Related to  #11417

Add a suggestion for unhealthy control plane
2021-07-08 12:37:01 -07:00
Matt Dainty de19bcb77a
Don't strip off container image prefixes 2021-07-08 18:17:35 +01:00
balasu e833905678 for portainer add-on 2021-07-08 13:22:01 +00:00
Medya Ghazizadeh 81c2bb2796
Merge pull request #11708 from afbjorklund/info-klog
Make sure to log errors from DaemonInfo
2021-07-07 13:29:05 -04:00
Medya Ghazizadeh cabf73ed59
Merge pull request #11800 from mahalrs/simplify-error-codes-11786
Simplify, and remove all un-used minikube error codes
2021-07-06 19:48:12 -04:00
Medya Gh 89c24e5fac fix 2021-07-06 10:52:41 -04:00
Medya Gh 18c841ccff update comment 2021-07-06 10:20:13 -04:00
Medya Gh f5cdc4fec3 update problematic k8s versions 2021-07-06 10:14:17 -04:00
minikube-bot 058d2b4201 bump default/newest kubernetes versions 2021-07-05 08:02:58 +00:00
Steven Powell c29adeaa06
Merge pull request #11864 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-07-02 21:32:45 +00:00
Andriy Dzikh c96c695806 Use http.StatusOK instead of 200. 2021-07-02 13:06:49 -07:00
Andriy Dzikh 6f5e85f6bf Move preload existence caching out of checkRemotePreloadExists. 2021-07-02 13:05:44 -07:00
Medya Ghazizadeh 47f32b9f2f
Merge pull request #11892 from andriyDev/fix-preload-caching
Replace single preload cache with a preload map cache.
2021-07-02 15:07:42 -04:00
Andriy Dzikh 25ba31a2b5 Replace single preload cache with a preload map cache. Also add tests. 2021-07-02 10:37:15 -07:00
Medya Gh 788eb9c5af bump default k8s 2021-07-02 10:38:19 -04:00
minikube-bot 4db717a5eb Update kicbase to v0.0.25 2021-07-01 23:38:36 +00:00
Sharif Elgamal 494a24abcc
Merge pull request #11834 from andriyDev/AutoPause
Add support for other container runtimes for auto-pause
2021-07-01 16:01:27 -07:00
Rajwinder Mahal 6a3781c575
Remove un-used error codes 2021-07-01 14:59:44 -07:00
Rajwinder Mahal 659e8c2785
Replace InternalEnable and InternalDisable with InternalAddonEnable and InternalAddonDisable 2021-07-01 14:52:24 -07:00
Sharif Elgamal 85e27c5820
Merge pull request #11773 from sharmarajdaksh/add-error-code-explanations
Adds explanations for all minikube error codes
2021-07-01 14:33:15 -07:00
minikube-bot 1a5b4ac397 bump default/newest kubernetes versions 2021-07-01 20:49:00 +00:00
minikube-bot 202e2fa36f Updating kicbase image to v0.0.24-1625170572-11834 2021-07-01 20:31:45 +00:00
Andriy Dzikh cec98ef11a Template auto-pause.service to allow injecting the correct container runtime. 2021-07-01 13:12:44 -07:00
Medya Ghazizadeh 05b64d1a74
Merge pull request #11824 from andriyDev/fix-auto-pause
Make kicbase copy auto-pause binary instead of auto-pause folder
2021-07-01 16:10:33 -04:00
Dakshraj Sharma d8adc48463 Adds explanations for minikube error codes 2021-07-01 23:22:23 +05:30
minikube-bot 2bf9076527 Updating kicbase image to v0.0.24-1625086337-11824 2021-06-30 21:07:40 +00:00
Leopold Schabel f0eaa993b9 kvm: only check libvirt membership if we failed to connect to it
Test Plan:

- Ran `go run k8s.io/minikube/cmd/minikube start --driver=kvm2`
  on a machine with polkit-based libvirt permission. This
  previously failed and now works.

- Re-ran the same command after shutting down libvirt.
  This fails with PR_KVM_USER_PERMISSION as expected.
2021-06-30 22:53:43 +02:00
Medya Ghazizadeh b8596f1a13
Merge pull request #11811 from medyagh/go_mod_godame
bump go mod libs manually
2021-06-30 15:50:45 -04:00
Medya Ghazizadeh 646060bc7b
Merge pull request #11815 from ilya-zuyev/ilyaz/fix_contains_no_runlevels_issue
Fix "kubelet Default-Start contains no runlevels" error
2021-06-30 12:55:40 -04:00
Ilya Zuyev 6cb587a873 set `SYSTEMCTL_SKIP_SYSV` for "systemctl disable --now" to suppress attempts to interract with sysv scripts 2021-06-29 14:03:39 -07:00
Medya Gh a714161f31 update go-github to v36 2021-06-29 15:46:23 -04:00
minikube-bot 8e62a7d4a0 Update ISO to v1.22.0-beta.0 2021-06-29 19:32:53 +00:00
Medya Gh 89c7853601 bump go mod libs manually 2021-06-29 15:24:59 -04:00
Ilya Zuyev 68c4d072fe Revert "Merge pull request #11688 from afbjorklund/buildroot-2021.02"
This reverts commit 02abe7856c, reversing
changes made to 4d078ae82f.
2021-06-28 17:11:11 -07:00
Ilya Zuyev 51d2e89fe4 Revert "Merge pull request #11778 from minikube-bot/iso-release-v1.22.0-beta.0"
This reverts commit fd703f95f6, reversing
changes made to 0b170db6cd.
2021-06-28 17:11:05 -07:00
ilya-zuyev fd703f95f6
Merge pull request #11778 from minikube-bot/iso-release-v1.22.0-beta.0
Update ISO to v1.22.0-beta.0
2021-06-28 12:48:11 -07:00
Sharif Elgamal 0b170db6cd
Merge pull request #11772 from minikube-bot/kicbase-release-v0.0.24
Update kicbase to v0.0.24
2021-06-28 10:56:18 -07:00
Steven Powell e8b3db9485
Merge pull request #11692 from spowelljr/addNoLimit
Add ability to pass 'max' value to memory and cpus flags
2021-06-28 17:09:32 +00:00
minikube-bot f2c8ac2f7e Update ISO to v1.22.0-beta.0 2021-06-28 01:20:41 +00:00
ilya-zuyev 02abe7856c
Merge pull request #11688 from afbjorklund/buildroot-2021.02
Upgrade Buildroot to 2021.02 LTS with Linux 4.19
2021-06-27 17:13:11 -07:00
minikube-bot bce90e5037 Update kicbase to v0.0.24 2021-06-25 23:41:39 +00:00
Medya Ghazizadeh 512ae30449
Merge pull request #11753 from andriyDev/AddonMaintainers
Add maintainer column to addons list
2021-06-25 18:42:51 -04:00
ilya-zuyev 6ac71f1a8d
Merge pull request #11603 from ilya-zuyev/ilyaz/fix_no_digest_caching
Fix --base-image caching for images specified by name:tag
2021-06-25 15:38:00 -07:00
Medya Ghazizadeh 2468684944
Merge pull request #11743 from medyagh/arm64_auto_pause
Add auto pause on arm64 image
2021-06-25 18:32:04 -04:00
ilya-zuyev 05553c08ef
Merge pull request #11755 from ilya-zuyev/fix_net_addr_lookup
Improve finding of local network containing the ip address
2021-06-25 15:31:28 -07:00
Ilya Zuyev 3622e088e6 refactor 2021-06-25 14:26:26 -07:00
Ilya Zuyev e3b5c2f8cf fix linter error 2021-06-25 13:49:54 -07:00
minikube-bot 4a54d5b93c Updating ISO to v1.21.0-1624344650-11688 2021-06-25 13:44:28 -07:00
Ilya Zuyev 7875965b7d fix error message 2021-06-25 13:37:53 -07:00
Ilya Zuyev 049c426dca add comments 2021-06-25 13:28:29 -07:00
Medya Ghazizadeh 52d88fb628
Merge pull request #11674 from ilya-zuyev/ilyaz/m1_amd64
Allow running amd64 binary on M1
2021-06-25 15:15:28 -04:00
Andriy Dzikh 2f523eb081 Add maintainers that are certain. 2021-06-25 12:14:20 -07:00
Ilya Zuyev b5dbfe97e8 Fix linter error 2021-06-25 10:56:50 -07:00
Steven Powell a2ae86cb7c renamed flag value from nolimit to max 2021-06-25 10:49:28 -07:00
Steven Powell 3b55ac61c8 remove asset files 2021-06-25 10:49:28 -07:00
Steven Powell c2e2546f9b fixed linting issues 2021-06-25 10:49:28 -07:00
Steven Powell 4871d68d8c add ability to pass nolimit value to memory and cpus flags 2021-06-25 10:49:28 -07:00
Ilya Zuyev 58754c910c update domain definition 2021-06-24 23:06:56 -07:00
Ilya Zuyev e7697a7f37 Fix linter errors 2021-06-24 14:42:46 -07:00
Medya Gh 306fa828b1 enable auto-puase on arm64 2021-06-24 17:25:14 -04:00
Medya Ghazizadeh cb2e8e18e7
Merge pull request #11632 from ilya-zuyev/ilyaz/fix_vm_ctrd_timeout
Restore "containerd: upgrade io.containerd.runtime.v1.linux to io.containerd.runc.v2 (suppot cgroup v2)" #2
2021-06-24 17:09:53 -04:00
Ilya Zuyev f091f32e9e Merge branch 'master' into ilyaz/m1_amd64 2021-06-24 13:17:41 -07:00
Ilya Zuyev e910260883 Merge branch 'master' into ilyaz/fix_no_digest_caching 2021-06-24 11:56:18 -07:00
Sharif Elgamal 16d2f2a9d6
Merge pull request #11731 from andriyDev/fix-multinode-restart
Move node config deletion out of drainNode and into Delete
2021-06-24 10:42:06 -07:00
Andriy Dzikh b5df84a707 Add maintainer column to addons list. 2021-06-24 10:11:38 -07:00
Ilya Zuyev 2c287368c3 improve searching of local network containing the given ip address 2021-06-23 19:09:14 -07:00
Steven Powell e3326f88df finishing last of comments 2021-06-23 15:03:03 -07:00
Ilya Zuyev f04da67d0a try to increase api healthz wait timeout 2021-06-23 13:46:51 -07:00
Ilya Zuyev 829da6988e try to increase api healthz wait timeout 2021-06-23 11:07:13 -07:00
Steven Powell 0a5aadf502 addressed more comments 2021-06-23 10:42:39 -07:00
Ilya Zuyev 20e07836c5 revert debug timeout; fix state value 2021-06-22 21:53:54 -07:00