Commit Graph

2397 Commits (3942e4365948741aa41dc72d2ea5d613d4093344)

Author SHA1 Message Date
Anders F Björklund abb556f7f5 Merge branch 'master' into generic 2021-01-13 20:15:17 +01:00
Medya Ghazizadeh 787591a6a2
Merge pull request #10109 from lingsamuel/fix-docker-env
Ignore non-socks5 ALL_PROXY env var when checking docker status
2021-01-12 13:50:46 -08:00
Anders F Björklund b2121eae39 Rename the generic driver to the ssh driver
Now that we have forked the machine driver
2021-01-09 14:36:32 +01:00
Thomas Stromberg 6ec94aa064 Merge to master 2021-01-08 15:40:24 -08:00
Thomas Stromberg 66a671fc86 Experimental macOS/arm64 work 2021-01-08 15:38:31 -08:00
Daehyeok Mun 36d94a2d88 Migrate MachineName function.
Migrate MachineName function from driver package to config package.
2021-01-08 11:26:10 -08:00
Anders F Björklund d51443bee1 Show remote host info and proper progress 2021-01-08 16:38:27 +01:00
Anders F Björklund 39218369c0 Improve help text for generic driver flags 2021-01-08 07:55:28 +01:00
Anders F Björklund 749843248e Merge branch 'master' into generic 2021-01-08 07:53:49 +01:00
Ling Samuel e127bc23fe
Ignore non-socks5 ALL_PROXY env var when checking docker status
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-08 12:04:36 +08:00
priyawadhwa 857e0a2089
Merge pull request #10100 from priyawadhwa/force-systemd-containerd
Add support for systemd cgroup to containerd runtime
2021-01-07 11:26:50 -08:00
Priya Wadhwa 0b522445ad update flag and documentation 2021-01-06 14:38:15 -08:00
Anders F Björklund 72a0fd6642 Move the constants for flag defaults from drivers
Not using the default libmachine drivers anymore
2021-01-06 20:24:50 +01:00
Anders F Björklund a3b3b55ac0 Add helper for checking the generic driver name 2021-01-06 18:18:00 +01:00
Anders F Björklund 2b5c5b9202 Try to uninstall kubernetes on delete, for generic 2021-01-06 18:03:46 +01:00
Anders F Björklund c07666957a Don't download ISO for the generic VM driver 2021-01-06 18:03:46 +01:00
Anders F Björklund 00763352b6 Add minikube support for the "generic" VM driver
This driver connects to an already existing virtual machine,
using the provided IP address and SSH user/key/port parameters.

On this machine, libmachine will provision the docker daemon
and minikube will bootstrap the kubernetes cluster (as usual).
2021-01-06 18:03:43 +01:00
Yanshu Zhao 7fa6d545d7 Change warning 2021-01-04 07:31:41 +00:00
Yanshu Zhao 58dedbbb18 Delete the existing cluster if guest driver mismatch 2021-01-02 08:35:02 +00:00
Medya Ghazizadeh 6d763a1cc7
Merge pull request #9955 from daehyeok/delete_machine_dirs
Delete subnode's machine directories
2020-12-30 22:23:20 -08:00
Medya Ghazizadeh 3dac483db9
Merge pull request #10028 from azhao155/yzhao/fix/dockerEnvLog
Change exit to warning if can't restart docker in docker-env cmd
2020-12-23 18:00:19 -08:00
Daehyeok Mun b11190c64e Delete subnode's machine directories 2020-12-23 14:06:26 -08:00
Priya Wadhwa e210a72bfa update warning 2020-12-23 14:03:10 -08:00
Priya Wadhwa 322efcb406 Merge branch 'master' of https://github.com/kubernetes/minikube into network-flag 2020-12-23 14:02:22 -08:00
Medya Ghazizadeh 9a0be2e2d2
Merge pull request #10037 from afbjorklund/kubeadm-memory2
The kubernetes memory requirement is for the total
2020-12-23 13:53:05 -08:00
Anders F Björklund 402d31b195 The kubernetes memory requirement is for the total
The kernel will reserve some memory for itself, so if you want
1700 MB free you need to allocate 1800 MB for the VM hardware.

The recommendation is still 2048 (or 2000), with an even 2.0 GiB.
So let's increase the old values with +100, for ~60 overhead.
2020-12-23 22:32:56 +01:00
Yanshu Zhao 68181145bd Add error in the log 2020-12-23 21:05:43 +00:00
Medya Ghazizadeh f68005724c
Merge pull request #9958 from tstromberg/vmwarefusion
Remove obsolete 'vmwarefusion' driver, add friendly message
2020-12-23 12:56:05 -08:00
Anders F Björklund 1413d267b2 The kubeadm bootstrapper now requires 1700M mem
The node requirement is 2 vCPU and 2.0 GiB RAM

You can use --force to bypass the requirement
2020-12-23 21:09:30 +01:00
Yanshu Zhao 6460b61b75 Change exit to warning if can't restart docker in docker-env cmd 2020-12-23 01:48:26 +00:00
Priya Wadhwa 81f00fc3e3 update description 2020-12-21 16:58:49 -08:00
Medya Ghazizadeh 167b6c4399
Merge pull request #10021 from azhao155/yzhao/feature/dockerEnvWaitForApiServerFixCommits
Replace fixed time wait with wait function for docker-env cmd
2020-12-21 16:18:14 -08:00
Medya Ghazizadeh c300a0545a
Merge pull request #9977 from kadern0/issue-8790
Added validation for --insecure-registry values
2020-12-21 16:17:14 -08:00
Yanshu Zhao 3172a6ddfc change log level and change wait function to private 2020-12-21 23:19:41 +00:00
Yanshu Zhao f698ccb52d Increase time out to 30 s 2020-12-21 20:36:34 +00:00
Yanshu Zhao 96104205af fix lint 2020-12-21 20:35:49 +00:00
Yanshu Zhao bb83ce154e Fix lint 2020-12-21 20:34:33 +00:00
Yanshu Zhao a31b851b31 docker-env cmd wait for api server to be up 2020-12-21 20:32:03 +00:00
Pablo Caderno dbbe06664c Added validation for --insecure-registry values
Fixes 8790
2020-12-20 10:00:17 +11:00
Sharif Elgamal 53d59d2c82 remove experimental warning for multinode 2020-12-17 11:13:46 -08:00
Thomas Strömberg 78163cfb90
Merge pull request #9630 from afbjorklund/ssh-host
Add ssh-host command for getting the ssh host keys
2020-12-17 08:09:29 -08:00
Priya Wadhwa 55f496492c fix merge conflict 2020-12-16 10:37:51 -08:00
Thomas Strömberg fdab252f4f
Merge pull request #9873 from lingsamuel/node-param-for-ip-and-ssh-key
Add --node option for command `ip` and `ssh-key`
2020-12-16 08:17:24 -08:00
Thomas Stromberg e5f06a1f13 Remove the vmwarefusion driver 2020-12-14 11:10:43 -08:00
AUT0R3V 375d25db07
Update start_flags.go
Using slicing technique in the place of an Array for line 141.
2020-12-14 15:12:12 +05:30
Anders F Björklund 7822a4e36e Add option to add the ssh-host key to known_hosts
This matches the ssh-add command for identity keys,
it will add the host key to the ssh known_hosts file.

If a ssh key for the host already exists in the file,
it will not be added again so can be run multiple times.
2020-12-12 18:54:33 +01:00
Anders F Björklund a387989c72 Add ssh-host command for getting the ssh host keys
This is similar to the existing minikube "ssh-key" command, but gets
the content of the host key instead of the path to the identity key.

The output of this command can be added to the ~/.ssh/known_hosts,
for strict host key authentication. For instance when using Docker.
2020-12-12 18:54:33 +01:00
Thomas Stromberg dbdbad6e69 Remove obsolete mention of kvm driver, fixes generate-docs issue 2020-12-11 12:43:18 -08:00
Thomas Strömberg 86b9397910
Merge pull request #9888 from tharun208/feat/kubeconfig_status_name
added statusName for kubeconfig
2020-12-11 10:20:33 -08:00
Medya Ghazizadeh e96b05e45e
Merge pull request #9875 from sadlil/kindnet-podcidr
Fix multi node two pods getting same IP and nodespec not having PodCIDR
2020-12-10 16:53:29 -08:00
Sadlil fc10bca4ae Enable KindNet CNI only if multi node is specified 2020-12-10 18:40:20 +00:00
Sharif Elgamal 48c5d2a03d
Merge pull request #9833 from lingsamuel/fix-node-start-master
Fix `node start` master node
2020-12-09 14:08:14 -08:00
Medya Ghazizadeh 877f1553d8
Merge pull request #9548 from afbjorklund/docker-env-ssh
Optionally use ssh for docker-env instead of tcp
2020-12-09 12:22:17 -08:00
Sharif Elgamal 6be118fc29
Merge pull request #9634 from dekkers/saving-extra-config
Fix --extra-config when starting an existing cluster
2020-12-09 11:27:03 -08:00
Thomas Strömberg c0a092e6af
Merge pull request #9379 from Git-Jiro/none_driver_nonroot
Make none driver work as regular user (use sudo on demand)
2020-12-09 10:21:49 -08:00
Tharun af3f1cfe38 added statusName for kubeconfig
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-09 11:08:15 +05:30
priyawadhwa 83f9bd1df3
Merge pull request #9793 from tharun208/feat/show_scheduled_stop_status
feat(minikube) display scheduledstop status in minikube status
2020-12-08 11:42:06 -08:00
Medya Ghazizadeh 3e670f24e0
Merge pull request #9789 from tharun208/fix/config_memory
fix unable to set memory in config
2020-12-08 10:29:11 -08:00
Medya Ghazizadeh 0898ca21e4
Merge pull request #9801 from afbjorklund/podman-env-existing
Add support for restoring existing podman env
2020-12-08 10:25:50 -08:00
Ling Samuel b9eedce002
Add -n, --node option for `ip` and `ssh-key` 2020-12-07 15:59:49 +08:00
Ling Samuel 278f44899e
Fix `node start` master node 2020-12-07 09:30:35 +08:00
Anders F Björklund 45befa0c1d Merge branch 'master' into docker-env-ssh 2020-12-05 13:07:29 +01:00
Tharun 4ca4491124 fixed review feedbacks on clusterstate field and tests
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-05 14:34:14 +05:30
Tharun 3f57033c60 added timetostop status in cluster layout 2020-12-05 14:33:39 +05:30
Tharun 81e27dd7b4 fixed review feedbacks
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-05 14:33:39 +05:30
Tharun 1b2076122e feat(minikube) display scheduledstop status in minikube status
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-12-05 14:33:39 +05:30
Anders F Björklund cd683b3ab5 Fix whitespace issues for goimports 2020-12-05 09:47:29 +01:00
Medya Ghazizadeh 114faa7d97
Merge pull request #9797 from msedzins/issue_9335
Ability to use a custom TLS certificate with the Ingress
2020-12-04 12:45:51 -08:00
Priya Wadhwa f373155d55 merge conflict 2020-12-03 10:56:41 -08:00
Ling Samuel 8c2e03b2a7
Fix missing InitialSetup in `node start`
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-12-03 11:22:44 +08:00
Medya Ghazizadeh 8fc54b430b
Merge pull request #9716 from afbjorklund/podman-network
Add private network implementation for podman
2020-12-02 14:16:41 -08:00
msedzins e1aa07feb2 Ability to use a custom TLS certificate with the Ingress
Tutorial added
2020-11-30 22:53:27 +00:00
priyawadhwa d83b868b4f
Merge pull request #9774 from priyawadhwa/cancel-stop
Add --cancel-scheduled flag to cancel all existing scheduled stops
2020-11-30 10:03:48 -08:00
Anders F Björklund dae980a355 Add support for restoring existing podman env
If user had a podman environment configured before podman-env,
restore it on unset (similar to existing code for docker-env)
2020-11-29 22:56:47 +01:00
Jeroen Dekkers 1490562c2a Fix --extra-config when starting an existing cluster 2020-11-29 12:44:15 +01:00
Tharun 5b8670c4e9 fix unable to set memory in config
Signed-off-by: Tharun <rajendrantharun@live.com>
2020-11-27 01:22:02 +05:30
Martin Schimandl 64729fb03a Remove function 'NeedsRoot' 2020-11-26 19:54:13 +01:00
Sharif Elgamal 2a5289cd00 reintroduce crio hack for testing 2020-11-25 15:42:55 -08:00
Priya Wadhwa 70cb886a39 shorten flag name to --cancel-scheduled 2020-11-24 17:29:46 -08:00
Priya Wadhwa ad3e4a98d0 Add --cancel-scheduled-stop flag and add to integration test to make sure it works 2020-11-24 11:36:34 -08:00
Anders F Björklund 91890693ee Merge branch 'master' into docker-env-ssh 2020-11-24 20:21:21 +01:00
Priya Wadhwa 63e5021065 Merge branch 'master' of https://github.com/kubernetes/minikube into add-tracing 2020-11-24 10:29:06 -08:00
Medya Ghazizadeh 2dc88c58ea
Merge pull request #9756 from medyagh/docker_env_restart
docker-env: "reload" dockerd service first before "restart" to avoid restarting apiserver container
2020-11-24 10:03:55 -08:00
Medya Ghazizadeh 02511f1c70
Merge pull request #9702 from daehyeok/print_node
Add number of nodes for cluster in `minikube profile list`
2020-11-24 09:57:03 -08:00
Sharif Elgamal ee9b5b4d49 remove restart hack for crio now that iso is fixed 2020-11-23 11:39:43 -08:00
Anders F Björklund 807bec0034 Merge branch 'master' into docker-env-ssh 2020-11-22 21:58:08 +01:00
Anders F Björklund fee0f5310a Add private network implementation for podman
Most of it the same as docker, except for the options.

i.e. libnetwork "bridge" plugin vs. cni "bridge" plugin
2020-11-22 13:58:12 +01:00
Daehyeok Mun 97db8b5f4c Add number of nodes for cluster in `minikube profile list`
fixes \#6780
Add the Nodes column with the number of nodes the cluster has into
`minikube profile list` output.
2020-11-21 20:45:08 -08:00
Medya Gh 659e4ce1bd lint 2020-11-20 15:47:02 -08:00
Medya Gh 301b24ab2e lint 2020-11-20 15:45:39 -08:00
Medya Gh b498e6b288 typo 2020-11-20 15:35:04 -08:00
Medya Gh 5a443f09fb try reload dockerd first before restart 2020-11-20 15:31:05 -08:00
Anders F Björklund bf73bcc4fe Merge tag 'v1.15.1' into docker-env-ssh
1.15.1 Release
2020-11-19 17:11:02 +01:00
Priya Wadhwa 5a0ab905ed fix merge conflict 2020-11-17 15:11:23 -08:00
Medya Ghazizadeh 8b39f56a60
Merge pull request #9510 from ilya-zuyev/gh_9463_non_dev_dockerhost
Support non-default docker endpoints
2020-11-17 10:17:33 -08:00
Priya Wadhwa c4dd42a1d8 add --trace flag 2020-11-16 21:39:50 -08:00
Priya Wadhwa 0f23913f1b Tracing compiles 2020-11-16 20:31:13 -08:00
Anders F Björklund 05427245cd Merge tag 'v1.15.0' into docker-env-ssh
1.15.0 Release
2020-11-15 09:59:49 +01:00
Priya Wadhwa 1c682c6449 Merge branch 'master' of https://github.com/kubernetes/minikube into ss-windows 2020-11-13 16:34:45 -08:00
Medya Ghazizadeh 9b964853a9
Merge pull request #9672 from sadlil/driver-alias
Add Support for driver name alias
2020-11-13 16:18:05 -08:00