Commit Graph

2096 Commits (cca2acd8a0d671af40c47e4fdd69af362b3649be)

Author SHA1 Message Date
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 c8c6260887 Remove noisy warning message while apiserver is booting up 2019-11-14 20:06:57 -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
tstromberg 858fa57f79 Silence virtualbox registry check 2019-11-05 14:22:13 -08:00
Thomas Strömberg fa4b049593
Merge pull request #5805 from priyawadhwa/speedup-apiserver
Store kubernetes clientset when waiting for apiserver
2019-11-05 13:31:48 -08:00
Thomas Stromberg 79c94fba4c Merge go.mod 2019-11-05 13:24:29 -08:00
Thomas Stromberg 187e18d604 Upgrade newest to v1.17.0-beta.1 2019-11-05 13:21:19 -08:00
Anders F Björklund 3ac263f6e3 Simplify the RunCmd test for cruntime 2019-11-01 19:19:10 +01:00
Anders F Björklund df1175f51f Merge branch 'master' into reportcard-again 2019-11-01 18:32:37 +01:00
Priya Wadhwa b9562c5192 Store kubernetes clientset when waiting for apiserver
While looking at pprof data, I noticed that the line:

```go
client, err = k.client(k8s)
```

takes around .9 seconds to complete. Previously, we were calling it on
every iteration of the waitFor loop. Instead, if we store the clienset once
we have it, we should be able to speed up this function.

During local testing, this optimization reduced time spent waiting for
the apiserver by 13 seconds on average.
2019-10-31 13:56:46 -07:00
tstromberg f60764b07f service: fix --url mode, add integration tests 2019-10-30 10:44:54 -07:00
Thomas Strömberg ef398338d6
Merge pull request #5530 from medyagh/NewCmdRunner
Refactor command runner interface, allow stdin writes
2019-10-29 22:26:14 -07:00
Medya Gh 773c525ae7 fix test and remove extra code 2019-10-29 16:36:10 -07:00
Thomas Strömberg 983dc16c83
Merge pull request #5761 from tstromberg/ulimit
Set Docker open-files limit ( 'ulimit -n') to be consistent with other runtimes
2019-10-29 15:41:58 -07:00
tstromberg f6bd4df15c Address feedback 2019-10-29 14:21:53 -07:00
Medya Gh cd9e413852 resolve code review 2019-10-29 14:11:21 -07:00
Thomas Strömberg 74a5d477f2
Merge pull request #5718 from nanikjava/f-fix-test-disable-browser-test
Refactor to remove opening browser and just return url(s)
2019-10-29 13:51:33 -07:00
tstromberg 0b7a54079d Merge branch 'master' into ulimit 2019-10-29 12:04:04 -07:00
Thomas Stromberg f34b51db65 default-ulimit should be an arg, not an environment var 2019-10-29 07:56:31 -07:00
Thomas Stromberg 9bacb6a8e4 Remove test settings from buildroot 2019-10-28 22:33:18 -07:00
Thomas Stromberg 205376fc6d WIP: Consistently set 'ulimit -n' across runtimes 2019-10-28 22:31:57 -07:00