Commit Graph

2042 Commits (9a931c4516a10690e6946c8064e607c9a5beace5)

Author SHA1 Message Date
Harkishen-Singh 30e6660925 Better informaation for using kubectl inside minikube
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>

add kubectl install link

Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>

add alias tip to the minikube docs

Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>

remove debug statements

Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
2020-06-20 18:20:28 +05:30
Anders F Björklund fe6687386d The logging of the kubectl path was broken
After introducing the exec.Cmd parameter previously
2020-06-20 14:31:35 +02:00
Medya Ghazizadeh fe9e0e8950
Merge pull request #8506 from Harkishen-Singh/unset-docker-podman-env-vars-without-machine-running
Adds support for unsetting of env vars
2020-06-18 11:57:29 -07:00
Medya Gh e91e11eeba address review comments 2020-06-17 18:32:11 -07:00
Medya Gh ca2d0f97ec move advice to its own file 2020-06-17 15:07:17 -07:00
Medya Gh d32b8d81fe improve solution message 2020-06-17 14:26:31 -07:00
Medya Gh bdf7c196a1 add detailed suggestions when created container exists 2020-06-17 14:09:51 -07:00
Medya Gh e25445dea9 capitalize the Desktop word 2020-06-17 11:51:43 -07:00
Harkishen-Singh 8d1e4e2d26 adds support for unsetting of environment variables without the need of running container-machine
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
2020-06-17 23:54:00 +05:30
Medya Gh e3ef5f9a95 address review comments 2020-06-16 15:03:56 -07:00
Medya Gh 56b5524c8e address review comments 2020-06-16 14:57:19 -07:00
Medya Gh 4caf260279 add cpu count limit error type for kic drivers 2020-06-16 13:21:56 -07:00
Li Zhijian 24c9ce079d cleanup TempDir properly
a TempDir is like /tmp/minipath255070191/.minikube

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-06-16 09:34:25 +08:00
Thomas Stromberg c2e71996a8 Point multi-node *-env users to the registry addon 2020-06-15 12:38:28 -07:00
Kenta Iso 24b2a69981 fix disable heapster message 2020-06-13 01:06:57 +09:00
Kenta Iso d7a9721712 Avoid SIGSEGV when heapster addon will be disabled 2020-06-13 00:46:12 +09:00
Kenta Iso d76b58c3ae Add heapster alias to metrics-server addon 2020-06-13 00:46:12 +09:00
Thomas Strömberg db116c2689
Merge pull request #8428 from tstromberg/minikube-blacklist
Replace whitelist/blacklist with allow/deny
2020-06-11 07:18:02 -07:00
Medya Gh dd896b2569 add sudo -E to none docs 2020-06-10 17:03:40 -07:00
Thomas Stromberg bd1bdb3696 Use 'Allowed' instead of 'Allow' 2020-06-10 14:56:22 -07:00
Medya Ghazizadeh ff86a552bf
Merge pull request #8184 from radeksm/bugfix/cluster_name_in_status
Fix missing cluster node names in output of status command
2020-06-10 12:48:48 -07:00
Thomas Stromberg 09672520ea Merge branch 'master' into minikube-blacklist 2020-06-09 16:49:39 -07:00
priyawadhwa e2104b2f0f
Merge pull request #8417 from priyawadhwa/cloudshell
Enable support for offline kic
2020-06-09 13:40:53 -07:00
Thomas Stromberg a60c7d3d1d Replace whitelist/blacklist withallow/deny 2020-06-09 13:19:18 -07:00
Medya Ghazizadeh fa0812c8f0
Merge pull request #8285 from kadern0/issue-8237
Added option --all to stop all clusters
2020-06-09 13:02:35 -07:00
Pablo Caderno 325db092c3 Added option --all to stop all clusters
Related to #8237

Signed-off-by: kadern0 <kaderno@gmail.com>
2020-06-09 08:32:36 +10:00
Priya Wadhwa 1f6e140e00 try to save image as tarball on download-only 2020-06-04 12:24:07 -07:00
Medya Ghazizadeh 025ba11bce
Merge pull request #8329 from tstromberg/stacklog
Log stacks for slowjam analysis if STACKLOG_PATH is set
2020-06-04 11:49:02 -07:00
Tacio Costa 2f26c52c2d exit when minikube addons configure is called on a nonexistent cluster 2020-06-03 15:54:46 -03:00
Tacio Costa bbab9707da fix: minikube addons configure on a nonexistent cluster 2020-06-03 15:54:46 -03:00
Radoslaw Smigielski e9ca25fb03 Fix missing cluster name in output of status command 2020-05-31 07:07:22 +01:00
Thomas Stromberg 33c0ba9977 Log stacks for slowjam analysis if STACKLOG_PATH is set 2020-05-29 20:52:24 -07:00
priyawadhwa abba4b3db5
Merge pull request #8091 from priyawadhwa/open
Add support for timing per log and printing out timings per log to mkcmp
2020-05-29 13:52:47 -07:00
Thomas Strömberg a9359c0ba1
Merge pull request #8249 from SataQiu/fix-20200522
honor --image-repository even if --image-mirror-country is set
2020-05-29 12:39:05 -07:00
Medya Ghazizadeh 77419ee925
Merge pull request #8154 from priyawadhwa/kvm-flake
Upgrade oldest k8s version supported to 1.13
2020-05-28 21:18:01 +00:00
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