Commit Graph

95 Commits (6ee6a82d0a211d8503e0c5b383fb9a1ae4fb6b13)

Author SHA1 Message Date
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
Matt Rickard 7a9f3bef0d Upgrade to Kubernetes v1.7.5 2017-09-05 11:38:54 -07:00
Matt Rickard 201e5f9eff Vendor changes 2017-08-30 17:46:35 -07:00
Matt Rickard 48b165808c Bring KVM driver in-tree
Add boilerplate

Review feedback
2017-08-28 11:52:35 -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 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
Hugues Alary fc3400a4e7 Upgrade one vendor dependencie containing a bug (github.com/spf13/viper)
The previous vendored `github.com/spf13/viper` had this bug https://github.com/spf13/viper/pull/296 .

This commit upgrades to the latest `github.com/spf13/viper` and closes #1797.
2017-08-21 13:01:25 -07:00
Matt Rickard 905fd1b0c0 Update to kubernetes 1.7.4 2017-08-20 15:41:46 -07:00
Matt Rickard 87a29ada7a Merge pull request #1784 from r2d4/1.7.3
1.7.3
2017-08-11 09:04:13 -07:00
Hugues Alary d5c9a16c1e Upgrade one vendor dependencie containing a bug (github.com/spf13/viper)
The previous vendored `github.com/spf13/viper` had this bug https://github.com/spf13/viper/pull/296 .

This commit upgrades to the latest `github.com/spf13/viper` and closes #1797.
2017-08-07 16:33:32 -07:00
Matt Rickard b5859caf9e Update localkube to k8s 1.7.3 2017-08-04 13:07:59 -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
dlorenc bb7e5fd6e6 Update to Kubernetes 1.7.2.
No manual changes.
2017-07-26 13:39:48 -07:00
Matt Rickard 1026ed2061 Add etcd3 vendor files 2017-07-20 11:38:48 -07:00
Matt Rickard 1aaeb67a26 Update to Kubernetes 1.7 2017-07-13 09:19:47 -07:00
Matt Rickard ca64c1138d Vendor changes for 1.7.0-rc.1 2017-07-13 09:19:45 -07:00
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