Commit Graph

421 Commits (fc9a641494610bffd5747e3a65d5d52b90e5e83a)

Author SHA1 Message Date
dlorenc 9b2dd165b3 Restart docker after configuration. 2017-08-21 18:00:13 -07:00
Matt Rickard 0db44af93c Rewrite configureAuth
The current implementation assumes that we already have docker running.
 This switches it to not remove any previous docker configuration
(since there isn't any), and uses our native file transfer utils
instead of the printf commands.
2017-08-20 22:44:19 -07:00
Matt Rickard f19fab24b4 Rename localkube status to cluster status 2017-08-18 11:55:28 -07:00
Sunny e07eb01366 fix(cmd/start): prevent k8s version downgrades
- Create Config struct to store MachineConfig and KubernetesConfig as cluster
configuration.
- Write cluster configuration under $MINIKUBE_HOME/profiles/ directory
when a cluster is launched.
- Load the cluster configuration at `start` and compare the loaded k8s
version with the requested version. Prevent any version downgrade requests.
2017-08-11 18:29:34 +05:30
Matt Rickard 5531a63b8d go lint/vet fixes 2017-08-04 13:42:10 -07:00
dlorenc 8837045970 Stop using insecure serving. 2017-07-26 14:38:57 -07:00
dlorenc e9795ca1a7 Fix ssh_mock to handle shells. 2017-07-26 14:26:45 -07:00
dlorenc eafb4fcdbe Ensure we use the native SSH driver with docker machine.
This gives me a huge speedup with the xhyve driver.
2017-07-26 14:26:45 -07:00
Matt Rickard 45eabf66eb Merge pull request #1720 from r2d4/etcd3
Use etcd embed package, switch apiserver to use etcdv3
2017-07-26 13:42:21 -07:00
Aaron Prindle 4798185b47 Fix storage provisioner to use insecure address variable 2017-07-25 13:46:29 -07:00
Matt Rickard a682bbbfe0 Use embeded etcd package, switch to etcdv3 2017-07-20 11:39:04 -07:00
Aaron Prindle c98ac207ab Merge pull request #1717 from q3aiml/restore-mount-cmd
Restore mount command and unswap port and mountVersion
2017-07-20 10:21:09 -07:00
Andy Clayton 1f1076d7ed Unswap port and mountVersion on mount cmd
Seeing since 6f42d58:

sudo mount -t 9p -o trans=tcp,port=9p2000.u,dfltuid=1001,dfltgid=1001,version=32777,msize=262144 192.168.42.1 /opt/host-persist;
sudo chmod 775 /opt/host-persist;
SSH cmd err, output: <nil>: mount: wrong fs type, bad option, bad superblock on 192.168.42.1,
2017-07-19 19:51:28 -05:00
Matt Rickard d56d41b956 Add duration as a configurable type for localkube 2017-07-19 14:16:33 -07:00
Aaron Prindle 6f42d583d2 Added msize and 9p-version flags to mount. Also changed their defaults to be more usable 2017-07-17 11:02:56 -07:00
Matt Rickard afb7c63d92 Restore some kube-proxy defaults
Set some kube-proxy defaults that got unset through the new way of
configuring kube-proxy.  Add more delay to the ip tables syncing reduces
idle CPU load a lot.

See
https://github.com/kubernetes/minikube/issues/1158#issuecomment-315308205
2017-07-14 10:58:21 -07:00
Matt Rickard 9b249158ae Fix broken service test
Also switch out-of-order format strings in test output.
2017-07-13 09:19:46 -07:00
Matt Rickard 0b595b7a43 minikube: Url parse changes for go 1.8 2017-07-13 09:19:44 -07:00
Matt Rickard 81fa73d2df Structural changes to kube-proxy and apiserver 2017-07-13 09:19:44 -07:00
dlorenc c5b57b0479 Manual changes for 1.7 update. 2017-07-13 09:16:43 -07:00
Matt Rickard 5271dd1f40 Don't fetch localkube when version specified is default
Instead, use the binary that is already bundled with go-bindata.
2017-07-12 15:21:20 -07:00
dlorenc 11ce2369d2 Move kubecfg utils from minikube to util.
We'll need to also write a kubecfg inside the VM going forward as we
remove the InsecureServing path.
2017-07-05 17:25:36 -07:00
Aaron Prindle a021ab679f Merge pull request #1653 from aaron-prindle/check-err-none
Updated CopyFileLocal to catch all errrors and have better error mess…
2017-06-30 14:28:17 -07:00
Aaron Prindle d421074c69 Updated CopyFileLocal to catch all errrors and have better error messaging 2017-06-30 13:27:22 -07:00
Matt Rickard 2bf1a3e323 Add start flag --disable-driver-mounts
Allows users to disable the filesystem mounts created by the xhyve and
virtualbox drivers.
2017-06-28 14:23:07 -07:00
Aaron Prindle fc40d7d8b7 Merge pull request #1654 from aaron-prindle/precreate-none
Added checking for docker on the path in the precreate check for none…
2017-06-27 15:10:15 -07:00
Aaron Prindle b5fd8436a9 Merge pull request #1651 from aaron-prindle/configurable-service-wait
Added wait and interval time flags to minikube service command
2017-06-27 09:47:32 -07:00
Aaron Prindle cb8d3c027c Added checking for docker on the path in the precreate check for none driver 2017-06-26 10:35:46 -07:00
Aaron Prindle 32316acd49 Merge pull request #1643 from aaron-prindle/fix-mount-uid-gid
Fixed flags to use 9p syntax for uid and gid
2017-06-26 10:16:40 -07:00
Aaron Prindle 79b9e10054 Added wait and interval time flags to minikube service command 2017-06-25 13:07:01 -07:00
Aaron Prindle 40b0533147 Merge pull request #1482 from aaron-prindle/remove-old-mounts
Removing old mounting methods
2017-06-23 11:23:59 -07:00
Aaron Prindle 62c56d7d9a Fixed flags to use 9p syntax for uid and gid 2017-06-23 11:07:49 -07:00
Travis Cline c5becb3607 Allow control of user and group ids for mount 2017-06-22 11:29:56 -07:00
Aaron Prindle 6639b2d91b Removed systemd dependency from minikube, updated none driver to reflect this 2017-06-20 09:55:14 -07:00
Matthew Fisher 135a920d80 fixup default --insecure-registry CIDR address
The default CIDR should be 10.0.0.0/24 rather than 10.0.0.1.
Accidental off-by-one error. :)
2017-06-19 11:39:18 -07:00
Aaron Prindle 745e4945c7 Merge pull request #1575 from tdemaret/master
Force create /usr/lib/systemd/system
2017-06-19 07:45:59 -07:00
Thibaut Démaret 577eb8d565 After gofmt 2017-06-19 08:37:40 +02:00
XrXr 5d39878baa Don't treat stopping stopped hosts as error
Running `minikube stop` while nothing is running results in a crash.
This patch makes `cluster.StopHost()` swallow the stop-while-stopped
error libmachine returns.
2017-06-18 22:47:31 -04:00
Matthew Fisher 5e1db75db5 add registry addon
This addon installs a docker registry into the cluster.
2017-06-16 10:36:10 -07:00
Thibaut Démaret 8921282a34 Add error check 2017-06-15 18:31:43 +02:00
Shane Ramey 084eeaff66 fix gofmt errors 2017-06-15 07:48:37 -07:00
Shane Ramey 2b88806330 use --dns-domain for k8s API server cert 2017-06-15 07:48:37 -07:00
Thibaut Demaret a1e55b0e15 Merge branch 'master' of https://github.com/kubernetes/minikube 2017-06-14 21:22:26 +02:00
Thibaut Demaret 1405711619 Move mkdir just for none driver use case 2017-06-14 20:36:25 +02:00
Aaron Prindle e524e8a9aa Merge pull request #1578 from abbytiz/update-context
Added update-context and kubeconfig to status
2017-06-14 10:45:15 -07:00
dlorenc 09f683bb1d More cleanup. 2017-06-14 09:45:09 -07:00
dlorenc 2486a8b612 Fix tests. 2017-06-14 09:45:09 -07:00
dlorenc 5b5442be11 Move more code into the local host implementation. 2017-06-14 09:45:09 -07:00
Abby Tisdale 577816311e Added update-context and kubeconfig to status. 2017-06-13 16:22:56 -07:00
dlorenc ae51e5fec8 Pass legacy systemd boot parameter in xhyve driver. 2017-06-13 13:04:49 -07:00