Nicholas Irving
c05b9697f1
this attempts to resolve
...
https://github.com/kubernetes/minikube/issues/2768
for Windows, by converting \ in directory string to / and using
`path.Join` instead of `filepath.Join` which uses Unix format
instead of using he current OS directory delimeter.
2018-10-16 22:12:52 +11:00
Mark Gibbons
fb68def3ba
Fixes for caching issues
2018-10-14 19:31:55 +01:00
Thomas Strömberg
7365178d53
Merge pull request #3180 from outcoldman/k8s-1.12
...
Initial support for Kubernetes 1.12+
2018-10-05 13:03:21 -07:00
Thomas Stromberg
7e54a16d60
Include ISO URL in download error, make output slightly easier to read.
2018-10-05 12:50:47 -07:00
Denis Gladkikh
cf439dd059
Remove token created by kubectl upgrarde
2018-10-05 12:24:52 -07:00
Thomas Strömberg
583937ac3e
Merge pull request #3210 from tstromberg/dashboard_on_demand
...
Use "kubectl proxy" instead of a NodePort to expose the dashboard.
2018-10-04 14:42:41 -07:00
Thomas Strömberg
36d76c72ff
Merge pull request #3183 from tstromberg/k8s_releases_json_dep
...
Remove refs to k8s_releases.json now that `get-k8s-versions` is gone.
2018-10-04 14:42:12 -07:00
Thomas Stromberg
687b62cfe7
Let gofmt 1.10.4 rewrite service_test.go.
...
NOTE: This differs against what 1.11 would do, but matches our current
Travis CI configuration.
2018-10-04 13:40:08 -07:00
Thomas Stromberg
dc6d1bab8d
Merge branch 'master' into dashboard_on_demand
2018-10-04 13:38:49 -07:00
Fernando Diaz
2ebdf5e1eb
Enhance the Ingress Controller Addon ( #3099 )
...
- Updates Ingress-Controller Version to 0.19.0
- Adds Service Account for Ingress-Controller
- Adds Support for Prometheus
- Fixes bug with TCP/UDP ConfigMaps not Loading
- Adds more resource limits to default-backend
- Use new ingress class name
- Use app.kubernetes.io/xxxxxxxxxxx labels
2018-10-04 16:13:53 -04:00
Thomas Stromberg
7feb46edcb
Removed unneccesary changes to download errors
2018-10-03 15:16:37 -07:00
Thomas Stromberg
8fd45bc751
Block until the proxy URL is healthy.
...
This is necessary now that there is no proper service endpoint to block
on.
2018-10-03 13:00:13 -07:00
Thomas Stromberg
bc2dbe3b08
Improve readability of ISO download errors + include URL.
...
This is a separate issue I bumped into while developing the dashboard
PR.
2018-10-03 12:56:54 -07:00
Thomas Stromberg
df54c6a5b4
Use "kubectl proxy" instead of a NodePort to expose the dashboard.
...
This provides an additional level of security, by enforcing host checking, applying port randomization, and requiring explicit user intent to expose the service to the host.
2018-10-02 22:25:45 -07:00
Thomas Stromberg
3706b3b8ac
Fix dangling format issues.
2018-09-28 16:48:37 -07:00
Thomas Stromberg
e0080c074c
fix: Wrapf format %s has arg perms of wrong type int
2018-09-28 16:38:56 -07:00
Thomas Stromberg
ea62af5a37
Fix incorrect format for an integer by using the unparseable string.
2018-09-28 16:17:44 -07:00
Thomas Stromberg
055c8002b1
Replace %s format directives with %v for errors.
...
Previously we were mixed between the two forms. This commit picks %v,
which is consistent with the Kubernetes code base. They both effectively
do the same thing in this case, though %v works with any object, and %s
only with string objects.
2018-09-28 16:05:27 -07:00
Denis Gladkikh
2817865ddb
Keep 1.10 as default for now
2018-09-28 09:53:28 -07:00
Thomas Stromberg
fd428599da
Remove dangling references to k8s_releases.json now that
...
`get-k8s-versions` is removed.
2018-09-28 09:47:28 -07:00
Denis Gladkikh
a3b3e72cbf
Fix gofmt
2018-09-27 23:02:53 -07:00
Denis Gladkikh
a5f8af92f1
Support for Kubernetes 1.12+
2018-09-27 22:41:16 -07:00
Thomas Strömberg
74f8e492ee
Merge pull request #3148 from etherparty/fix-issue-2513
...
Fix issue 2513
2018-09-27 10:35:28 -07:00
Marcus Heese
5d0e12327a
turning error into a warning log message
2018-09-26 13:53:57 -07:00
Marcus Heese
4eb2cdb120
inlining deleteNetwork into if statement
2018-09-24 14:04:01 -07:00
Jeffrey Sica
9e586a215f
update dashboard version
2018-09-24 12:24:08 -07:00
Marcus Heese
5e38bf4819
kvm2 driver: fixed documentation link in error text
2018-09-21 10:28:52 -07:00
Marcus Heese
34ee59192b
kvm2 driver: be more robust with creating of the network, don't delete the network if it is in use
2018-09-21 10:28:47 -07:00
Marcus Heese
b35e908dec
kvm2 driver: generate separate random MACs for default and private network NICs
2018-09-21 10:28:43 -07:00
Marcus Heese
c4ef7ad197
kvm2 driver: separated activating and creating of networks
2018-09-21 10:28:37 -07:00
Marcus Heese
d1995d24f0
kvm2 driver: fixed private network creation and setup
2018-09-21 10:28:33 -07:00
Balint Pato
effccd52e6
Merge pull request #3114 from doodlesbykumbi/patch-1
...
fix: --format outputs any string, --https only subsitute http URL scheme
2018-09-20 08:49:50 -07:00
Kumbirai Tanekha
33a9e39bd3
fix: --format outputs any string, --https only subsitute http URL scheme
...
cmd/minikube service
--format: outputs arbitrarily formatted strings
--https: https only substituted when the URL scheme is http
2018-09-19 18:19:29 +01:00
Anders F Björklund
3b97276f70
Change default docker storage driver to overlay2
...
The "aufs" storage driver has been deprecated,
changed in Docker 17.09 for "overlay2" instead.
See https://github.com/docker/machine/pull/4558
This only affects the "boot2docker" provisioner,
since it is already being used by "buildroot".
Closes #3078
2018-09-10 12:13:03 -05:00
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
Sebastien Collin
e551231ec5
Allow to specify api server port through CLI
2018-09-01 15:07:27 +02: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
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
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
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
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
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
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
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
Chen Li
82ea016de7
Redirect command Stdout & Stderr for command_runner
...
CombinedOutput function return after command complete.
When we run a long run command, such as continuously get
new log entries, it failed to get run results.
Fixes: https://github.com/kubernetes/minikube/issues/2447
2018-02-05 09:18:49 -08:00
Anders F Björklund
0e674ef3fa
Make sure to enable docker, to please kubeadm
...
The kubeadm preflight looks if the docker service is enabled,
rather than checking the docker socket... So make it happy.
2018-02-05 09:17:19 -08:00
adolphlwq
14ef5f6b9a
use better package name according to https://blog.golang.org/package-names
2018-02-05 08:11:23 -08:00
Anders F Björklund
95067859d2
Fix gendocs, function DefaultMountDir was missing
2018-01-28 08:07:30 -08:00
Matt Rickard
ec1b443722
Merge pull request #2423 from kairen/add-freshpod-addon
...
Add freshpod as a new addon
2018-01-23 13:15:01 -08:00
Bin Liu
3fb4cadef1
Fix typo
2018-01-19 19:17:09 +08:00
Chen Li
aa32282e3f
Use IPSliceVar for apiServerIPs
2018-01-17 08:22:25 -08:00
Chen Li
a3f3286f50
Allow add new server names and IPs to apiserver x509 certificate
2018-01-17 08:22:25 -08:00
Chen Li
7709a2b39e
Fix the usage of --apiserver-name
...
Fixes #2361
2018-01-17 08:22:25 -08:00
kairen
53d6e9d7a2
Change freshpod from Deployment to RC
2018-01-13 02:14:26 +08:00
kairen
250d602085
Add freshpod as a new addon
2018-01-12 22:57:32 +08:00
basp
cebd704bd7
Issue #2416 : Added UUID to hyperkit driver section in minikube configuration to be able to regenerate the same mac address for the machine after restarts to give DHCP a change of assigning the previously used IP address.
2018-01-11 09:41:35 -08:00
kairen
08f4677511
Change kubernetes-dashboard from RC to Deployment
2018-01-10 02:15:07 +08:00
kairen
b1091853cc
Bump kube-addon-manager to v6.5
2018-01-08 14:06:29 -08:00
Anders F Björklund
fc9fe5fa21
Make sure to keep other files in kube-proxy ConfigMap
...
The data was being overwritten with the new file map,
which caused the "config.conf" file to be deleted (!).
Compared to the original "kubeconfig.conf" generated,
the template also inserted an extra newline character.
2018-01-08 08:39:03 -08:00
Anders F Björklund
747e4551fe
Remove --skip-preflight-checks, ignore unwanted checks
...
Better to ignore the checks that we don't want, rather than
disabling all of them in case something important appears...
Currently known failing checks:
[WARNING SystemVerification]: docker version is greater than
the most recently validated version. Docker version: 17.06.0-ce. Max validated version: 17.03
[WARNING FileExisting-crictl]: crictl not found in system path
[WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'
[ERROR DirAvailable--etc-kubernetes-manifests]: /etc/kubernetes/manifests is not empty
[ERROR Swap]: running with swap on is not supported. Please disable swap
2018-01-07 17:07:42 +01:00
Suraj Deshmukh
5d7d751db8
Change the cri-o socket location to upstream default
...
Right now the cri-o socket is placed in `/var/run/crio.sock`, this
commit changes it to `/var/run/crio/crio.sock` which is similar to
upstream.
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2018-01-04 10:35:08 -08:00
Hugues Alary
bc55b8b8be
Cleanup NFS Exports after stop and delete
2018-01-03 10:21:04 -08:00
Matt Rickard
8ac130046d
Switch default bootstrapper to kubeadm
2018-01-03 09:54:49 -08:00
Anders F Björklund
87f48f1731
Add config to avoid warning about the none driver
...
Even when starting up minikube in a dedicated virtual machine,
there will be a warning against running it on your workstation.
2018-01-03 09:47:24 -08:00
dlorenc
59274b22da
Code review feedback.
2018-01-02 16:18:54 -08:00
dlorenc
e3f3727b4d
Move GetNetAddr.
...
The build constraints in vmnet.go cause issues.
2018-01-02 16:18:54 -08:00
Mohit Gupta
7d9413ccd1
remove the hyperkit prefix so we can move this to other drivers as well with time and fix vendoring issue
2018-01-02 16:18:54 -08:00
Mohit Gupta
e1903b7423
support NFS sharing with the hyperkit driver
2018-01-02 16:18:54 -08:00
dlorenc
5df299c7e9
Make other lifecycle commands work.
2018-01-02 12:01:37 -08:00
dlorenc
fcdd1404e8
Use the real GetIP function.
2018-01-02 12:01:37 -08:00
dlorenc
3d13450846
Make rbac creation idempotent.
...
Also cleanup the etcd data dir in jenkins.
2018-01-02 12:01:37 -08:00
Matt Rickard
4077763003
Make none driver work with kubeadm
2018-01-02 12:01:37 -08:00
Tim Hockin
51ee9a1423
Convert registry to k8s.gcr.io
2017-12-22 09:55:16 -08:00
dlorenc
5661ba0b5e
More manual changes.
2017-12-21 14:15:48 -08:00
dlorenc
030a4c747f
Manual changes for 1.9 update.
2017-12-21 14:15:48 -08:00
kairen
50dcda4ba9
Fix the image cache delete
2017-12-14 08:54:17 -08:00
dlorenc
8f91c37bba
Properly support the "minikube-net" network.
2017-12-13 21:18:00 -08:00
Boberg
c8a5d1f3fd
Add mount support for kvm2 driver
2017-12-13 20:25:15 -08:00
kairen
289e8f688b
Revert system image cache
2017-12-12 21:43:39 -08:00
kairen
797925f183
Update ingress controller, and fix integration test
2017-12-12 21:43:39 -08:00
Zak B. Elep
56608e418d
kvm2: Set group executable bit on machine-specific directory and up
...
Ensure that the directories leading to the KVM image have enough
permission for libvirt/QEMU to traverse, especially in the case where
libvirt/QEMU group is set to to `kvm`/`users`.
2017-12-10 17:49:54 -08:00
dlorenc
e150cec3e8
Fix hyperkit mounting.
2017-12-08 13:46:56 -06:00
kairen
777b44695f
Improve cache list command
2017-12-08 13:37:55 -06:00
Matt Rickard
d9e5283218
Verify checksum for localkube
2017-11-30 11:04:48 -08:00
dlorenc
9491ce6dbe
Add deprecation notices for kvm and xhyve.
2017-11-29 13:55:29 -08:00
Matt Rickard
fc916f7af1
Merge pull request #2110 from r2d4/files-rootfs
...
~/.minikube/files as rootfs "layer"
2017-11-29 13:54:16 -08:00
Matt Rickard
43e4b0c655
Merge pull request #2203 from priyawadhwa/cache-images
...
Add cache command to cache non-minikube images
2017-11-29 13:51:53 -08:00
Priya Wadhwa
6344d0bef9
set config map
2017-11-28 15:59:08 -08:00
ijl
bbb53c99c2
VirtualBox driver uses virtio network driver
...
Kernel has CONFIG_VIRTIO_NET=y.
Read more at https://www.virtualbox.org/manual/ch06.html
2017-11-27 08:32:44 -08:00
dlorenc
fdf906cf3b
Add an error message when running hyperkit without permissions.
2017-11-26 17:31:01 -08:00
Matt Rickard
236d742460
Merge pull request #2205 from ulyssessouza/issue_2129
...
#2129 Set proper profile when getting client info
2017-11-23 09:37:53 -08:00
Priya Wadhwa
6652e7a903
Delete paths to cached images
2017-11-20 16:31:34 -08:00
dlorenc
bc20281f1e
Update hyperkit go driver.
2017-11-20 11:52:20 -05:00
ulyssessouza
2b02aa30a7
Issue #2129 Set proper profile (instead of default 'minikube') when getting client info
2017-11-20 09:15:31 +01:00
Patrik Erdes
9b3322a759
Make it known that get-k8s-versions is only relevant for localkube
...
Added a reference to localkube in the help text and in the output from
the command.
2017-11-17 08:55:14 +01:00
Priya Wadhwa
9f8ca7481c
Merge branch 'cache-images' of github.com:priyawadhwa/minikube into cache-images
2017-11-16 17:05:25 -08:00
Priya Wadhwa
3477e4bd8f
Add cache flag to minikube
2017-11-16 14:07:55 -08:00
kairen
7066946a59
[addon] Update heapster to v1.5.0
2017-11-10 17:02:49 +08:00
dlorenc
1ee84442f8
Add 10.0.0.10 back to the cert.
2017-11-08 13:04:59 -08:00
Matt Rickard
e73844c303
Merge pull request #2147 from kairen/add-efk
...
[addons] Add addon support for EFK logging
2017-11-02 10:33:05 -07:00
Matt Rickard
f368ac4999
Merge pull request #2137 from priyawadhwa/storage-provisioner-as-pod
...
Run storage provisioner as pod
2017-11-01 14:00:57 -07:00
Priya Wadhwa
c342ed4d57
Added storage prov deps to Makefile and rewrote main file
2017-11-01 10:54:17 -07:00
kairen
c549bc61bf
Add addon support for EFK logging
2017-11-02 01:00:38 +08:00
Matt Rickard
9fc8eed51d
Merge pull request #2076 from r2d4/kvm-mac
...
Use mac instead of hostname to find IP
2017-11-01 08:40:55 -07:00
Matt Rickard
afc991ad3f
fix tests
2017-10-31 10:11:50 -07:00
Matt Rickard
30667cb406
Calculate ServiceClusterIP and DNS IP from CIDR
2017-10-31 10:06:51 -07:00
Matt Rickard
e2dd95ed39
update kubeadm
2017-10-31 10:06:51 -07:00
Matt Rickard
3fceab3b51
Download localkube in e2e test
2017-10-31 09:40:26 -07:00
Priya Wadhwa
7098431c6a
Small changes
2017-10-30 13:52:45 -07:00
Priya Wadhwa
71b38d1e4e
Tests passing with storage-provisioner in addons
2017-10-30 13:45:31 -07:00
Priya Wadhwa
a8fedc86e1
Create main file for storage provisioner
2017-10-30 13:07:48 -07:00
Matt Rickard
c20ebde431
Bypass version check for localkube file URI
2017-10-30 09:22:33 -07:00
Mahdi Mohammadi
ab6e73ab8d
Use minikube context instead of relying on current kubcetl context
2017-10-27 13:29:13 +00:00
Matt Rickard
633fc4ac93
Handle leading 0
2017-10-23 15:37:41 -07:00
Matt Rickard
9728679371
Transfer ~/.minikube/files last
...
To allow users to overwrite some of the files that we download
(kubelet, kubeadm, etc.)
2017-10-23 15:21:52 -07:00
Matt Rickard
998b01b3ba
More verbose output for ssh scp command
2017-10-23 15:05:07 -07:00
Matt Rickard
fc84bfde0b
Apply MINIKUBE_HOME/files as "rootfs" layer
...
Instead of scping these files to just /files, we mimic the directory
structure relative to the ~/.minikube/files directory and place the
binaries there. This can be useful for development.
2017-10-23 15:03:28 -07:00
Matt Rickard
2c2c45d7a6
DOM_SHUTDOWN should return state.Running
...
Technically, DOMAIN_SHUTDOWN just means that the VM is in the process
of shutting down. We should still return state.Running so that we
don't return from `minikube stop` before the domain is actually
stopped. This should fix a few flakes.
2017-10-23 11:23:58 -07:00
Yisui Hu
ea31492976
use consistent path for localkube.service
...
/usr/lib/systemd/system is not consistent across different distribution
/etc/systemd/system should be used.
See issue: #2098
2017-10-20 14:09:03 -07:00
Matt Rickard
d9089c3d77
Merge pull request #2089 from r2d4/no-localkube
...
Remove localkube from bindata
2017-10-20 12:29:48 -04:00
Matt Rickard
a19f90fd91
import erorr
2017-10-19 16:23:47 -04:00
Matt Rickard
02f0d41c1d
Split out hyperkit into CGO needed stub
...
This allows us to use the hyperkit Driver struct in minikube, without
needing CGO_ENABLED=1. For the hyperkit driver binary, the
CGO_ENABLED=1 function will work.
2017-10-19 16:07:38 -04:00
Matt Rickard
7e90add4a9
Merge pull request #2087 from r2d4/hyperkit-home
...
Hyperkit install to GOBIN
2017-10-19 13:42:45 -04:00
Matt Rickard
a7d568441c
Remove localkube from bindata
...
This makes the minikube build simpler and the the binary smaller.
Localkube will always be remotely fetched and locally cached on the
host.
2017-10-19 12:56:29 -04:00
Matt Rickard
b7012aefcc
Use mac instead of hostname to find IP
2017-10-19 09:16:24 -07:00
Matt Rickard
f582814c9d
Add hyperkit to supported driver list
2017-10-19 10:39:27 -04:00
Matt Rickard
c7f03444b5
Merge branch 'master' into docker-17.05
2017-10-19 07:23:11 -07:00
Matt Rickard
33584026c1
Merge pull request #2078 from r2d4/verbose-logging
...
Add verbose logging
2017-10-17 16:45:23 -07:00
Matt Rickard
8894ed78b9
Add verbose logging
2017-10-17 15:16:02 -07:00
Matt Rickard
5ccaae8998
Merge pull request #2068 from vbatts/crio-insecure-registry
...
buildroot: output flags for crio
2017-10-17 15:12:28 -07:00
Matt Rickard
0df72cadd5
Merge pull request #2052 from r2d4/cri-o
...
Add convenience container-runtime flag for kubeadm
2017-10-17 14:36:24 -07:00
Vincent Batts
50570f6133
buildroot: output flags for crio
...
This adds an environment variable file for crio.service to source.
And a step for the buildroot provisioner to write flags, initially just
insecure-registry.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-10-17 13:39:06 -04:00
dlorenc
9dd3d9bc64
Fix non-systemd none driver.
2017-10-17 10:31:06 -07:00
Matt Rickard
37456d22e0
Review feedback
2017-10-17 10:08:07 -07:00
dlorenc
c0d838fc71
Force the none driver to use netgo.
2017-10-16 19:41:55 -07:00
Matt Rickard
6bb07b32c4
Merge pull request #2037 from r2d4/kubeadm-feature-gates
...
[kubeadm] Pass features gates to components
2017-10-16 13:22:13 -07:00
Matt Rickard
6a53c0c06c
Merge pull request #2060 from r2d4/k8s18
...
K8s 1.8
2017-10-16 13:11:39 -07:00
Matt Rickard
901c844a00
localkube changes
2017-10-13 10:21:16 -07:00
Matt Rickard
e5002afa8c
add vendor
2017-10-13 10:21:09 -07:00
Matt Rickard
1a38ef74b2
Use path instead of filepath for cross platform
2017-10-12 10:39:41 -07:00
Matt Rickard
800be7edc7
Add convenience container-runtime flag for kubeadm
...
To enable the cri-o runtime you may now just use
`minikube start --container-runtime=cri-o --bootstrapper=kubeadm`
or
`minikube start --container-runtiume=crio --bootstrapper=kubeadm`
or
`minikube start --extra-config=kubelet.container-runtime=remote
--extra-config=kubelet.container-runtime-endpoint=/var/run/crio.sock
--extra-config=image-service-endpoint=/var/run/crio.sock`
2017-10-11 13:57:18 -07:00
Matt Rickard
967913b9a6
Extra arguments need to be quoted
2017-10-11 10:18:10 -07:00
Matt Rickard
dd50d76e3d
[kubeadm] Pass features gates to components
2017-10-10 11:13:09 -07:00
Matt Rickard
23d7dde268
Bump cached DNS addon version
2017-10-10 11:06:28 -07:00
Matt Rickard
b4de04fac8
Merge pull request #1995 from rajansandeep/coredns
...
Adding CoreDNS as an addon
2017-10-09 14:59:34 -07:00
Aaron Prindle
8dbe63d697
Merge pull request #1985 from r2d4/kubelet-config-kubeadm
...
Implement extra-config for kubeadm components
2017-10-04 16:16:50 -07:00
Aaron Prindle
c6d2e491a3
Merge pull request #1774 from aaron-prindle/none-docker-rm-kill
...
Added command to remove and kill all kubernetes containers from docke…
2017-10-04 11:30:57 -07:00
Matt Rickard
a139ccd0ab
Implement extra-config for kubeadm kubelet
2017-10-04 11:26:15 -07:00
Matt Rickard
e1fd9de778
Merge pull request #1984 from r2d4/cleanup-drivers
...
Clean up unused files, add tar rules
2017-10-04 10:41:19 -07:00
Matt Rickard
8e319bd08e
Merge pull request #2000 from hirsim/enable-cache-image-for-windows
...
Enable cache image for Windows
2017-10-03 08:27:22 -07:00
adolphlwq
b71446b2cd
correct url of reference code
...
Signed-off-by: adolphlwq <kenan3015@gmail.com>
2017-10-03 01:57:50 -07:00
Aaron Prindle
10e6e6ade1
added cleanup for docker containers in none driver
2017-10-02 11:48:35 -07:00
Hiroshi Nomura
7f8f3bb5d4
Add unit tests
2017-09-30 20:43:51 +09:00
Aaron Prindle
ec17df3e59
Added sshd, kubeconfig and insecure-serving flags to localkube for dind image
2017-09-28 16:05:51 -07:00
Matt Rickard
a90b6a446a
Merge pull request #1998 from vbatts/crio-bin
...
minikube-iso: add cri-o runtime
2017-09-27 10:05:34 -07:00
Vincent Batts
2788714cc5
minikube-iso: add cri-o runtime
...
https://github.com/kubernetes-incubator/cri-o
Updated the runc version to its latest master commit.
Got crio into the automounter to get off the tmpfs
This feature bubbles up to the minikube command by reusing the
`--container-runtime=` flag, by enabling the value of "`crio`"
(`minikube start --container-runtime=crio`), while the flags/config
passed to localkube are more like k8s (`--container-runtime=remote
--remote-runtime-endpoint=/var/run/crio.sock`)
This is mostly ready for review. It is still lacking having
--insecure-registry plumbed through, but for now the policy.json is
open.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-09-27 09:12:15 -04:00
yuvipanda
d7bb7c343b
provisioner: Use chmod instead of umask
...
umask affects the entire process, while this is clearer
2017-09-27 01:40:19 -07:00
yuvipanda
f64234b1b8
Set umask to 0 before creating hostpath volumes
2017-09-27 01:40:19 -07:00
Hiroshi Nomura
6ee6a82d0a
Enable cache image for Windows
2017-09-23 19:08:35 +09:00
Sandeep Rajan
06b3e74fb8
rectified incorrect path
2017-09-21 10:47:38 -04:00
Sandeep Rajan
eba63d86cd
adding coredns as an addon
2017-09-21 10:28:45 -04:00
Matt Rickard
547d22f638
Clean up unused files, add tar rules
2017-09-19 15:45:18 -07:00
Hiroshi Nomura
442f746f6a
Fixed make a image cache directory for Windows
2017-09-20 00:43:33 +09:00
Hiroshi Nomura
068a076b98
Fixed join of cert file path in kubeconfig
2017-09-19 22:24:09 +09:00