Commit Graph

2563 Commits (0fa64b3bd8b2602d41f60f2dc81dee1c451f3fd7)

Author SHA1 Message Date
Yongkun Anfernee Gui 0fa64b3bd8 Reorganize the minikube drivers
- Add registry to register all supported drivers in different platforms.
- Add DriverDef to define driver's metadata.
- All driver support logic moved to pkg/minikube/drivers, removed all
  driver name switches scattered in different packages.
2018-03-11 13:41:30 -07:00
Yongkun Anfernee Gui ab9f3b234d Remove OS dependent SupportedVMDrivers
Use ListDrivers() method to get the list of VM drivers.
SupportedVMDrivers become the whole list of VM drivers on all
platforms, which is used in gendocs only.
2018-03-11 13:41:30 -07:00
Yongkun Anfernee Gui 1057edfa8f Add registry to discover driver in different platforms
Different platform has differnet list of supported drivers. The
registry contains the correct list of drivers that are supported. In
future we could add commands like `minikube list-drivers`
2018-03-11 13:41:30 -07:00
Sandeep Rajan a5afebdc40 update manifest 2018-03-06 07:42:45 -08:00
dlorenc 9b86712058 Update docker-machine to fix hyper-v cmdlet collision. 2018-03-06 07:41:58 -08:00
Matt Rickard 09b5cc8dd3
Merge pull request #2589 from AdamDang/patch-1
Type fix "iso"->"ISO"
2018-03-04 21:09:20 -08:00
AdamDang 2742ec50a2
Type fix "iso"->"ISO"
In this doc, "ISO" is written some in capitals, some not in. please keep consistency.
2018-03-05 11:55:43 +08:00
Alina Mackenzie aadeb9656b Fix jsonpath syntax to use lowercase nodePort
Documentation fix.

Resolves #2559
2018-02-27 10:21:28 -08:00
Matt Rickard f4c1a3568c
Merge pull request #2403 from afbjorklund/preflight
Remove --skip-preflight-checks, ignore unwanted checks
2018-02-26 22:38:11 -08:00
Matt Rickard 3a95da4b6a
Merge pull request #2578 from dlorenc/1.9.3
Update to k8s v1.9.3.
2018-02-26 22:36:11 -08:00
dlorenc 67487c3164 Update to k8s v1.9.3. 2018-02-26 13:21:25 -08:00
Anders F Björklund e88e206ea9 Add missing boilerplate to makedepend.sh 2018-02-26 09:51:56 -08:00
Anders F Björklund 8f63f33e56 Use the $ORG variable for the make dependencies
Before we would hardcode the repo path that we are looking for.
Currently we include everything from the organization (k8s.io).
2018-02-26 09:51:56 -08:00
Anders F Björklund fe30157432 Make sure to add the current module to the list
Before we would only add the files from the dependencies,
not the file from the actual module (such as "main.go").
2018-02-26 09:51:56 -08:00
Anders F Björklund 5cbbc7cf51 Ignore failures including dependency files 2018-02-26 09:51:56 -08:00
Anders F Björklund 53127d687a Generate make depend files from go list
Instead of running `go list` every time (very slow),
cache the results in the build folder and include it.

Add a shell helper script, to make the Makefile more
readable. Use regular "makedepend" syntax for output.
2018-02-26 09:51:56 -08:00
Anders F Björklund 10451b536f Refactor the usage of go list, to make it similar
Make sure that all invocations are identical, before trying to make
a function out of it. Also clean up whitespace and similar changes.
2018-02-26 09:51:56 -08:00
Anders F Björklund 3fd41d6f3c Avoid the phony gopath make target
Having a phony target as a minikube dependency means that
it always needs to be rebuilt/copied, which is unnecessary.

Also clean up and simplify the syntax, thereby avoiding the
current copy/paste errors (that always come with duplication)
2018-02-26 09:51:56 -08:00
Matt Rickard 5724fa5a5e
Merge pull request #2572 from jakefeasel/2571
Adds note for specifying docker bridge for vm-driver=none
2018-02-23 11:41:47 -08:00
Jake Feasel 7ab44746ad Adds note for specifying docker bridge for vm-driver=none
Fixes #2571
2018-02-23 10:45:08 -08:00
Matt Rickard 6e49d6a711
Merge pull request #2566 from dvdmuckle/master
Add metrics-server as an addon
2018-02-22 13:53:38 -08:00
Fabian Deutsch ee58133538 kvm2: Switch to CPU passthrough mode by default
With passthrough mode we can enable KVM nesting for guests.

Fixes #2553

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2018-02-22 10:42:20 -08:00
Fabian Deutsch b08b8ab8ae Revert "kvm: Passthrough host CPU in order to allow nesting"
This reverts commit 7a4babe1d6.

For now we just hard-code passthrough.

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2018-02-22 10:42:20 -08:00
Fabian Deutsch 7f9756e71b iso: Enable KVM
This patch enables KVM support inside the ISO to support nesting.

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2018-02-22 10:42:20 -08:00
Fabian Deutsch 3ddf9d65f6 kvm: Passthrough host CPU in order to allow nesting
Before this patch the virtual CPU was the stock qemu CPU, in the sense that
the virtual CPU features were set according to the default qemu CPU.

With this change the CPU features of the host will be copied at start to the
domain definition. This includes features like svm and vmx, which in turn allow
to run nested virtualization if the host is configured accordingly i.e.
`kvm_intel nested=y` in `/etc/modprobe.d/kvm.conf`.

To turn on nesting, a user has to specify `--kvm-cpu-model host-model` when
creating the VM.

Resolves #2553

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2018-02-22 10:42:20 -08:00
David Muckle adb30393d1 Add metrics-server as an addon 2018-02-21 15:33:27 -05:00
Matt Rickard f0f098af45
Merge pull request #2384 from r2d4/kubeadm-default
Switch default bootstrapper to kubeadm
2018-02-20 14:57:34 -08:00
dlorenc 9fe9154614 Make a crio restart failure a warning instead of an error.
This is a mismatch issue between new minikube versions and old ISO versions. It's
also unlikely to cause a real issue because it requires users to opt-into crio and
modify crio-specific settings to cause trouble.
2018-02-15 11:52:24 -08:00
dlorenc ce6a727fc0 Make the admission controllers shared between localkube and kubeadm. 2018-02-15 11:51:57 -08:00
dlorenc 6492095398 Add the MutatingAdmissionWebhook admission controller. 2018-02-15 11:51:57 -08:00
dlorenc 23d9fde284 Fix none driver stop commands. 2018-02-15 11:51:37 -08:00
Hank Jacobs b6f3cd0163 Use host's name when running VBox manage command to determine VM host IP 2018-02-14 08:18:19 -08:00
Matt Rickard ef65857f56
Merge pull request #2543 from jouve/docs
highlight shell samples quoted in docs
2018-02-13 13:50:03 -08:00
Matt Rickard a2665d0dd8
Merge pull request #2545 from jeis2497052/master
Propose fix a typo
2018-02-13 13:49:44 -08:00
John Eismeier 7f3a46bfb3
Propose fix a typo 2018-02-13 14:48:11 -05:00
Nathan Herring b365b84301 Don't require VirtualBox 2018-02-13 08:23:41 -08:00
Matt Rickard 7cea97d92a
Merge pull request #2541 from budhrg/refactor-get-downloadurl
Refactor get download url for minikube
2018-02-12 10:25:11 -08:00
Matt Rickard 4bab147ca0 ingress: ensure cm exists, do not reconcile 2018-02-12 09:05:26 -08:00
Matt Rickard caf28e8d24 docs: update registry doc link 2018-02-12 09:04:55 -08:00
Budh Ram Gurung d0a46d3763 Add target to format Go code 2018-02-12 09:04:25 -08:00
Cyril Jouve e48149b22e highlight shell samples quoted in docs 2018-02-12 12:42:03 +01:00
Budh Ram Gurung 68285d1779 Refactor get download url for minikube 2018-02-12 13:15:06 +05:30
Matt Rickard 38f4a767bc
Merge pull request #2534 from anfernee/permission
Fix more permissions
2018-02-09 16:01:38 -08:00
Matt Rickard b5ba9093f5
Merge pull request #2535 from anfernee/local-rm
Use stdlib to remove a local file
2018-02-09 16:01:24 -08:00
Yongkun Anfernee Gui 9a0d2e9c12 Use stdlib to remove a local file
Make it portable across platforms
2018-02-09 14:49:02 -08:00
Yongkun Anfernee Gui c07258b45a Fix more permissions 2018-02-09 14:32:53 -08:00
Matt Rickard ce310f4070
Merge pull request #2533 from anfernee/permission
Chmod -x kubernetes.go
2018-02-09 13:58:01 -08:00
Matt Rickard b3e645ef88
Merge pull request #2532 from anfernee/close-file
Close file after reading
2018-02-09 13:07:17 -08:00
Yongkun Anfernee Gui 49757dccfa Chmod -x kubernetes.go 2018-02-09 12:12:13 -08:00
Yongkun Anfernee Gui ac123c48a9 Close file after reading 2018-02-09 10:51:38 -08:00