Commit Graph

585 Commits (2f13f0c848b794234bf57e51b2b89092e8b69dd9)

Author SHA1 Message Date
Skip Baney 34aa0c6895
Remove redundant newline in `minikube status`
Both #3502 (which this commit reverts) and #3523 attempted to fix the same issue.
Keeping the change from the latter PR since it fixes it at the source template.
2019-01-21 10:54:25 -06:00
Anders F Björklund 3389344d51 Need to restart crio, after stopping containerd
If it fails to start up, it will never try again.
2019-01-20 17:06:37 +01:00
Anders F Björklund 2c0b7da11e Stop containerd from running, if it is not desired
Apparently some grpc services are conflicting with crio

"Failed to start streaming server: listen tcp 10.0.2.15:10010: bind: address already in use"
2019-01-20 17:02:36 +01:00
Thomas Strömberg 56f8142e24
Merge pull request #3194 from afbjorklund/crictl.yaml
Write /etc/crictl.yaml when starting
2019-01-17 10:34:06 -08:00
Thomas Strömberg f29c0cd329
Merge pull request #3533 from tstromberg/kubeadm-log-output
Improve failure output when kubeadm init fails
2019-01-17 10:33:23 -08:00
Anders F Björklund c563c4d1fb Write /etc/crictl.yaml when starting 2019-01-17 07:27:28 +01:00
Thomas Stromberg c2bf394378 Minor improvements to output and comments 2019-01-16 12:14:56 -08:00
Thomas Strömberg 3aa83674a9
Merge pull request #3441 from brb/2907-no-cni-conf-by-default
Do not include the default CNI config by default
2019-01-15 17:14:20 -08:00
Thomas Strömberg 303e26cd56
Merge pull request #3494 from knabben/reporterror-test
Adding more utils tests
2019-01-15 17:13:23 -08:00
Thomas Strömberg 8bc8816c9f
Merge pull request #3521 from nixpanic/addons/gluster
Add a storage-provisioner-gluster addon
2019-01-15 17:08:45 -08:00
Thomas Strömberg 7b32547cf6
Merge pull request #3108 from sebcworks/sebcworks-customapiserverport
Allow to specify api server port through CLI fix #2781
2019-01-15 16:43:42 -08:00
Thomas Stromberg 393d1af3c6 mention 'minikube logs' for debugging start failures 2019-01-15 16:37:28 -08:00
Thomas Stromberg bf02c016b3 Make failure prompt text more clear 2019-01-15 16:37:04 -08:00
Thomas Strömberg 0a58301e3e
Merge pull request #3502 from narendra2019/master
issue# 3499: minikube status missing newline at end of output
2019-01-14 13:24:31 -08:00
Thomas Stromberg 3223e044e4 apiserver health: try up to 5 minutes, add newline 2019-01-11 11:49:49 -08:00
Niels de Vos b85b6d5eeb addons: mark the last enabled storage provider as default
When a storage provider is enabled (storage-provisioner-glusterfile),
mark it "is-default" and set "is-default" to "false" in all other
StorageClasses.
2019-01-09 20:04:21 +01:00
Niels de Vos b0c7341373 addons: when enabling storage-provisioner-gluster, mark other SCs non-default
There can only be one StorageClass be marked as default. When the
storage-provisioner-gluster addon is enabled, users expect it to be the
default StorageClass.

Instead of removing the "is-default" annotation from the other
StorageClasses, set it to "false". This leaves only the "glusterfile"
StorageClass as "is-default".
2019-01-09 20:04:21 +01:00
Niels de Vos 3c3b7368f0 Add storage-provisioner-gluster addon
With this addon dynamic provisioning based on Gluster can be enabled:

    $ minikube addons enable storage-provisioner-gluster

This will deploy several pods in a new 'storage-gluster' namespace:

 - glusterfs, storage service with a 10GB sparse /srv/fake-disk.img
 - heketi, a smart Gluster volume manager
 - glusterfile-provisioner, external-storage provisioner

In addition, the StorageClass 'glusterfile' will be created. It is
currently not configured as default StorageClass, so PVCs need to refer
to the new StorageClass.
2019-01-09 20:04:21 +01:00
Narendra Kangralkar 68287a9497 issue# 3499: minikube status missing newline at end of output
Done code changes to display newline at the end of the status message
2019-01-04 22:13:33 +05:30
Martynas Pumputis d982c4bf74 Do not include the default CNI config by default
Previously, minikube has been shipped with the default CNI config
(/etc/cni/net.d/k8s.conf) in its rootfs. This complicated a lot
when using a custom CNI plugin, as the default config was picked
by kubelet before the custom CNI plugin has installed its own CNI
config. So, the end result was that some Pods were attached to a
network defined in the default config, and some got managed by
the custom plugin.

This commit introduces the flag "--enable-default-cni" to
"minikube start" to trigger the provisioning of the default CNI
config.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
2019-01-03 09:23:29 +01:00
Amim Knabben 6762fb0096 Adding GetkubeConfig path test 2018-12-28 10:49:50 -02:00
Amim Knabben f948bf8136 Adding ReportError test and HTTP Test server reuse 2018-12-28 10:04:45 -02:00
Thomas Stromberg 1bd4b05bc8 Increase dashboard retry time from 30 seconds to 3 minutes 2018-12-21 14:14:36 -08:00
Thomas Stromberg f3d158198f Add helpful dashboard status messages to stderr 2018-12-21 12:00:43 -08:00
Thomas Stromberg dba0c0a0dc Disable dashboard by default 2018-12-21 11:49:20 -08:00
Thomas Strömberg ab64cb952e
Merge pull request #3479 from tstromberg/stop-retry
Make "stop" retry on failure.
2018-12-20 19:46:24 -08:00
Thomas Stromberg c250a3b9d9 Make "stop" retry on failure. 2018-12-20 13:19:53 -08:00
Balint Pato ed7031cbb3
Merge branch 'master' into logviewer-addon-pr7 2018-12-19 17:14:09 -08:00
Chris Eason c7e69fd257 Allow ServiceCIDR to be configured via 'service-cluster-ip-range' flag. 2018-12-18 12:17:33 -05:00
priyawadhwa 5d910e8937 Save old cluster config in memory before overwriting (#3450)
* Save old cluster config in memory before overwriting

In PR #3426, I changed "minikube start" to overwrite the cluster config earlier so that the container runtime could be extracted from it by the buildroot provisioner. This introduced a bug later on, where minikube expected to read the kubernetes version from theold config (which no longer existed, because the config was overwritten).

To fix this, I changed the code to store the old version of the config in memory before overwriting it.

This should fix #3447
2018-12-13 14:31:22 -08:00
priyawadhwa 8f128a7d10 Enable gvisor addon in minikube (#3399)
This PR adds the code for enabling gvisor in minikube. It adds the pod
that will run when the addon is enabled, and the code for the image
which will run when this happens.

When gvisor is enabled, the pod will download runsc and the
gvisor-containerd-shim. It will replace the containerd config.toml and
restart containerd.

When gvisor is disabled, the pod will be deleted by the addon manager.
This will trigger a pre-stop hook which will revert the config.toml to
it's original state and restart containerd.
2018-12-07 15:27:22 -08:00
Thomas Strömberg ad415e252d
Merge pull request #3401 from tstromberg/cherry-2f81d
Add apiserver check to "status", and block "start" until it's healthy.
2018-12-07 15:20:07 -08:00
priyawadhwa ed8f7124a0 Only restart docker service if container runtime is docker (#3426)
* Only restart docker service if container runtime is docker

Only allow the buildroot provisioner to restart docker if the container
runtime is docker. This change should fix the bug in #3424, since now
docker will not be restarted if the container runtime is containerd.

* Added files to fix FileContent--proc-sys-net-bridge-bridge-nf-call-iptables precheck error

From this issue: https://github.com/kubernetes/kubeadm/issues/1062
these files need to be added to prevent this precheck error (which occurs when running any container runtime that isn't docker).

Also, save the machine config on the user's filesystem earlier so that the buildprovisioner can access it.
2018-12-07 12:08:59 -08:00
Thomas Stromberg 1ceb3e050b Make errors retriable 2018-12-03 21:07:39 -08:00
Thomas Stromberg d0cfb28b8e apiserver, not api-server 2018-12-03 20:32:48 -08:00
Thomas Stromberg eae6efdc85 Verify status before mounting 2018-12-03 20:29:02 -08:00
Thomas Stromberg cb3624dd08 Add apiserver health checks 2018-12-03 20:11:42 -08:00
Thomas Strömberg bc67a32a7b
Merge pull request #3332 from dlorenc/rmaddons
Remove both the CoreDNS and KubeDNS addons. Let Kubeadm install the c…
2018-12-03 17:15:06 -08:00
ivans3 b43b8ccd9d Initial commit of logviewer addon 2018-12-02 12:58:06 -08:00
Hidekazu Nakamura 2ef8ff9256 Fix sudo -E minikube start
sudo -E minikube start --vm-driver=none does not change directory
owner when CHANGE_MINIKUBE_NONE_USER=true.
This patch fixes to change directory owner when
CHANGE_MINIKUBE_NONE_USER=true.
2018-11-28 02:08:29 +00:00
Anders Björklund 57f4d9247e Only require docker for the docker runtime (#3303)
Closes #3295
2018-11-27 14:15:08 -08:00
Joey 41bd1de699 Implement a check to see if an ISO URL is valid (#3287)
* Implement a check to see if an ISO URL is valid

* Use strings.TrimPrefix instead of []rune casting for 'file://' prefix removal

* Handle file permissions error with a user-friendly message
2018-11-26 16:29:47 -08:00
Balint Pato 4b11d63da1
debugging improvements and flakiness reduction (#3363)
Small improvements to debugging and reducing integration test flakiness: 
* added logging to kubeadm init in the SSHExecutor
* increasing timeout for RBAC creation via the kubernetes client set 
* only log tunnel output to test logger
2018-11-26 10:18:28 -08:00
Balint Pato a681603daa
Fix `minikube tunnel` for hyperkit (#3349)
This change is a bit of a hack to make IP routing work over the virtio-net interface - it forces the virtio-net interface (bridge100) created by hyperkit/xhyve to reset via removing and readding the single member of the interface. Without this "reset" packets are just simply lost most of the time, despite a completely healthy IP route.

This error was also the reason for a large percentage of our integration test failures. While reducing the flakiness of tunnel related tests I also increased the timeout requirement and adding retries to the nginx request in TestTunnel.
2018-11-21 13:39:48 -08:00
dlorenc 2091f8c27a
Remove both the CoreDNS and KubeDNS addons. Let Kubeadm install the correct DNS addon. 2018-11-16 14:54:44 -08:00
priyawadhwa 77942bbf94 Restart containerd after stopping alternate runtimes (#3343)
After stopping any runtimes that aren't being used, if we're using
containerd then we need to restart it. This is because it competes with
cri-o to listen on port 10010, causing a necesary plugin to not be
installed. After stopping cri-o, we need to restart containerd so that
the plugin is installed.

I also added some preflight checks when using alternative runtimes.
kubeadm checks to make sure the Docker service is running, so I disabled
that. It also checks if a few ports are available; these are ports that
containerd uses, so I also added them to the ignore list.

This should finish the work started in #3211, which stopped alternative
runtimes but didn't restart containerd. I was able to run "minikube
start" with containerd locally with this change.
2018-11-16 11:48:24 -08:00
dlorenc 4e5623e4fa Fix error formatting 2018-11-15 16:36:30 -06:00
Anders Björklund b69fc99d62 Stop docker daemon, when running cri-o (#3211)
* Stop extra container runtimes, before bootstrapper

The minikube.iso starts every runtime, by default

* Disable docker-env output, if docker isn't running

Might be running an alternative container runtime
2018-11-14 16:43:07 -08:00
Anders Björklund 2ceec0d084 Add config parameter for the cri socket path (#3154)
* Add config parameter for the cri socket path

Closes #3153

* Remove stray newline, when not using criSocket

* Add the --cri-socket parameter to configuration

Also fix the syntax for CRI-O, adding unix://
2018-11-14 16:36:02 -08:00
Thomas Stromberg a9d7c41056 One last rune->byte switch 2018-11-09 15:16:36 -08:00
Thomas Stromberg 810a6c70ef Update strings to reflect that a byte is returned instead of a rune 2018-11-09 15:16:05 -08:00
Thomas Stromberg 81815182c7 Use io.ByteReader interface 2018-11-09 15:11:58 -08:00
Thomas Stromberg 9013a57e58 Timeout when reading host:port from older kubectl versions.
kubectl releases older than August 2017 don't include a newline, which
means there is effectively no hint that the output has completed. I
believe this is why tests have been failing on the macOS.

Should resolve test timeout panics such as #3203
2018-11-09 15:03:08 -08:00
Bartel Sielski dd196abe30 Remove newline at the start of zsh completion file
Signed-off-by: Bartel Sielski <bsielski@nalys-group.com>
2018-10-30 11:23:46 +01:00
Thomas Stromberg 72e596507a Merge branch 'master' into consistent_err_formatting 2018-10-19 14:08:35 -07:00
Balint Pato ae9f4b20c7
minikube tunnel (#3015)
This commit introduces a new command, `minikube tunnel`, a LoadBalancer emulator functionality, that must be run with root permissions.

This command:

* Establishes networking routes from the host into the VM for all IP ranges used by Kubernetes.
* Enables a cluster controller that allocates IPs to services external `LoadBalancer` IPs.
* Cleans up routes and IPs when stopped (Ctrl+C), when `minikube` stops, and when `minikube tunnel` is ran with the `--cleanup` flag
2018-10-18 11:01:47 -07:00
Thomas Stromberg fd0d46680e Respect the -p flag to set the appropriate profile. 2018-10-04 11:35:24 -07:00
Thomas Stromberg 534325e88f Use %v for errors instead of %s 2018-10-03 21:57:17 -07:00
Thomas Stromberg c079bb1934 Update integration tests to handle newly persistant dashboard. 2018-10-03 15:06:30 -07:00
Thomas Stromberg d38705a42b Fix overzealous replacement of namespace -> ns that broke URL generation 2018-10-03 13:58:25 -07:00
Thomas Stromberg 2956621c20 Add function comments, improve proxy stdout log message 2018-10-03 13:30:09 -07:00
Thomas Stromberg 4c35c505f6 Double HTTP wait time and make error messages more readable. 2018-10-03 13:22:36 -07:00
Thomas Stromberg ac6dacff4a Address lint issues resulting from the dashboard proxy refactor. 2018-10-03 13:14:47 -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 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 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
Arijit Basu bed9aabaf8 Stay in same line 2018-09-10 12:15:28 -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
Asbjørn Apeland 5a78ac92f6 Change Linux install method
Previously, files installed to /usr/local/bin/ would be owned by the
user executing the command, not root. This change makes these installed
files owned by root instead. Improving security is the goal.
2018-07-31 10:55:22 -07:00
dlorenc deb2ded956 Add back version flag. 2018-07-24 12:36:42 -07:00
dlorenc a3b7a56ae0 Remove the call to validatek8sversion. 2018-07-24 12:36:42 -07:00
Aaron Prindle 8264dc0a12 fix issue where version was not being set 2018-07-24 12:36:42 -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
Dusty Rip 2dea4e1051 Allow zsh completion to be autoloaded by compinit 2018-07-18 09:44:35 -07:00
kairen ad576faae9 Reuse the FeatureGates field to parse kubeadm and component feature gates 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
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 305e803316 Bump Docker API Verson. 2018-06-05 13:45:01 -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
Mark Gibbons 5ed8a7ef91 Made caching async with block for completion before copy of images into cluster. Default imageing caching to false 2018-06-04 08:15:12 -07:00
mlgibbons 0519b237a2 Addressed race condition caused by async image caching with no wait which resulted in unreliable image loading and prevented offline execution of "minikube start". 2018-06-04 08:15:12 -07:00
Li Yi 9198b04386 Fix error messages for enabling/disabling addon
Signed-off-by: Li Yi <denverdino@gmail.com>
2018-04-29 18:06:48 -07:00
AdamDang 12f1833ea9
Typo fix: Seperated list->Separated list
Seperated list->Separated list
2018-04-29 16:27:11 +08:00
dlorenc 0bf5166e14 Deprecate localkube. 2018-04-09 13:24:07 -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
David Muckle adb30393d1 Add metrics-server as an addon 2018-02-21 15:33:27 -05:00
Yongkun Anfernee Gui c07258b45a Fix more permissions 2018-02-09 14:32:53 -08:00
Steve Sloka 4d060d3bdb Bump registry-creds version 2018-02-07 20:09:20 -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
Remi FUSSIEN dde00ebfa3 Fix the description in the completion command 2018-02-02 18:57:29 +01:00
Matt Rickard c76b210393
Merge pull request #2486 from langyxxl/localkube-add-root-check
localkube add ROOT permission check
2018-02-01 16:42:26 -08:00
adolphlwq 9b3805d32f use readable env name 2018-01-31 21:04:49 +08:00
sheng zhang 8b5ffff2d9 localkube add ROOT permission check. 2018-01-30 14:48:18 +08:00
Colin Hoglund 479ca10c75 allow storage-provisioner to be disabled 2018-01-29 14:46:27 -05:00
Zvi Cahana 6e8bb2e0fa List addons in a consistent sort order 2018-01-24 08:11:44 -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
Chen Li d11b74c493 Flush log message to file before exit
Fixes: https://github.com/kubernetes/minikube/issues/2435
2018-01-22 08:19:26 -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
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
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
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
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
Matt Rickard 4077763003 Make none driver work with kubeadm 2018-01-02 12:01:37 -08:00
kairen 777b44695f Improve cache list command 2017-12-08 13:37:55 -06:00
kairen 37bc507e13 Remove duplicate the cache command 2017-12-08 13:37:55 -06:00
kairen c9f3abb0ed Fix gofmt check errors 2017-12-08 13:37:55 -06:00
kairen 1966dab625 Add cache list support 2017-12-08 13:37:55 -06:00
dlorenc 9491ce6dbe Add deprecation notices for kvm and xhyve. 2017-11-29 13:55:29 -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
Priya Wadhwa 6652e7a903
Delete paths to cached images 2017-11-20 16:31:34 -08: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
Matt Rickard e0b9aab31d
Merge pull request #2197 from ulyssessouza/master
#2047 Fix by using 'RunE' instead of 'Run' to propagate the error
2017-11-16 10:15:52 -08:00
Matt Rickard bbc40bd8f6
Merge pull request #2194 from kenden/zsh_completion
Add zsh completion and docs
2017-11-16 08:51:58 -08:00
Patrik Erdes ce018263f4 Add MB to the help text for the --memory flag
Fixes  #2151
2017-11-16 10:36:54 +01:00
ulyssessouza e1dff19117 #2047 Fix by using 'RunE' instead of 'Run' to propagate the error 2017-11-15 03:37:20 +01:00
Quentin Nerden 97edb745c9 Add zsh completion and docs 2017-11-14 22:30:42 +01:00
dlorenc 6f7fd002ab
More storage provisioner fixes.
I'm not sure of a better way to ensure /tmp exists in a from scratch container,
but glog appears to just explode without it.
2017-11-07 11:07:01 -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 7ed6005911
Merge pull request #2139 from mahdix/update_check
Add update-check sub-command to list current and latest version number
2017-10-31 13:16:01 -07:00
Mahdi Mohammadi 6a8d277a01 Better error handling 2017-10-31 19:41:07 +00:00
Matt Rickard 30667cb406 Calculate ServiceClusterIP and DNS IP from CIDR 2017-10-31 10:06:51 -07:00
Mahdi Mohammadi 65e27a4ebd Add update-check sub-command to list current and latest version number 2017-10-31 13:42:11 +00: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
Ulysses Souza 9e8e1f256a #1944 Add the 3 services status in 'minikube status' exit status so it can be checked with a simple bitmask 2017-10-26 10:57:27 +02:00
Matt Rickard 8894ed78b9 Add verbose logging 2017-10-17 15:16:02 -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 8e02089766 Merge pull request #2067 from jiahao/jiahao/addons_list-grammar
addons_list.go: fix grammar in help string
2017-10-16 13:02:38 -07:00
Jiahao Chen 8c78239a98 addons_list.go: fix grammar in help string
there current status -> their current statuses
2017-10-16 15:15:40 -04:00
Matt Rickard 901c844a00 localkube changes 2017-10-13 10:21:16 -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 ec17df3e59 Added sshd, kubeconfig and insecure-serving flags to localkube for dind image 2017-09-28 16:05:51 -07:00
Matt Rickard 9d0c80dc54 Merge pull request #2010 from adolphlwq/remove-repeated-pkg
remove repeated pkg and cmdUtil -> cmdutil
2017-09-27 11:13:52 -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