Commit Graph

2114 Commits (3a20cd75bf2ce846ff974b92c9cc0ea4e95d1a91)

Author SHA1 Message Date
Priya Wadhwa 3a20cd75bf Add unit tests 2019-12-10 13:06:22 -08:00
Priya Wadhwa 686b0a68fa Use kubectl v1.13.2 as in the addon manager image for correct functionality 2019-12-10 12:46:54 -08:00
Priya Wadhwa 4a45956178 Add unit tests 2019-12-10 10:08:23 -08:00
Priya Wadhwa 7477050192 Turn addon manager off by default
Add run kubectl apply command directly if addons are changed by the user if the addon manager is disabled.
2019-12-05 10:46:28 -08:00
Wietse Muizelaar 2cc277af73
Use newer gvisor version
The current gvisor version used is quite old, this PR bumps the version to a more recent one.
2019-11-29 20:36:54 +01:00
Sharif Elgamal 0bfd81baec
Merge pull request #5973 from sharifelgamal/1.17-rc1
Update default k8s version to 1.17.0-rc.1
2019-11-25 18:20:12 -08:00
Medya Ghazizadeh 97b8ee82d1
Merge pull request #5919 from tstromberg/more-logs
Double lookBackwardsCount to 400, to find usage error in new apiserver
2019-11-25 14:13:24 -08:00
Sharif Elgamal bd96b736d3
update test cases for new k8s default 2019-11-25 13:44:10 -08:00
Sharif Elgamal 04eca26c48
Update default k8s version to 1.17.0-rc.1 2019-11-25 13:33:27 -08:00
Medya Ghazizadeh 8a4c7d31f6
Merge pull request #5960 from davidnewman/issue/5959
Add option for virtualbox users to set nat-nic-type
2019-11-25 13:16:20 -08:00
Medya Ghazizadeh b398810a0f
Merge pull request #5917 from tstromberg/include-output-exec-err
SSHRunner: include stdout/stderr with error message
2019-11-25 11:53:13 -08:00
David Newman fbb1d97cf1 feat(virtualbox): Users and set nat-nic-type and host-only-nic-type 2019-11-22 13:50:12 -05:00
Thomas Stromberg 7f97b91adf Add newlines before stdout/stderr 2019-11-20 16:08:16 -08:00
Thomas Stromberg 786ffe8e07 Stop pre-caching obsolete dashboard image 2019-11-16 21:16:06 -08:00
Thomas Strömberg cca2acd8a0
Merge pull request #5925 from tstromberg/v1.17.0-beta.1-t2
Update DefaultKubernetesVersion to v1.17.0-beta.1 to prepare for betas
2019-11-15 13:24:29 -08:00
Thomas Strömberg 6c44e09a94
Merge pull request #5916 from tstromberg/recover-ctrlc
Make it possible to recover from a previously aborted StartCluster (Ctrl-C)
2019-11-15 13:23:53 -08:00
tstromberg c02557d975 Update DefaultKubernetesVersion to v1.17.0-beta.1 to prepare for betas 2019-11-15 11:44:48 -08:00
Thomas Stromberg 2223c89555 Check for etcd, but not /etc 2019-11-15 07:02:44 -08:00
Thomas Stromberg 39c0c8be13 Use etcdDataDir() instead 2019-11-14 20:17:31 -08:00
Thomas Stromberg e87214d581 Remove exit code, it was always 0 2019-11-14 20:15:43 -08:00
Thomas Stromberg 4f5877e141 Double lookBackwardsCount to 400, to find usage error in new apiserver 2019-11-14 20:10:58 -08:00
Thomas Stromberg c8c6260887 Remove noisy warning message while apiserver is booting up 2019-11-14 20:06:57 -08:00
Thomas Stromberg 26dbaa8b28 ssh: Log and return stdout/stderr consistency 2019-11-14 20:06:05 -08:00
Thomas Stromberg b04b2ad5ee Log and return stdout/stderr consistency 2019-11-14 20:02:59 -08:00
Thomas Stromberg a586513831 Make sure etcd existence is recoverable too 2019-11-14 19:11:57 -08:00
Thomas Stromberg a6ece0cbe8 Make restartCluster private in preference to idempotent StartCluster 2019-11-14 15:06:05 -08:00
Thomas Stromberg 557339acc2 Recover from aborted kubeadm runs by checking for file existence 2019-11-14 15:00:56 -08:00
Aresforchina 6e59117b1d fix up typo 2019-11-14 17:16:27 +08:00
Thomas Stromberg aa6070ae89 Remove unused glog import 2019-11-13 17:02:47 -08:00
Thomas Strömberg 72016f1012
Merge pull request #5901 from tstromberg/noisy-windows
Remove noisy error message
2019-11-13 07:32:34 -08:00
Thomas Strömberg d44aa4c9e5
Merge pull request #5894 from tstromberg/wait-nada
Make --wait=false non-blocking, --wait=true blocks on system pods
2019-11-13 07:06:12 -08:00
Thomas Strömberg 484fdccf78
Merge pull request #5864 from priyawadhwa/copy-files
Only copy new or modified files into VM on restart
2019-11-13 07:02:49 -08:00
Thomas Stromberg eac8b00977 Remove noisy error message 2019-11-13 06:48:24 -08:00
Thomas Stromberg 506cd949b9 Lint 2019-11-12 21:48:03 -08:00
Thomas Stromberg 2411895715 Clarify restart code, remove duplicate health check 2019-11-12 21:29:53 -08:00
Thomas Stromberg 7e5ab0417b Split WaitForCluster up into smaller functions, be more conservative 2019-11-12 21:14:37 -08:00
Thomas Stromberg 2128326cf7 Remove unused tests 2019-11-12 14:19:52 -08:00
Thomas Stromberg e142319e1c Wait for any kube-system pod rather than apiserver (much faster) 2019-11-12 14:13:38 -08:00
Thomas Stromberg dc3a50e026 Make --wait=false wait for nothing again, change default to --wait=true 2019-11-12 13:38:48 -08:00
Sharif Elgamal c03aee8322
Refactor config.Config to prepare for multinode (#5889)
* Refactor config.Config to prepare for multinode

* merge conflict
2019-11-11 17:52:15 -08:00
Sharif Elgamal fb5430fd97
Getting rid of GetMachineName() (#5868)
* removing GetMachineName()

* replacing GetMachineName with a config lookup

* fix tests

* making unit tests happy

* fixing concurrent map writes, only right to viper once

* debugging

* one last test fix

* DeleteAlwaysSucceeds should actually always succeed

* prevent panic when deleting nonexistant cluster

* remove last GetMachineName reference
2019-11-11 14:47:47 -08:00
Priya Wadhwa e9d212653d Simplify command to get size and modtime 2019-11-11 14:28:13 -08:00
Thomas Stromberg 82231dc0ee Merge 2019-11-11 08:38:29 -08:00
Priya Wadhwa 006b802e5c Check for file size and mtime at the same time
Also, copy over the mtime correctly in Copy so that we can make sure
they are equal in `sameFileExists`
2019-11-08 13:56:30 -08:00
Priya Wadhwa 38823e9348 Only copy new or modified files into VM on restart
When minikube restarts, we can save time by only copying over files that
have changes or don't exist in the VM. The code in this PR first checks
if the file already exists in the VM, and skips copying it over again if
it does.
2019-11-07 13:46:22 -08:00
Thomas Strömberg f773c4ba45
Merge pull request #5837 from tstromberg/v1.17.0
Update NewestKubernetesVersion to v1.17.0-beta.1
2019-11-06 14:06:27 -08:00
Sharif Elgamal 6ff68709dd
Merge pull request #5243 from rajalokan/remove-heapster
Remove heapster addon
2019-11-06 11:35:35 -08:00
tstromberg 992d4fd04a Add an explicit Unhealthy driver priority (lowest) 2019-11-06 10:05:50 -08:00
tstromberg fb3360da06 Check health of drivers from existing configs 2019-11-05 17:16:23 -08:00
Thomas Strömberg a583cbec13
Merge pull request #5839 from tstromberg/vbox-be-quiet
Silence virtualbox registry check
2019-11-05 14:47:32 -08:00