Commit Graph

707 Commits (7b86c47a0746198e707e3775ecf855d26872ea48)

Author SHA1 Message Date
Matt Rickard 4077763003 Make none driver work with kubeadm 2018-01-02 12:01:37 -08:00
Tim Hockin 51ee9a1423 Convert registry to k8s.gcr.io 2017-12-22 09:55:16 -08:00
dlorenc 5661ba0b5e More manual changes. 2017-12-21 14:15:48 -08:00
dlorenc 030a4c747f Manual changes for 1.9 update. 2017-12-21 14:15:48 -08:00
kairen 50dcda4ba9 Fix the image cache delete 2017-12-14 08:54:17 -08:00
dlorenc 8f91c37bba Properly support the "minikube-net" network. 2017-12-13 21:18:00 -08:00
Boberg c8a5d1f3fd Add mount support for kvm2 driver 2017-12-13 20:25:15 -08:00
kairen 289e8f688b Revert system image cache 2017-12-12 21:43:39 -08:00
kairen 797925f183 Update ingress controller, and fix integration test 2017-12-12 21:43:39 -08:00
Zak B. Elep 56608e418d kvm2: Set group executable bit on machine-specific directory and up
Ensure that the directories leading to the KVM image have enough
permission for libvirt/QEMU to traverse, especially in the case where
libvirt/QEMU group is set to to `kvm`/`users`.
2017-12-10 17:49:54 -08:00
dlorenc e150cec3e8 Fix hyperkit mounting. 2017-12-08 13:46:56 -06:00
kairen 777b44695f Improve cache list command 2017-12-08 13:37:55 -06:00
Matt Rickard d9e5283218 Verify checksum for localkube 2017-11-30 11:04:48 -08:00
dlorenc 9491ce6dbe Add deprecation notices for kvm and xhyve. 2017-11-29 13:55:29 -08:00
Matt Rickard fc916f7af1
Merge pull request #2110 from r2d4/files-rootfs
~/.minikube/files as rootfs "layer"
2017-11-29 13:54:16 -08:00
Matt Rickard 43e4b0c655
Merge pull request #2203 from priyawadhwa/cache-images
Add cache command to cache non-minikube images
2017-11-29 13:51:53 -08:00
Priya Wadhwa 6344d0bef9
set config map 2017-11-28 15:59:08 -08:00
ijl bbb53c99c2 VirtualBox driver uses virtio network driver
Kernel has CONFIG_VIRTIO_NET=y.

Read more at https://www.virtualbox.org/manual/ch06.html
2017-11-27 08:32:44 -08:00
dlorenc fdf906cf3b Add an error message when running hyperkit without permissions. 2017-11-26 17:31:01 -08:00
Matt Rickard 236d742460
Merge pull request #2205 from ulyssessouza/issue_2129
#2129 Set proper profile when getting client info
2017-11-23 09:37:53 -08:00
Priya Wadhwa 6652e7a903
Delete paths to cached images 2017-11-20 16:31:34 -08:00
dlorenc bc20281f1e Update hyperkit go driver. 2017-11-20 11:52:20 -05:00
ulyssessouza 2b02aa30a7 Issue #2129 Set proper profile (instead of default 'minikube') when getting client info 2017-11-20 09:15:31 +01:00
Patrik Erdes 9b3322a759 Make it known that get-k8s-versions is only relevant for localkube
Added a reference to localkube in the help text and in the output from
the command.
2017-11-17 08:55:14 +01:00
Priya Wadhwa 9f8ca7481c
Merge branch 'cache-images' of github.com:priyawadhwa/minikube into cache-images 2017-11-16 17:05:25 -08:00
Priya Wadhwa 3477e4bd8f Add cache flag to minikube 2017-11-16 14:07:55 -08:00
kairen 7066946a59 [addon] Update heapster to v1.5.0 2017-11-10 17:02:49 +08:00
dlorenc 1ee84442f8 Add 10.0.0.10 back to the cert. 2017-11-08 13:04:59 -08:00
Matt Rickard e73844c303
Merge pull request #2147 from kairen/add-efk
[addons] Add addon support for EFK logging
2017-11-02 10:33:05 -07:00
Matt Rickard f368ac4999
Merge pull request #2137 from priyawadhwa/storage-provisioner-as-pod
Run storage provisioner as pod
2017-11-01 14:00:57 -07:00
Priya Wadhwa c342ed4d57 Added storage prov deps to Makefile and rewrote main file 2017-11-01 10:54:17 -07:00
kairen c549bc61bf Add addon support for EFK logging 2017-11-02 01:00:38 +08:00
Matt Rickard 9fc8eed51d
Merge pull request #2076 from r2d4/kvm-mac
Use mac instead of hostname to find IP
2017-11-01 08:40:55 -07:00
Matt Rickard afc991ad3f fix tests 2017-10-31 10:11:50 -07:00
Matt Rickard 30667cb406 Calculate ServiceClusterIP and DNS IP from CIDR 2017-10-31 10:06:51 -07:00
Matt Rickard e2dd95ed39 update kubeadm 2017-10-31 10:06:51 -07:00
Matt Rickard 3fceab3b51 Download localkube in e2e test 2017-10-31 09:40:26 -07:00
Priya Wadhwa 7098431c6a Small changes 2017-10-30 13:52:45 -07:00
Priya Wadhwa 71b38d1e4e Tests passing with storage-provisioner in addons 2017-10-30 13:45:31 -07:00
Priya Wadhwa a8fedc86e1 Create main file for storage provisioner 2017-10-30 13:07:48 -07:00
Matt Rickard c20ebde431 Bypass version check for localkube file URI 2017-10-30 09:22:33 -07:00
Mahdi Mohammadi ab6e73ab8d Use minikube context instead of relying on current kubcetl context 2017-10-27 13:29:13 +00:00
Matt Rickard 633fc4ac93 Handle leading 0 2017-10-23 15:37:41 -07:00
Matt Rickard 9728679371 Transfer ~/.minikube/files last
To allow users to overwrite some of the files that we download
(kubelet, kubeadm, etc.)
2017-10-23 15:21:52 -07:00
Matt Rickard 998b01b3ba More verbose output for ssh scp command 2017-10-23 15:05:07 -07:00
Matt Rickard fc84bfde0b Apply MINIKUBE_HOME/files as "rootfs" layer
Instead of scping these files to just /files, we mimic the directory
structure relative to the ~/.minikube/files directory and place the
binaries there.  This can be useful for development.
2017-10-23 15:03:28 -07:00
Matt Rickard 2c2c45d7a6 DOM_SHUTDOWN should return state.Running
Technically, DOMAIN_SHUTDOWN just means that the VM is in the process
of shutting down.  We should still return state.Running so that we
don't return from `minikube stop` before the domain is actually
stopped.  This should fix a few flakes.
2017-10-23 11:23:58 -07:00
Yisui Hu ea31492976 use consistent path for localkube.service
/usr/lib/systemd/system is not consistent across different distribution
/etc/systemd/system should be used.

See issue: #2098
2017-10-20 14:09:03 -07:00
Matt Rickard d9089c3d77 Merge pull request #2089 from r2d4/no-localkube
Remove localkube from bindata
2017-10-20 12:29:48 -04:00
Matt Rickard a19f90fd91 import erorr 2017-10-19 16:23:47 -04:00
Matt Rickard 02f0d41c1d Split out hyperkit into CGO needed stub
This allows us to use the hyperkit Driver struct in minikube, without
needing CGO_ENABLED=1.  For the hyperkit driver binary, the
CGO_ENABLED=1 function will work.
2017-10-19 16:07:38 -04:00
Matt Rickard 7e90add4a9 Merge pull request #2087 from r2d4/hyperkit-home
Hyperkit install to GOBIN
2017-10-19 13:42:45 -04:00
Matt Rickard a7d568441c Remove localkube from bindata
This makes the minikube build simpler and the the binary smaller.
Localkube will always be remotely fetched and locally cached on the
host.
2017-10-19 12:56:29 -04:00
Matt Rickard b7012aefcc Use mac instead of hostname to find IP 2017-10-19 09:16:24 -07:00
Matt Rickard f582814c9d Add hyperkit to supported driver list 2017-10-19 10:39:27 -04:00
Matt Rickard c7f03444b5 Merge branch 'master' into docker-17.05 2017-10-19 07:23:11 -07:00
Matt Rickard 33584026c1 Merge pull request #2078 from r2d4/verbose-logging
Add verbose logging
2017-10-17 16:45:23 -07:00
Matt Rickard 8894ed78b9 Add verbose logging 2017-10-17 15:16:02 -07:00
Matt Rickard 5ccaae8998 Merge pull request #2068 from vbatts/crio-insecure-registry
buildroot: output flags for crio
2017-10-17 15:12:28 -07:00
Matt Rickard 0df72cadd5 Merge pull request #2052 from r2d4/cri-o
Add convenience container-runtime flag for kubeadm
2017-10-17 14:36:24 -07:00
Vincent Batts 50570f6133
buildroot: output flags for crio
This adds an environment variable file for crio.service to source.
And a step for the buildroot provisioner to write flags, initially just
insecure-registry.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-10-17 13:39:06 -04:00
dlorenc 9dd3d9bc64 Fix non-systemd none driver. 2017-10-17 10:31:06 -07:00
Matt Rickard 37456d22e0 Review feedback 2017-10-17 10:08:07 -07:00
dlorenc c0d838fc71 Force the none driver to use netgo. 2017-10-16 19:41:55 -07:00
Matt Rickard 6bb07b32c4 Merge pull request #2037 from r2d4/kubeadm-feature-gates
[kubeadm] Pass features gates to components
2017-10-16 13:22:13 -07:00
Matt Rickard 6a53c0c06c Merge pull request #2060 from r2d4/k8s18
K8s 1.8
2017-10-16 13:11:39 -07:00
Matt Rickard 901c844a00 localkube changes 2017-10-13 10:21:16 -07:00
Matt Rickard e5002afa8c add vendor 2017-10-13 10:21:09 -07:00
Matt Rickard 1a38ef74b2 Use path instead of filepath for cross platform 2017-10-12 10:39:41 -07:00
Matt Rickard 800be7edc7 Add convenience container-runtime flag for kubeadm
To enable the cri-o runtime you may now just use

`minikube start --container-runtime=cri-o --bootstrapper=kubeadm`
or
`minikube start --container-runtiume=crio --bootstrapper=kubeadm`
or
`minikube start --extra-config=kubelet.container-runtime=remote
--extra-config=kubelet.container-runtime-endpoint=/var/run/crio.sock
--extra-config=image-service-endpoint=/var/run/crio.sock`
2017-10-11 13:57:18 -07:00
Matt Rickard 967913b9a6 Extra arguments need to be quoted 2017-10-11 10:18:10 -07:00
Matt Rickard dd50d76e3d [kubeadm] Pass features gates to components 2017-10-10 11:13:09 -07:00
Matt Rickard 23d7dde268 Bump cached DNS addon version 2017-10-10 11:06:28 -07:00
Matt Rickard b4de04fac8 Merge pull request #1995 from rajansandeep/coredns
Adding CoreDNS as an addon
2017-10-09 14:59:34 -07:00
Aaron Prindle 8dbe63d697 Merge pull request #1985 from r2d4/kubelet-config-kubeadm
Implement extra-config for kubeadm components
2017-10-04 16:16:50 -07:00
Aaron Prindle c6d2e491a3 Merge pull request #1774 from aaron-prindle/none-docker-rm-kill
Added command to remove and kill all kubernetes containers from docke…
2017-10-04 11:30:57 -07:00
Matt Rickard a139ccd0ab Implement extra-config for kubeadm kubelet 2017-10-04 11:26:15 -07:00
Matt Rickard e1fd9de778 Merge pull request #1984 from r2d4/cleanup-drivers
Clean up unused files, add tar rules
2017-10-04 10:41:19 -07:00
Matt Rickard 8e319bd08e Merge pull request #2000 from hirsim/enable-cache-image-for-windows
Enable cache image for Windows
2017-10-03 08:27:22 -07:00
adolphlwq b71446b2cd correct url of reference code
Signed-off-by: adolphlwq <kenan3015@gmail.com>
2017-10-03 01:57:50 -07:00
Aaron Prindle 10e6e6ade1 added cleanup for docker containers in none driver 2017-10-02 11:48:35 -07:00
Hiroshi Nomura 7f8f3bb5d4 Add unit tests 2017-09-30 20:43:51 +09:00
Aaron Prindle ec17df3e59 Added sshd, kubeconfig and insecure-serving flags to localkube for dind image 2017-09-28 16:05:51 -07:00
Matt Rickard a90b6a446a Merge pull request #1998 from vbatts/crio-bin
minikube-iso: add cri-o runtime
2017-09-27 10:05:34 -07:00
Vincent Batts 2788714cc5
minikube-iso: add cri-o runtime
https://github.com/kubernetes-incubator/cri-o

Updated the runc version to its latest master commit.
Got crio into the automounter to get off the tmpfs

This feature bubbles up to the minikube command by reusing the
`--container-runtime=` flag, by enabling the value of "`crio`"
(`minikube start --container-runtime=crio`), while the flags/config
passed to localkube are more like k8s (`--container-runtime=remote
--remote-runtime-endpoint=/var/run/crio.sock`)

This is mostly ready for review. It is still lacking having
--insecure-registry plumbed through, but for now the policy.json is
open.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-09-27 09:12:15 -04:00
yuvipanda d7bb7c343b provisioner: Use chmod instead of umask
umask affects the entire process, while this is clearer
2017-09-27 01:40:19 -07:00
yuvipanda f64234b1b8 Set umask to 0 before creating hostpath volumes 2017-09-27 01:40:19 -07:00
Hiroshi Nomura 6ee6a82d0a Enable cache image for Windows 2017-09-23 19:08:35 +09:00
Sandeep Rajan 06b3e74fb8 rectified incorrect path 2017-09-21 10:47:38 -04:00
Sandeep Rajan eba63d86cd adding coredns as an addon 2017-09-21 10:28:45 -04:00
Matt Rickard 547d22f638 Clean up unused files, add tar rules 2017-09-19 15:45:18 -07:00
Hiroshi Nomura 442f746f6a Fixed make a image cache directory for Windows 2017-09-20 00:43:33 +09:00
Hiroshi Nomura 068a076b98 Fixed join of cert file path in kubeconfig 2017-09-19 22:24:09 +09:00
Matt Rickard 17ecbcd76e Merge pull request #1969 from r2d4/kubeadm-use-right-kubelet
Don't check kubernetes-version for kubeadm
2017-09-15 11:46:30 -07:00
Matt Rickard ac7d49c124 Don't check kubernetes-version for kubeadm 2017-09-15 10:06:43 -07:00
Aaron Prindle e654879413 Merge pull request #1903 from r2d4/kubeadm-v2
Kubeadm bootstrapper
2017-09-14 16:04:43 -07:00
Matt Rickard 2b7fd32bdd Merge pull request #1959 from aaron-prindle/path-fix-windows
use path.join instead of filepath.join for ssh copy
2017-09-14 14:29:41 -07:00
Matt Rickard b291b0f85c Add restart for kube-proxy 2017-09-14 13:51:41 -07:00
Matt Rickard 72f7628d35 Add caching for kubeadm 2017-09-14 13:51:41 -07:00
Matt Rickard 49d471f4ba Add experimental kubeadm bootstrapper 2017-09-14 13:51:37 -07:00
Matt Rickard 1e4d8de881 Only warn when can't get all localkube versions 2017-09-14 11:53:38 -07:00
Aaron Prindle e575585c2c fixed path errors on windows, replaced filepath w/ path 2017-09-14 11:21:27 -07:00
Matt Rickard ebbc34d2ba Move drivers to pkg/drivers, share utils
Share most of the disk image setup between hyperkit and kvm drivers.
Move and remove a lot of shared configuration between all the in-tree
drivers: kvm, hyperkit, none.
2017-09-12 14:29:22 -07:00
Matt Rickard 3180e2e897 Merge pull request #1938 from r2d4/integration-test-cleanup-
Integration test cleanup
2017-09-12 14:28:28 -07:00
Matt Rickard cc64fb0544 Merge pull request #1940 from r2d4/vet
golint, go vet, etc. changes
2017-09-11 15:30:52 -07:00
Matt Rickard 53341aa30d golint, go vet, etc. changes 2017-09-11 14:17:58 -07:00
Matt Rickard ad8ea13de0 Merge pull request #1933 from r2d4/windows-fix
Use os.Chmod instead of File.Chmod
2017-09-11 13:40:18 -07:00
Matt Rickard 9747484e9e Move k8s utils to pkg/util 2017-09-08 20:14:28 -07:00
Kent Rancourt c571912b2d generate distinct cert for use by client 2017-09-08 17:54:58 -04:00
Matt Rickard f8c1651ed9 Use os.Chmod instead of File.Chmod
os.Chmod is cross platform, while File.Chmod seems not to be.
2017-09-08 10:39:04 -07:00
Matt Rickard f022a68e37 Merge pull request #1918 from krancour/request-header-certs
manage proxy-client / aggregator certs
2017-09-08 10:34:36 -07:00
Matt Rickard 0e6e930a7d Merge pull request #1881 from r2d4/cache-images-4-minikube
Cache images in minikube
2017-09-06 15:43:04 -07:00
Kent Rancourt ce2ac65d7f manage proxy-client / aggregator certs 2017-09-06 18:11:59 -04:00
Aaron Prindle 020acf57c6 added .minikube/files dir which gets ssh'd into VM on start 2017-09-06 14:33:59 -07:00
Matt Rickard 3fb711c8ea Add feature flag for cache-images 2017-09-06 13:36:25 -07:00
Matt Rickard ac65b58363 Review feedback 2017-09-06 10:22:09 -07:00
Aaron Prindle 8c6e412548 Added retriable error the service.go 2017-09-05 19:19:28 -07:00
Matt Rickard 55b41415ed Cache images for localkube
This PR introduces caching of localkube images.  It makes a best effort
to cache the essential images localkube needs as minikube starts up.
Currently, the list of cached images is hardcoded, but future work might
entail

1. Cached images as a property of the cluster bootstrapper - to allow
localkube and kubeadm to cache their respective images.
2. Addons contain image information.  Then, we can selectively cache and
preload only the addon images that are enabled.
2017-08-30 22:36:16 -07:00
Matt Rickard b0db008b87 Merge pull request #1886 from r2d4/localkube-bootstrapper
Add localkube as a bootstrapper
2017-08-30 10:51:24 -07:00
Matt Rickard 48fd6ecb65 Add localkube as a bootstrapper
Introduce the --bootstraper or -b flag that toggles the cluster
bootstrapper.  The default bootstrapper (and only bootstrapper at this
time) is localkube.

The bootstrapper interface contains all the functions needed to
bootstrap a kubernetes cluster.  It ingests a KubernetesConfig, which
contains all the configuration for the cluster, as well as a
CommandRunner, which is the interface upon which it will run commands
and transfer files to possibly remotely set up the cluster.

This moves the localkube functions out of cluster.go into their own
package at k8s.io/minikube/pkg/minikube/bootstrapper/localkube.
2017-08-28 13:23:41 -07:00
Matt Rickard 531e81103f Rename kvm driver to kvm2 2017-08-28 11:52:39 -07:00
Matt Rickard 48b165808c Bring KVM driver in-tree
Add boilerplate

Review feedback
2017-08-28 11:52:35 -07:00
Matt Rickard 1052dda37a Move CalculateDiskSizeInMB to utils to use in kvm 2017-08-28 11:27:34 -07:00
Matt Rickard 3a0d03f93b Merge pull request #1844 from r2d4/command-runner
Add CommandRunner interface
2017-08-24 15:07:51 -07:00
dlorenc a05a4fe35a Code review feedback. 2017-08-24 11:54:59 -07:00
dlorenc 1ac4166b10 Add darwin build tag. 2017-08-24 11:54:59 -07:00
dlorenc b4202d6d02 Unit tests. 2017-08-24 11:54:59 -07:00
dlorenc e3d239929b Jenkins/Makefile targets. 2017-08-24 11:54:59 -07:00
dlorenc 28f9d5dc1a Initial hyperkit driver implementation. 2017-08-24 11:54:59 -07:00
Matt Rickard cac45c3ed8 Use syncmap instead of sync.Atomic 2017-08-23 15:08:32 -07:00
Matt Rickard fd37e6daec Move setupCerts to use CommandRunners 2017-08-23 14:33:34 -07:00
Matt Rickard 8d4e1d48be Add comments for exported CommandRunner functions 2017-08-23 14:33:34 -07:00
Matt Rickard 7f558f1a11 Move tests over to use FakeCommandRunner 2017-08-23 14:33:34 -07:00
Matt Rickard 5a9ecbe672 Add CommandRunner interface
Two implementations, SSHRunner and ExecRunner allow commands to be run
either through SSH or os.Exec respectively.  This allows the cluster
bootstrappers to be unaware of how they are actually executing the
commands they need.  Copy and Remove functions provide a nice
convenience function for running commands that copy and remove files
respectively.
2017-08-23 14:33:34 -07:00
Aaron Prindle 99d8237f8b Fix status issue with none driver where CombinedOutput was causing errors 2017-08-22 11:34:54 -07:00
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
Bryan Larsen 4022957d78 docker daemon must be started as 'dockerd' in newer versions of docker 2017-08-01 11:33:19 -04: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
Thibaut Démaret ec12b62d8f Fix syntax to use package os 2017-06-12 17:03:12 +02:00
Thibaut Démaret 9bccf55fd7 import os package 2017-06-12 16:54:19 +02:00
Thibaut Démaret 8707a2c2f9 Force create /usr/lib/systemd/system 2017-06-12 16:40:40 +02:00
Gerard Braad 03d3e1f031 Fix interactive shell when using native-client 2017-06-09 17:38:42 +08:00
Aaron Prindle 5a59bb596f moved none driver into subdirectory 2017-05-30 10:06:59 -07:00
Aaron Prindle a7c2ff3e84 Merge pull request #1173 from aaron-prindle/minikube-no-vm
None driver
2017-05-26 15:22:01 -07:00
Aaron Prindle f4a8ece0ae Additional none driver changes 2017-05-26 13:33:26 -07:00
Nick Kubala 344f6d94dd fix broken service url unit test (#1529) 2017-05-26 10:20:06 -07:00
Aaron Prindle 88613090a9 Added none driver 2017-05-19 14:51:19 -07:00
Aaron Prindle 847b52d50f Fixed mount daemon to be off by default and to use different directories than the current mounts until they are turned off. 2017-05-19 14:00:18 -07:00
Aaron Prindle c9767886f6 Added mount daemon process that is starts/stops w/ minikube start/stop 2017-05-17 11:50:24 -07:00
Matt Rickard 4a81362d52 Merge pull request #1490 from r2d4/k8s-version-check
Validate k8s version before starting VM
2017-05-16 15:58:53 -07:00
Matt Rickard 7f294b2a54 Review feedback 2017-05-16 15:31:15 -07:00
Aaron Prindle d66bcb8af8 added way to find interface for vbox and ip flag to mount 2017-05-16 13:27:22 -07:00