Commit Graph

2007 Commits (93517b95d8386878ed9c2d3d3e75883ab1f2c111)

Author SHA1 Message Date
Priya Wadhwa 3b24e6fdbe Add info about --force 2020-05-28 13:59:50 -07:00
Sharif Elgamal 4f0613929f
Merge pull request #7973 from sharifelgamal/restart
Make sure multinode clusters can survive restarts
2020-05-27 17:41:57 -07:00
Sharif Elgamal 6f03adc8ac fix in start.go 2020-05-27 15:32:56 -07:00
Sharif Elgamal 7224064b23 respect native-ssh param properly 2020-05-27 15:19:32 -07:00
Sharif Elgamal 101f2da01d revert changes to node_add 2020-05-27 10:10:46 -07:00
Sharif Elgamal d0753347b5 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-27 09:58:22 -07:00
Sharif Elgamal b5167834d0 it works! and simpler 2020-05-27 09:58:03 -07:00
Medya Ghazizadeh ba9d1baf9d
Merge pull request #8279 from medyagh/test_ver_upgrade
fix parsing kubernetes version flag on an existing minikube
2020-05-27 00:13:11 +00:00
Medya Gh ab3710cc0b
fix parsing kubernetes version flag on an existing minikube 2020-05-26 16:20:07 -07:00
Medya Gh 6ff8c9a9ba review comments 2020-05-26 15:02:42 -07:00
Medya Gh 834a584142 combine info and warnning 2020-05-26 13:29:31 -07:00
Medya Gh 2437a521e4 address review comments 2020-05-26 13:27:01 -07:00
Medya Gh d24351a8c3 revert unrelated ode 2020-05-26 13:27:01 -07:00
Medya Gh 82b79d6e8b remove podman-env restart 2020-05-26 13:27:01 -07:00
Medya Gh 7e1a2a557b separate 2020-05-26 13:27:01 -07:00
Medya Gh 18e9055fb4 restart only what if needed 2020-05-26 13:27:01 -07:00
Medya Gh f43ac07b41 restart docker on docker-env to prevent IP cert problems 2020-05-26 13:27:01 -07:00
SataQiu 98b0258565 honor --image-repository even if --image-mirror-country is set 2020-05-22 15:11:02 +08:00
Medya Ghazizadeh f26ea0fcf2
Merge pull request #8238 from sharifelgamal/postmortem
allow minikube status to display for one node
2020-05-21 22:41:00 +00:00
Sharif Elgamal c8723ce59c Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-21 14:54:29 -07:00
Sharif Elgamal bde6624365 Merge branch 'postmortem' of github.com:sharifelgamal/minikube into restart 2020-05-21 14:54:21 -07:00
Sharif Elgamal 9fe9513c34 only use retrieval code for multinode clusters 2020-05-21 14:08:34 -07:00
Sharif Elgamal a7c49e47c1 allow minikube status to display for one node 2020-05-21 12:46:13 -07:00
kadern0 6189206367 Fixed error parsing old version "latest" or "stable"
Fixes #8210

Signed-off-by: kadern0 <kaderno@gmail.com>
2020-05-21 20:31:49 +10:00
Sharif Elgamal d5f9490ced Merge branch 'node-delete-vol' of github.com:sharifelgamal/minikube into restart 2020-05-20 15:00:58 -07:00
Sharif Elgamal 01145c3c99 Merge branch 'master' of github.com:kubernetes/minikube into node-delete-vol 2020-05-20 14:59:31 -07:00
Sharif Elgamal bbf4d66b48 delete docker volumes when deleting a single node 2020-05-20 14:59:03 -07:00
Sharif Elgamal dd7e57e110 Merge branch 'restart' of github.com:sharifelgamal/minikube into restart 2020-05-20 13:14:17 -07:00
Sharif Elgamal 49cc6ae259 revert old unrelated changes: 2020-05-20 13:13:57 -07:00
Sharif Elgamal 70198d807d
Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-20 12:55:07 -07:00
Medya Ghazizadeh add572c1c9
Merge pull request #8216 from sharifelgamal/volume-del
multinode: delete worker volumes for docker driver
2020-05-20 00:43:19 +00:00
Medya Ghazizadeh 327ba9e1ab
Merge pull request #8198 from medyagh/fix_proxy
fix proxy env not being passed to docker engine
2020-05-19 23:59:19 +00:00
Sharif Elgamal ee5696ffa4 Merge branch 'volume-del' of github.com:sharifelgamal/minikube into restart 2020-05-19 16:34:54 -07:00
Sharif Elgamal 6eb0200dae delete worker node volums for docker driver 2020-05-19 16:32:48 -07:00
Medya Gh 32bf4d46a7 add unique 2020-05-18 18:26:11 -07:00
Medya Gh 2f2a8357a8 fix proxy envs not being passed to docker engine 2020-05-18 18:04:45 -07:00
Sharif Elgamal 9165e1a6ca Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-18 16:58:38 -07:00
Sharif Elgamal faf11e2f05 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-18 11:55:07 -07:00
Sharif Elgamal 412cef3002 Merge branch 'master' of github.com:kubernetes/minikube into node-start 2020-05-18 11:52:57 -07:00
Sharif Elgamal 2754bb6319
Merge pull request #8095 from sharifelgamal/create-node
recreate existing control plane node correctly
2020-05-18 11:50:39 -07:00
priyawadhwa 02cee02721
Merge pull request #8143 from priyawadhwa/list
Add defaults subcommand to `minikube config`
2020-05-18 10:59:38 -07:00
Sharif Elgamal 6d12ca7e5c Fix node start 2020-05-15 17:20:33 -07:00
Sharif Elgamal 009e056f8c revert ip change 2020-05-15 15:39:52 -07:00
Sharif Elgamal c1c1d15b96 Merge branch 'create-node' of github.com:sharifelgamal/minikube into create-node 2020-05-15 15:25:20 -07:00
Sharif Elgamal 1cc7404e76 swap to bool 2020-05-15 15:24:33 -07:00
Sharif Elgamal 56898dcd90
override nodes config properly 2020-05-15 14:50:30 -07:00
Sharif Elgamal 6d6bad6217 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-15 13:59:35 -07:00
Sharif Elgamal 9c17c9214d respect kubernetes version passed into parameters even on existing cluster config 2020-05-15 13:11:42 -07:00
Sharif Elgamal 80ae2587a1 more debugging 2020-05-15 09:56:35 -07:00
Sharif Elgamal 9df04324a2 Merge branch 'master' of github.com:kubernetes/minikube into create-node 2020-05-15 09:16:31 -07:00
Sharif Elgamal 31339cb53b do not modify existing config 2020-05-14 15:57:12 -07:00
Sharif Elgamal 21a552942a fixes & debugging 2020-05-14 15:30:04 -07:00
Sharif Elgamal d2a0f61cf0 swap condition 2020-05-14 14:53:29 -07:00
Medya Ghazizadeh 2e7d9d88ae
Merge pull request #8118 from afbjorklund/version-prefix
Improve handling of VersionPrefix in output
2020-05-14 19:41:39 +00:00
Anders F Björklund a4d872faee Fix some minor gofmt and golint issues
So that "make gofmt" and "make golint" go green again
2020-05-14 07:50:29 +02:00
Priya Wadhwa 950110280d Fix unit tests 2020-05-13 14:44:31 -07:00
Priya Wadhwa b3d4750c05 Add support for --output json 2020-05-13 14:37:45 -07:00
Priya Wadhwa 208fb8a3c6 Add unit test 2020-05-13 14:29:28 -07:00
Priya Wadhwa 31525fe822 Add defaults subcommand to `minikube config`
`minikube config defaults PROPERTY_NAME` will print out all acceptable default values for that property.

Currently only works for `minikube config defaults driver` which looks like this on Mac:

```
$ minikube config defaults driver
* virtualbox
* parallels
* vmwarefusion
* hyperkit
* vmware
* docker
* podman
```

This will be useful for clients that depend on minikube, like IDE extensions.
2020-05-13 14:15:08 -07:00
Sharif Elgamal 5684c253b5 Merge branch 'master' of github.com:kubernetes/minikube into create-node 2020-05-13 09:24:35 -07:00
Anders F Björklund c14e7a5a71 Improve handling of VersionPrefix in output 2020-05-13 11:32:01 +02:00
Sharif Elgamal c7f3a3d3cf simplify code 2020-05-12 12:56:01 -07:00
Sharif Elgamal fc4acc598a recreate existing control plane node correctly 2020-05-12 12:12:57 -07:00
Sharif Elgamal d7813e9199 ControlPaneEndpoint -> ControlPlaneEndpoint 2020-05-12 12:01:42 -07:00
Priya Wadhwa 6147ad350d Add support for timing per log and printing out timings per log to mkcmp 2020-05-12 11:07:25 -07:00
Sharif Elgamal 562fd5b2df improve node stop output 2020-05-11 21:59:03 -07:00
Sharif Elgamal 335379dc59 it works 2020-05-11 19:25:53 -07:00
Medya Ghazizadeh afab7c87c6
Merge pull request #7959 from afbjorklund/podman-prompt
Use noninteractive sudo when running podman
2020-05-11 21:02:22 +00:00
Sharif Elgamal d4639c52b9 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-11 11:52:22 -07:00
Anders F Björklund c578a7aa1e Add a PointToHost function for podman as well
And add an active variable, similiar to docker
2020-05-10 23:07:12 +02:00
Anders F Björklund 3fa4b9164d The podman volume prune does not support filter 2020-05-09 13:58:12 +02:00
Anders F Björklund 9673b421df Skip deleting leftovers if bin not available
Avoids spamming the log with extra drivers
2020-05-09 13:49:15 +02:00
Anders F Björklund c1be17346b Also delete podman containers and volumes
When deleting all minikube profiles, that is
2020-05-09 13:41:06 +02:00
Sharif Elgamal 6bb8371459 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-08 13:53:20 -07:00
Medya Ghazizadeh bf541b42c2
Merge pull request #8038 from tstromberg/kic-delete-prompt
Use the appropriate OCI for deletePossibleKicLeftOver when known
2020-05-08 00:02:44 +00:00
Sharif Elgamal 5e981137a4 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-07 16:13:25 -07:00
Thomas Stromberg e06e180a52 Cite issue #8040 for TODO's 2020-05-07 16:00:08 -07:00
Thomas Stromberg 64e47992e4 Only delete leftovers for the appropriate OCI if known 2020-05-07 15:19:09 -07:00
Thomas Stromberg eefcc04b36 Shorten long text 2020-05-07 14:14:10 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Sharif Elgamal 5ed946cc4c fix minikube stop output 2020-05-06 14:41:43 -07:00
Sharif Elgamal 494710616b let's change a bunch of stuff 2020-05-05 14:42:07 -07:00
Sharif Elgamal bd2c4d8f6c Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-04 14:49:51 -07:00
Medya Ghazizadeh e0685c8f5d
Merge pull request #7984 from medyagh/detect_windows_container
Detect windows container and exit with instructions
2020-05-04 20:01:17 +00:00
Sharif Elgamal daaafd5df4 lint 2020-05-04 09:26:02 -07:00
Medya Gh d887259153 add to registry 2020-05-02 20:19:17 -07:00
Medya Gh ddd3c72f9d add kic base image to the cluster config 2020-05-02 19:29:54 -07:00
Medya Gh 4572d0634f exit with usage if container type is windows 2020-05-02 18:29:33 -07:00
Sharif Elgamal 38ec707f66 only warn on fresh start 2020-05-01 18:04:06 -07:00
Sharif Elgamal 4cb2d0f34a Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-01 17:02:19 -07:00
Sharif Elgamal 76349e19b2 more changes 2020-05-01 17:02:11 -07:00
Sharif Elgamal fa039b1d50 Merge branch 'master' of github.com:kubernetes/minikube into warn-exp 2020-05-01 09:50:01 -07:00
Sharif Elgamal 5914fb273f extra newline 2020-05-01 09:20:49 -07:00
Sharif Elgamal 94a9c03b91 initial commit for restartWorker 2020-04-30 16:02:43 -07:00
Kenta Iso 138f73f9f8 Change tunnel cleanup flag default to true 2020-04-30 19:26:46 +09:00
Sharif Elgamal 965e8da19a fix multinode check in node_add 2020-04-29 13:06:20 -07:00
Sharif Elgamal a2aaea83af swap to WarningT 2020-04-29 10:29:05 -07:00
Sharif Elgamal d09ae65cd9 add experimental warning for multinode clusters 2020-04-29 10:14:50 -07:00
Thomas Strömberg 7b39b102d6
Merge pull request #7930 from sharifelgamal/cni
Automatically apply CNI on multinode clusters
2020-04-29 09:14:38 -07:00
Thomas Strömberg 7dc28f6af7
Merge pull request #7247 from tstromberg/control-plane-host
Add `(host|control-plane).minikube.internal` to /etc/hosts
2020-04-29 09:10:49 -07:00
Medya Ghazizadeh c739d3f564
Merge pull request #7928 from sharifelgamal/mem
improve auto-select memory for multinode clusters
2020-04-28 21:22:22 -07:00
Sharif Elgamal 747b18a955 lint 2020-04-28 12:10:27 -07:00
Sharif Elgamal d637698b60 Merge branch 'master' of github.com:kubernetes/minikube into cni 2020-04-28 11:19:07 -07:00
Sharif Elgamal de5e493b10 add unit tests 2020-04-28 11:15:11 -07:00
Sharif Elgamal b116cd15bb lint 2020-04-28 10:18:33 -07:00
Sharif Elgamal e61a18cbaa be smarter about allocating memory for multinode clusters 2020-04-28 10:10:02 -07:00
Sharif Elgamal de71233966
Merge pull request #7851 from radeksm/feature/7667
Add list option for "minikube node" command
2020-04-28 10:09:38 -07:00
Thomas Stromberg 878fc6a5f0 Merge branch 'master' into control-plane-host 2020-04-28 08:09:24 -07:00
Sharif Elgamal 5848bbe011 Merge branch 'master' of github.com:kubernetes/minikube into cni 2020-04-27 14:15:19 -07:00
Sharif Elgamal 228c1b092c automatically apply kic overlay when detecting multinode clusters 2020-04-27 14:15:12 -07:00
Radoslaw Smigielski a843b3083c Also show IP address of the node 2020-04-27 21:51:58 +01:00
Radoslaw Smigielski 4c1e6c5fe0 Merge branch 'master' into feature/7667 2020-04-27 20:52:23 +01:00
Priya Wadhwa e3397d559f Merge branch 'master' of https://github.com/kubernetes/minikube into systemd 2020-04-27 10:33:12 -07:00
Medya Gh 556e8871b7
wait for service 2020-04-24 19:13:39 -07:00
Thomas Strömberg e3a3b1e743
Merge pull request #7308 from laozc/metallb
Add Metal LB addon
2020-04-24 16:59:50 -07:00
Priya Wadhwa 71ca99b926 Merge branch 'master' of https://github.com/kubernetes/minikube into systemd 2020-04-24 15:33:50 -07:00
Medya Ghazizadeh 0ea84f9d14
Revert "docker-env: fall back to bash if can not detect shell." 2020-04-24 14:25:15 -07:00
Medya Ghazizadeh c84067cd35
Merge pull request #7887 from medyagh/bash_fallback_docker_env
docker-env: fall back to bash if can not detect shell.
2020-04-24 13:27:56 -07:00
priyawadhwa 43948fac30
Merge pull request #7835 from radeksm/bugdix/7792
change emoji for:  notifying new kubernetes version is available
2020-04-24 10:45:09 -07:00
Medya Gh 191484e21a
fall back to bash if can not detect 2020-04-23 22:19:06 -07:00
Priya Wadhwa dc14146f8d resolve merge conflict 2020-04-23 14:53:28 -07:00
Thomas Stromberg e5cc661733 Merge master 2020-04-23 14:31:47 -07:00
Tobias Klauser c10822cb65 Drop duplicate import
The k8s.io/minikube/pkg/util package is imported twice, in one case
aliased to "pkgutil". Drop the alias and use the original package name.
2020-04-23 21:35:10 +02:00
Priya Wadhwa ca5c8953e8 change flag name to --base-image 2020-04-22 15:28:39 -07:00
Priya Wadhwa e5d633df9f fix lint 2020-04-22 14:51:36 -07:00
Priya Wadhwa da4119e33a Add --docker-base-image flag for kic development 2020-04-22 14:28:21 -07:00
Priya Wadhwa ae388d0edb Add --force-systemd flag to force container runtime to use systemd 2020-04-22 14:10:55 -07:00
Radoslaw Smigielski 3d9cebac72 Fix some space/tabs mixture 2020-04-22 21:51:09 +02:00
Radoslaw Smigielski 546540cbbb Fix the broken line 2020-04-22 21:51:09 +02:00
Radoslaw Smigielski eae39ea9a0 Notify user when new kubernetes version is available
Change emoji for telling that new kubernetes is available.
2020-04-22 21:51:05 +02:00
Radoslaw Smigielski face3a43b9 Fix lint problem 2020-04-22 17:20:26 +01:00
Radoslaw Smigielski bf618d6632 Add list option for "minikube node" command
Add option to list the nodes.
So far there was no "minikube node list" command.
2020-04-22 17:08:44 +01:00
Sharif Elgamal ab548abeb3 Merge branch 'master' of github.com:kubernetes/minikube into multitest 2020-04-21 11:32:27 -07:00
Thomas Stromberg 23fa28f739 Add HostIP support for none, reduce tech debt 2020-04-21 11:15:04 -07:00
priyawadhwa 38b54da842
Merge pull request #7707 from prasadkatti/fix/skip_preload_if_image_repo_set
Skip preload download if --image-repository is set
2020-04-21 09:59:59 -07:00
Sharif Elgamal 2b5244a175 Merge branch 'master' of github.com:kubernetes/minikube into multitest 2020-04-21 00:19:14 -07:00
Medya Gh b639c6112d
fix delete and add integeration test 2020-04-20 20:38:31 -07:00
Sharif Elgamal 7de758d515 add more detailed multinode tests 2020-04-20 15:01:21 -07:00
sayboras 66a7cf26b3
Add fish auto completion 2020-04-20 11:52:26 +10:00
Medya Ghazizadeh 14b6582c7b
Merge pull request #7749 from tstromberg/storageclass-kapi
Unify Kubernetes client creation around kapi.Client
2020-04-17 14:54:27 -07:00
Thomas Stromberg 8fc8abb6df Remove viper from service package 2020-04-17 12:26:52 -07:00
Thomas Stromberg 3a5406f79e Unify client creation around kapi.Client 2020-04-17 09:58:14 -07:00
Medya Gh 27bd2a9e0b fix message 2020-04-17 00:28:40 -07:00
Medya Gh 2a38fa3cfc enable tunnel and service for docker on windows 2020-04-16 23:44:07 -07:00
Medya Gh 1b85d484a9 remove unrelate change 2020-04-16 15:15:42 -07:00
Medya Gh bb327e250d adjust try 2020-04-16 15:14:59 -07:00
priyawadhwa abaa998913
Merge pull request #7558 from priyawadhwa/monitor-1
Add support for specifying pr when running mkcmp
2020-04-16 12:28:21 -07:00
Priya Wadhwa 3c46aa1aee fix lint 2020-04-16 12:08:28 -07:00
Prasad Katti 06fadf8213 Skip preload download if --image-repository is set 2020-04-15 22:24:24 -07:00
Sharif Elgamal 1554d8e969
Merge pull request #7586 from govargo/feature/add-status-node-section
Add master node/worker node type to `minikube status`
2020-04-14 19:44:46 -07:00