Commit Graph

77 Commits (93a474e5410ee5a1f6b288d088696de872ffbf33)

Author SHA1 Message Date
dlorenc 6d6593768e Update to 1.6.4 2017-05-26 12:56:59 -07:00
Matt Rickard b02235c134 Fix patch for TPR panics in localkube
The patch correctly identified the metadata problem but did not skip
over when collecting the group metadata for the restmapper.
2017-05-15 13:34:43 -07:00
Matt Rickard 2bdca814a2 Upgrade to k8s v1.6.3 2017-05-11 13:28:10 -07:00
Matt Rickard 03c3f7f138 Add warning when no groupMeta exists for verison
Reference: https://github.com/kubernetes/kubernetes/pull/44771

Fixes https://github.com/kubernetes/minikube/issues/1252

TPRs are incorrectly coupled with the RestMapper right now.  The real
solution is for TPRs to not register themselves with the RestMapper.
This is a short term patch for minikube until the work is done
upstream.  On start/stop, the namespace controller and the garbage
collector controller both call this code and panic since TPRs have
registered themselves with enabled versions but have no group metadata.
2017-05-01 10:11:03 -07:00
Matt Rickard d5e53336ba godeps restore, godeps save 2017-04-14 13:20:58 -07:00
Mike Grass 74014aed51 Update docker/machine dependencies to v0.10.0 2017-04-07 12:39:21 -07:00
Matt Rickard d13ab3030d Upgrade to k8s v1.6 2017-03-31 13:24:05 -07:00
Matt Rickard ff8503d9f9 Vendor changes for v1.6.0-rc.1 2017-03-31 13:24:04 -07:00
Matt Rickard a02c9d9040 Vendor changes for v1.6.0-beta.4 2017-03-31 13:24:04 -07:00
Matt Rickard 73a0dfb487 Vendor changes for v1.6.0-beta.3 2017-03-31 13:24:03 -07:00
Matt Rickard afd6b32915 Vendor changes for v1.6.0-beta.2, external provisioner 2017-03-31 13:24:03 -07:00
Matt Rickard 30f492d723 Vendor changes for v1.6.0-beta.2 2017-03-31 13:24:02 -07:00
Matt Rickard 3a769cc4b8 Vendor changes for v1.6.0-alpha.1 2017-03-31 13:23:21 -07:00
Matt Rickard 3b6d4672ac Remove vendored in kvm driver
The vendored in KVM driver make minikube dynamically linked to libvirt
libraries, even for virtualbox users.
2017-03-02 17:09:33 -08:00
dlorenc 7bfa1275ac Vendor changes for storage provisioner. 2017-03-01 11:05:27 -08:00
Dongsu Park f9bfe65fc8 vendor: Better deal with failures under golang 1.8beta1
If minikube is built with go 1.8 or newer, localkube panics immediately
with the following message:

```
Feb 21 15:04:05 minikube localkube[3566]: I0221 15:04:05.712095    3566 services.go:51] Setting service IP to "10.0.0.1" (read-write).
Feb 21 15:04:05 minikube localkube[3566]: panic: parse 127.0.0.1:8080: first path segment in URL cannot contain colon
Feb 21 15:04:05 minikube localkube[3566]: goroutine 151 [running]:
Feb 21 15:04:05 minikube localkube[3566]: k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion.NewForConfigOrDie(0xc420c75380, 0xc420d04d40)
```

This issue was already reported to Kubernetes,
https://github.com/kubernetes/kubernetes/issues/38380. That was already
fixed in Kubernetes, but it's not included in Minikube yet.
So let's cherry-pick the commit to minikube, to avoid the panic.

Original commit message from
https://github.com/kubernetes/kubernetes/pull/38519

```
If there is any error in the initial parsing then we should just try
adding the scheme.

url.Parse(base) has changed in 1.8. Please see the following change
c5ccbdd22b

Fixes https://github.com/kubernetes/kubernetes/issues/38380
```

/cc @dims
2017-02-22 15:10:11 +01:00
Aaron Prindle 49ce54a6c3 Added warning message to boot2docker provisioner 2017-02-16 12:08:25 -08:00
Matt Rickard 94fe5c8423 Upgrade k8s to v1.5.3 2017-02-15 10:01:29 -08:00
Matt Rickard b9a115b3ae Add LocalClient to bypass RPC for drivers
This adds a new libmachine API implementation that skips RPC and instead
uses a vendored in driver directly.  This removes the need to download a
separate driver binary.  Currently, only the "core" drivers, and kvm are
supported as vendored in.  This means that xhyve is the only driver that
requires a separate binary for now.
2017-02-06 21:17:22 -08:00
Matt Rickard b638b101a2 Embed mock service interface from client-go
We use the default implementation by embedding fake.FakeServices which
implements ServiceInterface.
2017-02-02 10:56:51 -08:00
dlorenc 5b1e05b7e6 Update to k8s 1.5.2 2017-01-18 11:51:21 -08:00
dlorenc c2bc848daa Add an environment variable to enable trace profiling in minikube. 2017-01-09 13:55:14 -08:00
Matt Rickard 720733470a Update to v1.5.1 2016-12-14 09:53:56 -08:00
Matt Rickard 9c3da934a7 Upgrade to k8s v1.5 2016-12-13 11:21:48 -08:00
Matt Rickard 093ab51fbf Add golang/x/sys/windows 2016-12-13 11:21:48 -08:00
minikube-bot 5cf6d08f3d Upgrade to k8s version v1.5.0-alpha.0
Upgrade to k8s version v1.5.0-alpha.1

Upgrade to k8s version v1.5.0-alpha.2

Update to k8s v1.5.0-beta.1
2016-12-13 11:21:43 -08:00
Matt Rickard b0c7704e93 Upgrade k8s to v1.4.6 2016-12-02 10:13:51 -08:00
dlorenc 7758108e7a Update docker-machine. 2016-11-21 10:21:57 -08:00
vishah 980388f58e Fixes issue #811 by updating upstream spf13/pflag and using StringArrayVar in place of StringSliceVar for docker-env flag 2016-11-09 10:20:51 -05:00
Matt Rickard 57cbbe99b9 Merge pull request #799 from minikube-bot/jenkins-v1.4.5
Upgrade to k8s version v1.4.5
2016-11-03 15:27:33 -07:00
Matt Rickard 5e31d258ce Increase timeout for dialing docker daemon
In the boot2docker provisioner increase the timeout to fix a flake in
the linux virtualbox integration tests.  Note, this is a patch of a
vendored package.
2016-11-03 11:59:24 -07:00
minikube-bot b216ec81bf Upgrade to k8s version v1.4.5 2016-11-03 17:06:53 +00:00
dlorenc 55fd539300 Merge pull request #728 from jimmidyson/service-list
Add service list subcommand
2016-10-26 13:10:43 -07:00
Matt Rickard 80905d7fbd Merge pull request #738 from r2d4/dns
Remove vendored kube2sky, Add kube-dns as cluster addon
2016-10-26 10:16:12 -07:00
Jimmi Dyson badf04b4d2
Add service list subcommand 2016-10-26 14:43:08 +01:00
Jimmi Dyson 2d45e57cf5
Switch to go-download for downloading 2016-10-26 14:04:37 +01:00
Matt Rickard 91b1155a3b Remove unused vendored packages
These were referenced by kube2sky and our dns implementation
2016-10-25 14:00:51 -07:00
Matt Rickard 2202d5ccfc Upgrade default k8s to v1.4.3
No manual changes needed
2016-10-20 11:42:45 -07:00
Jimmi Dyson 2085b894be
Upgrade to Kubernetes 1.4.1 2016-10-12 14:59:40 +01:00
Matt Rickard 6f8c520d2f Godeps updates (#656)
* Inconsistencies between godeps and vendor

* Update spf13/cobra to 9c28e4b

Previous HEAD position was f62e98d... Merge pull request #300 from
cshung/master
HEAD is now at 9c28e4b... Merge pull request #339 from bogem/fixes

* Update spf13/pflag to c7e63cf

Previous HEAD position was 1560c10... Bump Go versions in Travis config
HEAD is now at c7e63cf... Merge pull request #93 from bogem/flagStrings

* Update spf13/viper to ed0a967

Previous HEAD position was 382f87b... Remove expensive TRACE logging
HEAD is now at ed0a967... Fix retrieval of pflag stringSlice (#240)

* Update docker/machine to 91e368
2016-10-04 11:57:13 -07:00
dlorenc a3efcc06d9 Update to k8s v1.4.0 2016-09-29 16:11:55 -07:00
Matt Rickard 7b9689745f Upgrade to k8s v1.4.0-alpha.2
Update to kubernetes 1.4-alpha3.

This required a "go get k8s.io/client-go" before godep save would work.
2016-09-29 15:57:24 -07:00
dlorenc 7546a03614 Update pflag and cobra. 2016-09-29 10:21:59 -07:00
dlorenc f6497556fb Add method to provision mock. 2016-09-27 16:53:00 -07:00
dlorenc 8bb4237745 Update docker/machine to HEAD.
@aaron-prindle's commit made it upstream, and this picks up a few other fixes.
2016-09-27 13:03:22 -07:00
Matt Rickard 3876d756cc Merge pull request #626 from kubernetes/upgrade-viper
Upgrade viper to ed0a9674c6ef3646e218d8bb70708d250e94354b
2016-09-24 09:28:41 -07:00
Matt Rickard 44eea09344 Upgrade viper to ed0a9674c6ef3646e218d8bb70708d250e94354b
Mainly to add support for bindPflags to string slices
2016-09-23 15:11:30 -07:00
Aaron Prindle 378e88b4a9 Changed docker-machine and sshutil to support hostnames with colons in them, for example ipv6 addresses 2016-09-23 13:32:25 -07:00
Aaron Prindle dab3190fef Changed minikube code to use pkg/errors, this is to improve error
messages to allow for stacktraces for future error-reporting. Added
error messages to .Wrap errors.
2016-09-08 14:59:35 -07:00
Jimmi Dyson abbb0f1469
Add hyperv support 2016-08-24 16:16:07 +01:00