Commit Graph

679 Commits (82e991456ee1c4e64ab12e6ac0b8415229a29a61)

Author SHA1 Message Date
AdamDang 22ab50aa7e Correct typo in the returned message
coundn't->couldn't
2018-09-04 05:49:04 -05:00
NsLib a7a5ede68e fix(cli): \`minikube start --mount --mountsting\` without wirte permission 2018-09-04 05:48:03 -05:00
Jason Stangroome 9b21d3c7e4 Allow certificates to be optionally embedded in .kube/config
Opt-in with `minikube config set embed-certs true`. Similar to the
behaviour of `kubectl config set-credentials --embed-certs`.

Enables Minikube on Windows to produce a .kube/config file that
can be shared directly with kubectl inside the Windows Subsystem
for Linux (WSL) without needing to perform additional translation
of the certificate paths within the configuration file.
2018-09-03 15:34:50 -05:00
dlorenc 86f44ad4ff Manual changes for go-containerregistry update. 2018-08-22 20:24:46 -05:00
yanxuean c4ee50b9e8 support to conveniently use containerd
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-08-21 09:28:33 -07:00
Sandeep Rajan f8c16a7bbb Make coredns default 2018-08-20 07:43:53 -07:00
Viktor Safronov 477ece9a50 Revert "Remove untainting logic."
This reverts a part of commit eec47aaa71.
2018-08-06 08:36:10 -07:00
dlorenc 232080ae0c Remove some more vendored k8s. 2018-07-26 08:23:21 -07:00
Aaron Prindle a4606583e4 remove all localkube references from code, change /var/lib/localkube to /var/lib/minikube 2018-07-24 12:36:42 -07:00
dlorenc 15b035748c Manual changes to remove localkube. 2018-07-24 12:36:42 -07:00
dlorenc 23fc22e532 Fix docs for kvm2 2018-07-23 09:02:33 -07:00
Rohit Agarwal 87d7a3208a Update KVM driver installation instructions.
Move the latest instructions out of the comments and move old instructions into the comments.
2018-07-20 07:57:14 -07:00
dlorenc eec47aaa71 Remove untainting logic. 2018-07-16 11:14:24 -07:00
kairen ad576faae9 Reuse the FeatureGates field to parse kubeadm and component feature gates 2018-07-16 08:09:09 -07:00
kairen ca1e7388cb Update kubeadm config template 2018-07-16 08:09:09 -07:00
kairen ee178b0a8b Fix generate config failed 2018-07-16 08:09:09 -07:00
kairen ccaec1db0e Add feature gates support for Kubeadm 2018-07-16 08:09:09 -07:00
Rohit Agarwal 96079478a7 Add nvidia-driver-installer and nvidia-gpu-device-plugin addons. 2018-07-08 22:25:48 -07:00
Rohit Agarwal 268c932240 Add GPU support to minikube. 2018-07-08 22:25:48 -07:00
Luke Weber 05161c1b18 Fixes https://github.com/kubernetes/minikube/issues/2274 2018-07-04 09:26:50 -07:00
Jimmi Dyson dc49833df8 Add missing controlPlaneEndpoint to fix kubeadm templates test 2018-07-04 09:22:41 -07:00
dlorenc 47dd092e60 Code review feedback. 2018-07-04 09:22:41 -07:00
dlorenc 81440feabb Fix Kubernetes 1.11 builds
Add a versioned flag for the enable-admission-control flags
Add a second step to call "kubeadm alpha phase addon all" which seems to be required now to get coredns running.

I tested this all the way back to 1.9.0.
2018-07-04 09:22:41 -07:00
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