Commit Graph

73 Commits (54f94000065d186b05fe6363d090fb1923b9b3e5)

Author SHA1 Message Date
Vincent Link e95f279449 Add "minikube" and machineName to docker certificate SANs
See #6367
2020-08-03 20:42:12 +02:00
Anders F Björklund 49ebcc87d3 Enable docker and kubelet units after adding them
This avoids warnings from `kubeadm init` later:

[WARNING Service-Docker]
[WARNING Service-Kubelet]
2020-04-19 17:31:00 +02:00
Medya Gh bb327e250d adjust try 2020-04-16 15:14:59 -07:00
Medya Gh 9dfe6a6a70 clean up logs 2020-04-13 16:39:52 -07:00
Thomas Stromberg 4d1177cbf1 Ensure that sessions are closed, retry client if necessary 2020-04-10 13:53:38 -07:00
Sharif Elgamal 06dca45553 lint 2020-03-24 16:10:20 -07:00
Sharif Elgamal 4a24cfcf30 add cluster name to provisioner object directly 2020-03-24 15:54:39 -07:00
Sharif Elgamal 28672dec78 remove ClusterNameFromMachine 2020-03-24 14:43:11 -07:00
Thomas Strömberg 986679bc8d
Merge pull request #6787 from sharifelgamal/m2
Implement multi-node cluster capabilities
2020-03-20 19:26:56 -07:00
Thomas Stromberg ff9c4fdcc6 Lint fixes 2020-03-20 07:15:34 -07:00
Thomas Stromberg ea6d6832e5 Only restart docker service if unit file has updated 2020-03-19 17:40:02 -07:00
Sharif Elgamal f9b38dc04e clean up status output and have multinode survive cluster restarts 2020-03-18 21:28:03 -07:00
Sharif Elgamal f99d335fed fix docker driver 2020-03-16 15:36:05 -07:00
Sharif Elgamal 36089037d9 Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-03-13 15:24:07 -07:00
Medya Gh 3ec8d429e1 more refactor 2020-03-13 12:25:37 -07:00
Medya Gh 0da027cdb2 refactor 2020-03-13 12:01:28 -07:00
Medya Gh 70c9304724 code review comments 2020-03-13 10:37:29 -07:00
Medya Gh 2e5b4ece36 hard code docker port 2020-03-12 14:50:19 -07:00
Medya Gh 4f097cb369 fix 2020-03-12 14:29:17 -07:00
Medya Gh d3b20dc3d8 try 2020-03-12 14:28:37 -07:00
Medya Gh 1b0fb63fc9 try again 2020-03-12 14:27:31 -07:00
Medya Gh 7d3117916e daemon-reload 2020-03-12 14:17:06 -07:00
Sharif Elgamal 0fadf91d2c i think it works? 2020-02-25 16:36:53 -08:00
tstromberg 8631246e76 Create directory using os.MkDirAll, as mkdir -p does not work on windows 2020-02-05 12:37:19 -08:00
Thomas Strömberg 5795b7f312
Merge branch 'master' into obvious_denv 2020-02-05 08:14:56 -08:00
Medya Gh c86b20ade2 add option to exec runner to point to host docker daemon 2020-02-04 15:33:04 -08:00
tstromberg 3db7713399 Remove more functions from the util package 2020-02-04 13:20:37 -08:00
Medya Gh 98dbe06758 remove debugging messages 2020-02-03 22:39:12 -08:00
Medya Gh 92eeb3c10b refactor provision 2020-02-03 22:29:27 -08:00
Sharif Elgamal 9a49c587d5
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 15:54:04 -08:00
tstromberg 2e24d7a123 Combine error conditions 2020-01-24 13:08:26 -08:00
Sharif Elgamal 791f28ff4c things work now 2020-01-23 13:21:21 -08:00
Thomas Stromberg 412e78e54c minimize the number of commands executed 2020-01-23 11:11:28 -08:00
Priya Wadhwa 43259cc363 Reorganize buildroot.go by container runtime and remove unnecessary "sudo systemctl restart crio" to save time on 'minikube start' 2020-01-22 11:00:10 -08:00
Medya Gh 35ad8e2915 make profile name mandatory for config.Load 2019-12-09 14:47:20 -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
tstromberg f6bd4df15c Address feedback 2019-10-29 14:21:53 -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
Thomas Stromberg 6d7d589a52 Consolidate driver-interaction code into pkg/minikube/driver 2019-10-18 13:00:07 -07:00
Anders F Björklund eec1a06921 Add warning that using --no-pivot is not secure
It is only intended for compatibility with the old
rootfs ISO, and not needed with the new tmpfs ISO.
2019-08-24 16:18:48 +02:00
Anders F Björklund edea8f93a5 Only use DOCKER_RAMDISK on fstype rootfs
The docker configuration is determined at runtime,
so make it work with both old rootfs and new tmpfs.
2019-08-24 16:12:52 +02:00
Anders F Björklund aa121cdce0 Only provision buildroot with BuildrootProvisioner 2019-08-16 18:07:44 +02:00
Medya Gh f17f3408a8 convert all RetryAfter to retry.Expo 2019-08-13 23:48:30 -07:00
Medya Gh 99ac1a81e7 moving command runner to its own package 2019-07-04 16:31:07 -07:00
Anders F Björklund a73dfc5f9e Merge branch 'master' into cyclo 2019-04-12 20:03:20 +02:00
Jan Janik e3cd27264d Escape systemd special chars in —docker-env 2019-03-29 16:56:51 +13:00
Anders F Björklund 4667c28164 Merge branch 'master' into cyclo 2019-03-26 07:16:28 +01:00
Anders F Björklund 00c9846a19 Decrease cyclomatic complexity for code
Mostly by using the "extract method" pattern.

Here was the report (from gocyclo), before:

16 kubeadm (*KubeadmBootstrapper).UpdateCluster pkg/minikube/bootstrapper/kubeadm/kubeadm.go:374:1
16 cluster StartHost pkg/minikube/cluster/cluster.go:64:1
16 tunnel setupRoute pkg/minikube/tunnel/tunnel.go:135:1
16 provision configureAuth pkg/provision/buildroot.go:218:1
21 util setElement pkg/util/config.go:50:1
2019-03-16 22:18:14 +01:00