Commit Graph

656 Commits (3e267fd567875647aeedaa9f39832fe7a1ebe494)

Author SHA1 Message Date
Aaron Prindle 525c615a17
added minikube version and os to user agent in update checks 2018-06-20 15:16:18 -07:00
dlorenc 2b0e10c9ec Fix gofmt. 2018-06-18 08:39:11 -07:00
Peter Trotman 1921679f9c Use constants.DefaultNodeName in kubeadm 2018-06-18 08:39:11 -07:00
Peter Trotman 3dfea62fd4 Changed the nodes within the VM to use a NodeName variable that is
seperate from the VM Machine Name to ensure proper functionality when
using different profile names.
2018-06-18 08:39:11 -07:00
dlorenc 4b060b26fb Manual changes for go-containerregistry. 2018-06-14 10:09:06 -07:00
dlorenc a2218d2e7e Add two more kubeadm preflight ignores to make e2e tests pass. 2018-06-12 13:48:29 -07:00
dlorenc 79682c2059 Fix the minikube status command.
There were a few cases where stdout wasn't getting flushed correctly,
leading to flakiness in e2e tests.
2018-06-12 10:27:55 -07:00
Rohit Agarwal 0df67ee4af Changes to make 'virsh console minikube' work. 2018-06-11 08:45:59 -07:00
ruicao 6a2020d8a1 Typo fix: Explictly -> Explicitly 2018-06-07 09:01:54 -07:00
dlorenc 305e803316 Bump Docker API Verson. 2018-06-05 13:45:01 -07:00
Mark Gibbons e37d6157eb Updated to make code clearer for newer versions and remove duplication of image names 2018-06-05 08:15:38 -07:00
Mark Gibbons abdcd2ce1d changed to use MustParseRange 2018-06-05 08:15:38 -07:00
Mark Gibbons 376380e74e Update code to cache correct images for different k8s versions 2018-06-05 08:15:38 -07:00
AdamDang fb5f548c14 Typo fix: formating->formatting
formating->formatting
2018-06-04 09:57:31 -07:00
seborama ee73cbde6b Added hyperkit options for enterprise VPN support
The purpose of these changes is to enhance Hyperkit support from the
minikube command line for better integration with enterprise networks
behind a VPN.

uuid: Provide VM UUID to restore MAC address (only supported with
      Hyperkit driver).
vpnkitSock: Location of the VPNKit socket used for networking. If empty,
            disables Hyperkit VPNKitSock, if 'auto' uses Docker for Mac
            VPNKit connection, otherwise uses the specified VSock."
vsockPorts: List of guest VSock ports that should be exposed as sockets
            on the host (Only supported on with hyperkit now).

Note:
tests pass but file:
`vendor/github.com/google/certificate-transparency/go/x509/root_darwin.go`
has to be edited to correct an issue - not committed since this is in
the vendor directory.
2018-06-04 09:46:20 -07:00
mlgibbons e9b95df587 Update to catch any errors in loading of cached images into Docker cache in VM which were previously being ignored and leading to unreliable "minikube start" especially in offline mode. 2018-06-04 08:15:12 -07:00
Michal Rostecki 1468a4c8a7 kubeadm: Check for GetClientset error
`elevateKubeSystemPrivileges` was using `GetClientset` function
and getting the err object from, but err wasn't checked.
2018-05-30 22:37:52 -07:00
kairen dadb7adf23 Update pre-cache images to correct version
Signed-off-by: kairen <kyle.b@inwinstack.com>
2018-05-23 13:18:44 -07:00
Ivan Hamilton 4bdba1f20b Issue certificates with NotBefore set 1 day prior to avoid drift/timezone issues in VM 2018-05-23 13:18:26 -07:00
Ivan Hamilton 52cf7de475 Load cached images using VM path separators 2018-05-21 08:05:21 -07:00
dlorenc 8c6afecc88 Move the etc data directory to data/minikube to make cleanup safer. 2018-05-17 13:27:19 -07:00
dlorenc b54950fb2b Start the default network for the kvm2 driver. 2018-05-11 13:07:19 -07:00
dlorenc fe971d8a53 Fix 1.9.x versions of Kubernetes.
This was a silly typo on my part.
2018-05-10 20:35:39 +02:00
kairen d7737980b7 Fix addon enable broken issue for Ingress 2018-05-08 11:27:26 +02:00
AdamDang 6bb278a958 Typo fix: priviledges->privileges
priviledges->privileges
2018-05-03 12:06:25 +02:00
Arnaud MAZIN b25f82759f Create empty map if Nil 2018-04-29 18:24:25 -07:00
Arnaud MAZIN 3f9350da72 fmt 2018-04-29 18:24:25 -07:00
Arnaud MAZIN cc41522545 added map[string]string argument parsing for eviction-like arguments 2018-04-29 18:24:25 -07:00
AdamDang 3c50dee461
Update config.go 2018-04-23 20:10:55 +08:00
AdamDang d01d8e5773
Update cluster.go 2018-04-23 20:10:04 +08:00
Viktor Safronov 9ad5b4a190 Disable dnsmasq on minikube-net network for kvm driver 2018-04-20 07:40:43 -07:00
dlorenc 258d1e149c Add none driver to the supported list. 2018-04-17 13:42:37 -07:00
PI-Victor 84bb1cba26 config: make hyperkit and kvm2 available as supported drivers 2018-04-17 13:22:17 -07:00
Anders F Björklund 8e299f4a67 Add the CRI preflight ignore, lost in refactoring
Also move the corresponding comments to the code
2018-04-16 08:54:22 -07:00
dlorenc 2ec4692cf0 Fix gofmt. 2018-04-13 20:33:53 -07:00
awalker125 6158dd406e swith filepath.join for path.join 2018-04-13 08:35:32 -07:00
Anders F Björklund fc9f45f426 Use --skip-preflight-checks for k8s < 1.9 2018-04-13 08:34:05 -07:00
dlorenc 0bf5166e14 Deprecate localkube. 2018-04-09 13:24:07 -07:00
Tim Hockin b27a989c86 Pass 2: k8s GCR vanity URL 2018-04-09 08:36:59 -07:00
Matt Rickard d0755b6819 kubeadm: increase mark master timeout 2018-04-05 14:38:27 -07:00
dlorenc cc356e63c4 Miscellaneous none driver fixes. 2018-04-04 13:58:50 -07:00
Anders F Björklund 5b54dd6e16 Ignore preflight errors from CRI (dockershim.sock)
kubeadm init is running `crictl -r /var/run/dockershim.sock info`
before the socket actually exists (kubelet hasn't started up yet)
2018-03-30 08:32:19 -07:00
dlorenc dcb5c2cc50 Manual changes for 1.10.
localkube now has to be non-statically compiled :(
2018-03-27 23:13:34 -07:00
Matt Rickard c98115f172
Merge pull request #2590 from dlorenc/validating
Add the ValidatingAdmissionWebhook controller.
2018-03-12 10:27:03 -07:00
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
dlorenc 3cce3ca727 Make ResourceQuota last. 2018-03-06 20:50:22 -08:00
dlorenc b227d6d5e9 Add the ValidatingAdmissionWebhook controller. 2018-03-06 09:12:38 -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