Commit Graph

1195 Commits (62f435f24f7f21f226612bfb9994fba6ad990003)

Author SHA1 Message Date
Thomas Stromberg 661ebf843f Merge master 2019-12-10 14:07:02 -08:00
Thomas Strömberg 349f414dee
Merge pull request #5987 from medyagh/cache_fix2
cache add: load images to all profiles & skip previously cached images
2019-12-10 13:58:57 -08:00
Thomas Stromberg 14b805d494 Remove unused vars 2019-12-10 08:17:08 -08:00
Thomas Stromberg 8b7aaba627 Sync correct Kubernetes versions from kubeadm constants 2019-12-10 08:12:15 -08:00
priyawadhwa 434648c6fc
Merge pull request #5773 from priyawadhwa/pr-bot
Add skeleton for performance analysis service
2019-12-09 18:26:45 -08:00
Medya Gh 60346821d6 move machine path to localpath package 2019-12-09 14:51:10 -08:00
Medya Gh 35ad8e2915 make profile name mandatory for config.Load 2019-12-09 14:47:20 -08:00
Thomas Strömberg a6c749f905
Merge pull request #5798 from nanikjava/f-fix-2570
Make Kubernetes version sticky for a cluster instead of auto-upgrading
2019-12-09 13:47:44 -08:00
Thomas Strömberg 1f36a42203
Merge pull request #5912 from tstromberg/user-mutex2
Make lock names uid and path specific to avoid conflicts
2019-12-09 13:34:56 -08:00
Priya Wadhwa 4b78f7bd48 Rebased on head, resolved merge conflict 2019-12-09 12:03:37 -08:00
Medya Gh d7b6e66038 fix unit tests and improve naming 2019-11-26 20:07:56 -08:00
Medya Gh 95717c4793 add status to profile list 2019-11-26 19:53:27 -08:00
Medya Gh cdb68a139e refactor config to allow load profile config 2019-11-26 18:32:59 -08:00
Medya Gh 6c08fedf97 remove cyclic depdenecy and make cluster pkg smaller 2019-11-26 17:48:37 -08:00
Medya Ghazizadeh 72e973027d
Merge pull request #5955 from cheeseandcereal/fix_profile_list_json
Fix profile list json command output
2019-11-25 14:59:11 -08:00
Medya Ghazizadeh c462862a38
Merge pull request #5964 from afbjorklund/config-runtime
Fix validation of container-runtime config
2019-11-25 13:19:23 -08:00
Anders F Björklund 3451320ad2 Fix validation of container-runtime config
It was trying to load (non-existing) config,
and also confusingly looking for containerd.

Add a unit test as well.
2019-11-23 10:35:12 +01: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
Adam Crowder f8a2d1da07
fix profile list json command output
Signed-off-by: Adam Crowder <adam@adamcrowder.net>
2019-11-20 13:58:05 -08:00
Nanik T f680d1b1fc Fix --kubernetes-version for upgrading cluster to correct version
This PR fix the issue of checking kubernetes-version and upgrading it. The fix now
will do the following

* Not specifying the --kubernetes-version flag means just use the currently deployed version.
* If an update is available inform the user that they may use --kubernetes-version=<version>.
* When --kubernetes-version is specifically set, upgrade the cluster.

Also add integration testing to test upgrading and downgrading
2019-11-16 21:12:54 +11:00
Thomas Stromberg 557339acc2 Recover from aborted kubeadm runs by checking for file existence 2019-11-14 15:00:56 -08:00
Thomas Strömberg 1c46502f35
Merge pull request #5848 from hypnoglow/try-ssh-retry
Add retry to SSH connectivity check
2019-11-14 14:08:41 -08:00
Thomas Stromberg a750524774 Fix test that made assumption that minikube was valid 2019-11-14 10:56:44 -08:00
Igor Zibarev 33293ed689 Retry on SSH connectivity check 2019-11-13 22:23:50 +03:00
Thomas Stromberg 2411895715 Clarify restart code, remove duplicate health check 2019-11-12 21:29:53 -08:00
Thomas Stromberg 4ae939244c Clarify help text for --wait, take #2 2019-11-12 14:23:39 -08:00
Thomas Stromberg 55a7002ed7 Clarify help text for --wait 2019-11-12 14:22:53 -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
Thomas Stromberg 3f98e12fa9 Remove redundant return 2019-11-11 12:16:13 -08:00
Thomas Stromberg 82231dc0ee Merge 2019-11-11 08:38:29 -08:00
Thomas Strömberg 1d0ca6cd68
Merge pull request #5854 from tstromberg/driver-compat-msg
Improve message when selected driver is incompatible with existing cluster
2019-11-11 08:22:57 -08:00
Priya Wadhwa 108fd082b5 change name monitor to pr-bot 2019-11-07 10:48:55 -08:00
Thomas Strömberg 79fcf7172d
Merge pull request #5845 from tstromberg/none-memory
none driver: Warn about --cpus, --memory, and --container-runtime settings
2019-11-07 06:54:45 -08:00
tstromberg 9d0c3eda8e Remove extra word 2019-11-06 15:56:11 -08:00
tstromberg 1b9955f3d6 Improve message when selected driver is incompatible with existing cluster 2019-11-06 15:53:42 -08:00
tstromberg b02b4e158a Avoid panic and output correct driver name 2019-11-06 14:18:28 -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 0af762e51f none driver: Add warnings about --cpus, --memory, and --container-runtime 2019-11-06 10:29:02 -08:00
tstromberg fb3360da06 Check health of drivers from existing configs 2019-11-05 17:16:23 -08:00
tstromberg 9c2b554ce7 Merge branch 'master' into better-existing-start 2019-11-05 15:04:22 -08:00
tstromberg 8809ab113a Validate existing drivers too 2019-11-05 14:59:12 -08:00
Anders F Björklund 47fe5b2822 Remove ping, was added in merge conflict
Supposed to be removed in 361222f, along with
some other random changes to comments and such.
2019-11-02 08:59:19 +01:00
Anders F Björklund df1175f51f Merge branch 'master' into reportcard-again 2019-11-01 18:32:37 +01:00
Thomas Strömberg d7569b375c
Merge pull request #5803 from tstromberg/allow-force
Allow CPU count check to be disabled using --force
2019-10-31 12:03:13 -07:00
tstromberg 9cfd2073ba Allow CPU count check to be disabled using --force 2019-10-31 11:28:34 -07:00
Thomas Stromberg 361222f606 Make network validation friendlier, especially to corp networks 2019-10-31 09:49:41 -07:00
tstromberg c34e865ab6 Improve warning message 2019-10-30 14:06:39 -07:00
tstromberg e8be75c74a Warning -> Warningf 2019-10-30 14:06:05 -07:00