Commit Graph

243 Commits (300c338198f0e7a26fde0e2e814af53a160e580b)

Author SHA1 Message Date
Budh Ram Gurung 22e0f23845 Consistent short description for commands 2017-05-13 08:29:48 +05:30
Aaron Prindle e91641c70c Changed --name to --profile and added minikube profile command 2017-05-08 10:09:11 -07:00
dlorenc 61ec292451 Fix minikube flag parsing. (#1418)
We can't use flags in init like this. They're not parsed yet.
2017-05-01 10:05:34 -07:00
Dale Hamel 94ef3d88b9 Add support for using raw disks with xhyve (#1360)
* Add support for using raw disks with xhyve, default it to true

* Fix formatting issue

* Prefix disk-driver with xhyve to make it clear it is only for xhyve

* Add missing config
2017-04-25 10:51:43 -07:00
Aaron Prindle b1a69c653f Merge pull request #1388 from aaron-prindle/mount-interface
Fixed mount command to bind on specific VM ip address instead of all …
2017-04-24 15:34:22 -07:00
dlorenc c23dfba5d2 Update the addon manager. (#1301)
This gets us closer to being able to disable the storage provisioner.
2017-04-24 10:36:02 -07:00
Aaron Prindle b4936d023f Fixed mount command to bind on specific VM ip address instead of all interfaces 2017-04-24 09:59:12 -07:00
dlorenc ca4f2914d1 Add order to localkube startup. (#1371)
* Add order to localkube startup.

This adds a "ready" concept to localkube servers.

* Add unit tests.
2017-04-24 09:22:05 -07:00
dlorenc e620cf7e09 Properly respect WantKubectlDownloadMsg (#1397) 2017-04-21 13:54:30 -07:00
Matt Rickard 438db81d9a Set log levels in command prerun
If this is called in init, glog and viper haven't been properly set up
yet, so it does not trigger the logging output.
2017-04-21 11:41:30 -07:00
Aaron Prindle 4e00a5a9f4 Added check for kubectl on Windows as well 2017-04-20 11:44:59 -07:00
Aaron Prindle 0f0dfb65ab Merge pull request #1320 from aaron-prindle/multiple-vms
Added --name flag and MINIKUBE_NAME env var for vm machine name
2017-04-19 12:05:55 -07:00
Aaron Prindle 41c5ba7663 Merge pull request #1350 from aaron-prindle/mount-vm-path
Changed mount syntax to be host-path:vm-path
2017-04-19 12:03:22 -07:00
Aaron Prindle 1b79cfd566 Added --name flag and MINIKUBE_NAME env var for vm machine name 2017-04-19 11:37:40 -07:00
Aaron Prindle b3ad7539b1 Changed mount syntax to be host-path:vm-path 2017-04-19 10:15:04 -07:00
Wiiliam Chang 3b7615b45f Add the multi VM drive discription. 2017-04-14 09:12:29 +08:00
Everett Toews aa9f16bd87 Inform users which version of Kubernetes is starting (#1332)
This can be very informative for users new to Kubernetes and minikube.
2017-04-11 07:45:30 -07:00
Aaron Prindle 447b3cb9f9 Merge pull request #1333 from aaron-prindle/no-minikube-dir
Removed .minikube folder creation from version command
2017-04-09 10:11:51 -07:00
Matt Rickard 09e8cce24d Merge pull request #1314 from r2d4/k8s-v1.6-rebase-1
Upgrade to k8s v1.6 as default version
2017-04-06 14:37:51 -07:00
Aaron Prindle 4b94b14459 Merge pull request #1293 from aaron-prindle/switch-mount
Update mount implementation, add mount integration tests, and check t…
2017-04-06 14:33:22 -07:00
Aaron Prindle fcc1bdedda Removed .minikube folder creation from version command 2017-04-06 14:01:16 -07:00
Aaron Prindle 8e801e3975 Update mount implementation, add mount integration tests, and check that path exists. 2017-04-06 13:39:25 -07:00
Aaron Prindle 49ab18a1ac Merge pull request #1322 from aaron-prindle/addon-configure-cmd
added minikube addons configure command to replace auto-prompting to …
2017-04-03 14:40:31 -07:00
Aaron Prindle 0e78712fd4 added minikube addons configure command to replace auto-prompting to make scripting addons possible 2017-04-03 11:50:21 -07:00
Aaron Prindle f475961cde Added --dns-domain flag to localkube 2017-04-03 10:25:25 -07:00
Matt Rickard b279d733ad Minikube changes for v1.6.0-beta.2 2017-03-31 13:24:03 -07:00
Matt Rickard 3b46c27b16 Minikube changes for v1.6.0-alpha.1 2017-03-31 13:23:59 -07:00
Matt Rickard 4b3459ed5b Merge pull request #1289 from r2d4/disable-default-provisioner
Disable the default provisioner addon
2017-03-29 10:11:03 -07:00
Matt Rickard 3ad0190d78 Merge pull request #1288 from r2d4/dedupe
Don't glog top level command error message
2017-03-28 21:09:18 -07:00
Aaron Prindle f5fd42ea4d Removed error reporting prompt from minikube delete 2017-03-27 10:34:06 -07:00
Matt Rickard f996c79330 Disable the default provisioner addon
We have to do this through client-go directly, since the addon manager
and kubectl ignore the storageclass resource.
2017-03-24 10:01:57 -07:00
Matt Rickard 1e74692340 Don't glog top level command error message
This is already printed to stderr through RootCmd.Execute().  We could
save to this the glog logs by supressing the RootCmd.Execute() error
output, but this displays a more user friendly error (i.e. no log
prepended info)
2017-03-23 15:10:42 -07:00
Steve Sloka 3624aa2e22 Added missing delete secret for dpr 2017-03-23 11:07:56 -04:00
Steve Sloka ad770c7a3d Add support for private docker registry in registry-creds 2017-03-23 09:36:21 -04:00
Matt Rickard 12e41aeaba Merge pull request #1273 from r2d4/logs
Add -f --folow option to minikube logs
2017-03-21 11:44:10 -07:00
Matt Rickard c9a5152e21 Add -f --folow option to minikube logs
Allows tailing of the logs
2017-03-21 11:04:35 -07:00
Max Lavrenov ae153c6348 add --docker-opt parameter which passes flags to docker daemon 2017-03-20 23:39:55 +01:00
Matt Rickard d2e355182b Fix logging message for feature gates 2017-03-16 11:23:51 -07:00
dlorenc e969ebe87b Add an external hostpath provisioner to localkube. 2017-03-01 11:05:14 -08: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
Steve Sloka 50cb1f2a32 Fix boilerplate 2017-02-27 13:31:37 -05: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
Aaron Prindle 60a5910f88 Added 9p server as well as minikube mount command 2017-02-25 10:08:45 -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
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
Matt Rickard b78fb926bc Merge pull request #1160 from r2d4/kubeconfig-tests
Add test coverage for SetupKubeConfig
2017-02-22 13:25:54 -08:00
Matt Rickard 7f13944043 Merge pull request #1150 from r2d4/env-tests
Add test coverage for cmd/docker-env
2017-02-22 13:25:34 -08:00
Matt Rickard c4196b65be Add test coverage for SetupKubeConfig 2017-02-22 11:39:55 -08:00