Commit Graph

1408 Commits (58f9b97b60a276172b290f5cbdc0234e2722c7b0)

Author SHA1 Message Date
Matt Rickard 58f9b97b60 Bump version 0.17.1 2017-03-02 17:26:04 -08:00
Matt Rickard a8fcc49f41 Merge pull request #1208 from r2d4/0.17
Bump minikube to 0.17
2017-03-02 14:28:28 -08:00
Matt Rickard ad1bc443a0 Merge pull request #1207 from r2d4/iso-v1.0.7
Bump minikube iso to v1.0.7
2017-03-02 14:28:15 -08:00
Matt Rickard bb2b14242c Merge pull request #1209 from r2d4/hostpath-provisioner-persist
Added /tmp/hostpath-provisioner to persisted folders
2017-03-02 13:53:22 -08:00
Matt Rickard 830f1283f6 Bump minikube iso to v1.0.7 2017-03-02 13:49:46 -08:00
Matt Rickard fec894d977 Added /tmp/hostpath-provisioner to persisted folders 2017-03-02 13:18:26 -08:00
Matt Rickard ae9c94b8e5 Bump minikube to 0.17 2017-03-02 13:14:39 -08:00
dlorenc c978ce24b8 Merge pull request #1188 from dlorenc/pvctest
Add an integration test for pvcs.
2017-03-02 12:48:32 -08:00
dlorenc 4293b01866 Merge pull request #1199 from dlorenc/provisioner
Add an external hostpath provisioner to localkube.
2017-03-02 12:25:25 -08:00
dlorenc cebea5ffbd Persist the new hostpath location. 2017-03-02 09:03:49 -08:00
dlorenc 8810fead64 Switch to our bundled provisioner by default. 2017-03-01 11:50:15 -08:00
dlorenc 7bfa1275ac Vendor changes for storage provisioner. 2017-03-01 11:05:27 -08:00
dlorenc e969ebe87b Add an external hostpath provisioner to localkube. 2017-03-01 11:05:14 -08:00
Matt Rickard 0c616a6b42 Merge pull request #1196 from dims/fix-test-break
Fix test break
2017-02-27 20:00:32 -08:00
Davanum Srinivas 8584cf8761 Fix test break 2017-02-27 21:47:30 -05:00
Aaron Prindle 56d4824456 Merge pull request #1149 from aaron-prindle/api-name-configurable
Added API Name as configuration option
2017-02-27 15:18:56 -08:00
dlorenc b17a097c01 Add logging of the storageclass list. 2017-02-27 13:56:57 -08:00
Dan Lorenc 8fd8564acd Add an integration test for pvcs. 2017-02-27 13:43:19 -08:00
Aaron Prindle 9b539db1ff Merge pull request #1143 from upmc-enterprises/registryCredsPrompt
Allow for addons to prompt for data input
2017-02-27 11:19:02 -08:00
Steve Sloka 50cb1f2a32 Fix boilerplate 2017-02-27 13:31:37 -05:00
Aaron Prindle 3db1a4d483 Merge pull request #1195 from endocode/dongsu/fix-9p-mount-kvm
pkg: fix host IP address for KVM driver for 9pfs mount
2017-02-27 10:00:58 -08:00
Steve Sloka 706d02b926 Fix go-client / Refactor k8s util code 2017-02-27 12:52:33 -05:00
Steve Sloka 60d9d1e142 Refactor registry addon 2017-02-27 11:09:09 -05:00
Steve Sloka c3d962b58c Allow for addons to prompt for data input 2017-02-27 11:09:09 -05:00
Dongsu Park ac513ebb1e pkg: fix host IP address for KVM driver for 9pfs mount
In case of KVM driver, "minikube mount" does not work, when mounting any
host directory via 9pfs. That's because in case of the KVM driver, a
different IP address is assigned to the host, 192.168.42.1, while other
drivers assign 10.0.2.2. That's why the following command hangs forever
inside the VM.

```
$ sudo mount -t 9p -o trans=tcp -o port=5640 10.0.2.2 /mount-9p
```

Fix it by changing the host IP address for the KVM driver.
2017-02-27 14:15:33 +01:00
Matt Rickard 6bd1b251d1 Merge pull request #1186 from r2d4/persistence
Reword persistence dir docs to be more clear
2017-02-26 10:06:08 -08:00
Matt Rickard f819214c3f Merge pull request #1190 from trishnaguha/groupname-fix-drivers
libvirt group for Fedora/CentOS/RHEL
2017-02-26 08:57:18 -08:00
trishnaguha f850eda140 libvirt group for Fedora/CentOS/RHEL 2017-02-26 18:00:31 +05:30
dlorenc 5790c3fe6a Merge pull request #1187 from dlorenc/prov
Add a default storage class/provisioner.
2017-02-25 16:03:00 -08:00
Dan Lorenc b7a5ebed1b Add a default storage class/provisioner. 2017-02-25 14:48:04 -08:00
Aaron Prindle 00d212229e Merge pull request #1185 from r2d4/ethtool
Add ethtool to minikube-iso
2017-02-25 12:25:20 -08:00
Aaron Prindle ff81c11b86 Merge pull request #1066 from aaron-prindle/minikube-9p
Added 9p server and a minikube mount command to minikube
2017-02-25 12:07:31 -08:00
Matt Rickard 95b98307c2 Reword persistence dir docs to be more clear 2017-02-25 10:59:48 -08:00
Aaron Prindle 60a5910f88 Added 9p server as well as minikube mount command 2017-02-25 10:08:45 -08:00
Matt Rickard c6be0892cc Merge pull request #1180 from r2d4/bootlocal
Add bootlocal script as custom startup script
2017-02-25 09:55:54 -08:00
Matt Rickard 4e5b2df2bf Add ethtool to minikube-iso 2017-02-25 09:54:52 -08:00
Matt Rickard 08b1992c94 Merge pull request #1183 from ankon/patch-2
Use grep -i to check the ISO version
2017-02-25 09:08:56 -08:00
Andreas Kohn b644c393c2 Use grep -i to check the ISO version
```sh
$ cat ~/.minikube/machines/minikube/config.json | grep ISO
$ cat ~/.minikube/machines/minikube/config.json | grep -i ISO
        "Boot2DockerURL": "file:///Users/andreas/.minikube/cache/iso/minikube-v1.0.6.iso",
```
2017-02-25 10:13:03 +01:00
Matt Rickard 2b7adb5535 Add bootlocal script as custom startup script 2017-02-24 15:57:51 -08:00
dlorenc 45262e853e Merge pull request #1177 from mshahat/master
Minikube installation requirements
2017-02-24 14:53:17 -08:00
Matt Rickard 5b58902ce6 Merge pull request #1178 from r2d4/mac-in-docker
Cross compile mac binary with CGO in docker
2017-02-24 14:01:25 -08:00
Matt Rickard d7850a20ea Merge pull request #1179 from r2d4/deploy-addons-makefile
Rebuild assets on any change in deploy/addons
2017-02-24 14:01:12 -08:00
Matt Rickard b26f0aa66b Merge pull request #1154 from r2d4/svc-tests
Refactor service package and add test coverage
2017-02-24 13:19:07 -08:00
Matt Rickard 941cd51ba8 Rebuild assets on any change in deploy/addons
This makefile dependency is currently only on the folder, not the files
within.  With this PR, the makefile will rebuild the assets when
changes are made to deploy/addons
2017-02-24 11:46:42 -08:00
Matt Rickard d3b4278028 Cross compile mac binary with CGO in docker 2017-02-24 11:03:30 -08:00
Matt Rickard 27e0dac476 Merge pull request #1175 from endocode/dongsu/fix-race-ssh-tests
Fix data races in unit tests
2017-02-24 10:26:05 -08:00
Mohamed Shahat cd10791da5 Minikube installation requirements
Adding internet connection to the list of installation requirements for
initial minikube start. Ref: #1148
2017-02-24 17:12:21 +00:00
Dongsu Park 4eb9e92dff pkg: fix data race around KubeConfigFile
TestSetupKubeConfig fails when running "go test --race", because of
concurrent accesses from multiple goroutines.

```
WARNING: DATA RACE
Write at 0x00c4201cc4b8 by goroutine 16:
k8s.io/minikube/pkg/minikube/kubeconfig.TestSetupKubeConfig.func1()
    k8s.io/minikube/pkg/minikube/kubeconfig/config_test.go:103 +0x23a
testing.tRunner()
    /usr/local/golang/src/testing/testing.go:657 +0x107
```

To fix that, convert KubeConfigFile to an atomic value that stores
string. Callers should run helper functions, SetKubeConfigFile() and
GetKubeConfigFile() instead of direct access to the value.
2017-02-24 17:58:59 +01:00
Dongsu Park 6cf5ba7a28 pkg: fix data race around CommandToOutput
TestGetLocalkubeStatus fails when running "go test --race", because of
concurrent accesses from multiple goroutines.

```
WARNING: DATA RACE
Read at 0x00c420435378 by goroutine 43:
k8s.io/minikube/pkg/minikube/tests.(*SSHServer).Start.func1.1()
    k8s.io/minikube/pkg/minikube/tests/ssh_mock.go:122 +0x389

Previous write at 0x00c420435378 by goroutine 40:
k8s.io/minikube/pkg/minikube/cluster.TestGetLocalkubeStatus()
    k8s.io/minikube/pkg/minikube/cluster/cluster_test.go:359 +0x540
testing.tRunner()
    /usr/local/golang/src/testing/testing.go:657 +0x107
```

To fix that, convert CommandToOutput to an atomic value that stores
the map. Callers should run helper functions, SetCommandToOutput() and
GetCommandToOutput() instead of direct access to the value.
2017-02-24 17:58:59 +01:00
Dongsu Park e22b268f7f pkg: fix data race around HasASessionRequested
TestCreateSSHShell fails when running "go test --race", because of
concurrent accesses from multiple goroutines.

```
WARNING: DATA RACE
Read at 0x00c42025b730 by goroutine 42:
k8s.io/minikube/pkg/minikube/cluster.TestCreateSSHShell()
    k8s.io/minikube/pkg/minikube/cluster/cluster_test.go:523 +0x543
testing.tRunner()
    /usr/local/golang/src/testing/testing.go:657 +0x107

Previous write at 0x00c42025b730 by goroutine 49:
k8s.io/minikube/pkg/minikube/tests.(*SSHServer).Start.func1.1()
    k8s.io/minikube/pkg/minikube/tests/ssh_mock.go:95 +0x743
```

To fix that, convert HadASessionRequested to an atomic variable.
Callers should run helper functions, SetSessionRequested() and
IsSessionRequested() instead of direct access to the variable.
2017-02-24 17:58:10 +01:00