Merge branch 'master' of github.com:kubernetes/minikube into node-pkg
commit
60c8cfb03c
22
CHANGELOG.md
22
CHANGELOG.md
|
@ -1,5 +1,27 @@
|
||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
|
## Version 1.7.1 - 2020-02-05
|
||||||
|
|
||||||
|
* Create directory using os.MkDirAll, as mkdir -p does not work on windows [#6508](https://github.com/kubernetes/minikube/pull/6508)
|
||||||
|
* Revert role change from cluster-admin->system:persistent-volume-provisioner [#6511](https://github.com/kubernetes/minikube/pull/6511)
|
||||||
|
* gvisor fixes for v1.7.0 [#6512](https://github.com/kubernetes/minikube/pull/6512)
|
||||||
|
* Remove pod list stability double check [#6509](https://github.com/kubernetes/minikube/pull/6509)
|
||||||
|
* Use cluster-dns IP setup by kubeadm [#6472](https://github.com/kubernetes/minikube/pull/6472)
|
||||||
|
* Skip driver autodetection if driver is already set [#6503](https://github.com/kubernetes/minikube/pull/6503)
|
||||||
|
* Customizing host path for dynamically provisioned PersistentVolumes [#6156](https://github.com/kubernetes/minikube/pull/6156)
|
||||||
|
* Update kubeadm api version from v1beta1 to v1beta2 [#6150](https://github.com/kubernetes/minikube/pull/6150)
|
||||||
|
* Use profile name as cluster/node name [#6200](https://github.com/kubernetes/minikube/pull/6200)
|
||||||
|
|
||||||
|
Thank you to our wonderful and amazing contributors who contributed to this bug-fix release:
|
||||||
|
|
||||||
|
- Nanik T
|
||||||
|
- Ruben
|
||||||
|
- Sharif Elgamal
|
||||||
|
- Thomas Strömberg
|
||||||
|
- tstromberg
|
||||||
|
- Vijay Katam
|
||||||
|
- Zhongcheng Lao
|
||||||
|
|
||||||
## Version 1.7.0 - 2020-02-04
|
## Version 1.7.0 - 2020-02-04
|
||||||
|
|
||||||
* Add Azure Container Registry support [#6483](https://github.com/kubernetes/minikube/pull/6483)
|
* Add Azure Container Registry support [#6483](https://github.com/kubernetes/minikube/pull/6483)
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -15,12 +15,12 @@
|
||||||
# Bump these on release - and please check ISO_VERSION for correctness.
|
# Bump these on release - and please check ISO_VERSION for correctness.
|
||||||
VERSION_MAJOR ?= 1
|
VERSION_MAJOR ?= 1
|
||||||
VERSION_MINOR ?= 7
|
VERSION_MINOR ?= 7
|
||||||
VERSION_BUILD ?= 0
|
VERSION_BUILD ?= 1
|
||||||
RAW_VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).${VERSION_BUILD}
|
RAW_VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).${VERSION_BUILD}
|
||||||
VERSION ?= v$(RAW_VERSION)
|
VERSION ?= v$(RAW_VERSION)
|
||||||
|
|
||||||
# Default to .0 for higher cache hit rates, as build increments typically don't require new ISO versions
|
# Default to .0 for higher cache hit rates, as build increments typically don't require new ISO versions
|
||||||
ISO_VERSION ?= v$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_BUILD)
|
ISO_VERSION ?= v$(VERSION_MAJOR).$(VERSION_MINOR).0
|
||||||
# Dashes are valid in semver, but not Linux packaging. Use ~ to delimit alpha/beta
|
# Dashes are valid in semver, but not Linux packaging. Use ~ to delimit alpha/beta
|
||||||
DEB_VERSION ?= $(subst -,~,$(RAW_VERSION))
|
DEB_VERSION ?= $(subst -,~,$(RAW_VERSION))
|
||||||
RPM_VERSION ?= $(DEB_VERSION)
|
RPM_VERSION ?= $(DEB_VERSION)
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "v1.7.1",
|
||||||
|
"checksums": {
|
||||||
|
"darwin": "ac6b1eb8ff6a98f0f4a8f26fddd7a9fd8dbdd7a5029cf87a9315399d31e4f6ce",
|
||||||
|
"linux": "1313da4fce807f2d5cd4664d8a59422067a3377ddd37fa66df9aa0bb228e154b",
|
||||||
|
"windows": "640ad4ba69926be2ea64140a5d6d80122f030c8bf75ae4afeca11eeff865feac"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "v1.7.0",
|
"name": "v1.7.0",
|
||||||
"checksums": {
|
"checksums": {
|
||||||
|
|
|
@ -70,7 +70,7 @@ func getExtraOptsPodCidr() []config.ExtraOption {
|
||||||
|
|
||||||
func recentReleases() ([]string, error) {
|
func recentReleases() ([]string, error) {
|
||||||
// test the 6 most recent releases
|
// test the 6 most recent releases
|
||||||
versions := []string{"v1.17", "v1.16", "v1.15", "v1.14", "v1.13", "v1.12", "v1.11"}
|
versions := []string{"v1.19", "v1.18", "v1.17", "v1.16", "v1.15", "v1.14", "v1.13", "v1.12", "v1.11"}
|
||||||
foundNewest := false
|
foundNewest := false
|
||||||
foundDefault := false
|
foundDefault := false
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ weight = 1
|
||||||
[params]
|
[params]
|
||||||
copyright = "The Kubernetes Authors -- "
|
copyright = "The Kubernetes Authors -- "
|
||||||
# The latest release of minikube
|
# The latest release of minikube
|
||||||
latest_release = "1.6.2"
|
latest_release = "1.7.1"
|
||||||
|
|
||||||
privacy_policy = ""
|
privacy_policy = ""
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,14 @@ Lists all available minikube addons as well as their current statuses (enabled/d
|
||||||
```
|
```
|
||||||
minikube addons list [flags]
|
minikube addons list [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
```
|
||||||
|
-h, --help help for list
|
||||||
|
-o, --output string minikube addons list --output OUTPUT. json, list (default "list")
|
||||||
|
```
|
||||||
|
|
||||||
## minikube addons open
|
## minikube addons open
|
||||||
|
|
||||||
Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list
|
Opens the addon w/ADDON_NAME within minikube (example: minikube addons open dashboard). For a list of available addons use: minikube addons list
|
||||||
|
|
|
@ -39,3 +39,11 @@ minikube cache list [flags]
|
||||||
For the list of accessible variables for the template, see the struct values here: https://godoc.org/k8s.io/minikube/cmd/minikube/cmd#CacheListTemplate (default "{{.CacheImage}}\n")
|
For the list of accessible variables for the template, see the struct values here: https://godoc.org/k8s.io/minikube/cmd/minikube/cmd#CacheListTemplate (default "{{.CacheImage}}\n")
|
||||||
-h, --help help for list
|
-h, --help help for list
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## minikube cache reload
|
||||||
|
|
||||||
|
reloads images previously added using the 'cache add' subcommand
|
||||||
|
|
||||||
|
```
|
||||||
|
minikube cache reload [flags]
|
||||||
|
```
|
|
@ -14,6 +14,7 @@ config modifies minikube config files using subcommands like "minikube config se
|
||||||
Configurable fields:
|
Configurable fields:
|
||||||
|
|
||||||
* vm-driver
|
* vm-driver
|
||||||
|
* container-runtime
|
||||||
* feature-gates
|
* feature-gates
|
||||||
* v
|
* v
|
||||||
* cpus
|
* cpus
|
||||||
|
@ -33,26 +34,13 @@ Configurable fields:
|
||||||
* bootstrapper
|
* bootstrapper
|
||||||
* ShowDriverDeprecationNotification
|
* ShowDriverDeprecationNotification
|
||||||
* ShowBootstrapperDeprecationNotification
|
* ShowBootstrapperDeprecationNotification
|
||||||
* dashboard
|
* insecure-registry
|
||||||
* addon-manager
|
|
||||||
* default-storageclass
|
|
||||||
* efk
|
|
||||||
* ingress
|
|
||||||
* registry
|
|
||||||
* registry-creds
|
|
||||||
* freshpod
|
|
||||||
* default-storageclass
|
|
||||||
* storage-provisioner
|
|
||||||
* storage-provisioner-gluster
|
|
||||||
* metrics-server
|
|
||||||
* nvidia-driver-installer
|
|
||||||
* nvidia-gpu-device-plugin
|
|
||||||
* logviewer
|
|
||||||
* gvisor
|
|
||||||
* hyperv-virtual-switch
|
* hyperv-virtual-switch
|
||||||
* disable-driver-mounts
|
* disable-driver-mounts
|
||||||
* cache
|
* cache
|
||||||
* embed-certs
|
* embed-certs
|
||||||
|
* native-ssh
|
||||||
|
|
||||||
|
|
||||||
### subcommands
|
### subcommands
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ minikube logs [flags]
|
||||||
```
|
```
|
||||||
-f, --follow Show only the most recent journal entries, and continuously print new entries as they are appended to the journal.
|
-f, --follow Show only the most recent journal entries, and continuously print new entries as they are appended to the journal.
|
||||||
-h, --help help for logs
|
-h, --help help for logs
|
||||||
-n, --length int Number of lines back to go within the log (default 50)
|
-n, --length int Number of lines back to go within the log (default 60)
|
||||||
--problems Show only log entries which point to known problems
|
--problems Show only log entries which point to known problems
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
---
|
||||||
|
title: "pause"
|
||||||
|
linkTitle: "pause"
|
||||||
|
weight: 1
|
||||||
|
date: 2020-02-05
|
||||||
|
description: >
|
||||||
|
pause the Kubernetes control plane or other namespaces
|
||||||
|
---
|
||||||
|
|
||||||
|
### Overview
|
||||||
|
|
||||||
|
The pause command allows you to freeze containers using the Linux [cgroup freezer](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt). Once frozen, processes will no longer consume CPU cycles, but will remain in memory.
|
||||||
|
|
||||||
|
By default, the pause command will pause the Kubernetes control plane (kube-system namespace), leaving your applications running. This reduces the background CPU usage of a minikube cluster to a negligable 2-3% of a CPU.
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
minikube pause [flags]
|
||||||
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
```
|
||||||
|
-n, ----namespaces strings namespaces to pause (default [kube-system,kubernetes-dashboard,storage-gluster,istio-operator])
|
||||||
|
-A, --all-namespaces If set, pause all namespaces
|
||||||
|
-h, --help help for pause
|
||||||
|
```
|
||||||
|
|
||||||
|
### Options inherited from parent commands
|
||||||
|
|
||||||
|
```
|
||||||
|
--alsologtostderr log to standard error as well as files
|
||||||
|
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
|
||||||
|
--log_dir string If non-empty, write log files in this directory
|
||||||
|
--logtostderr log to standard error instead of files
|
||||||
|
-p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
|
||||||
|
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
|
||||||
|
-v, --v Level log level for V logs
|
||||||
|
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
|
||||||
|
```
|
||||||
|
|
||||||
|
### SEE ALSO
|
||||||
|
|
||||||
|
* [unpause](unpause.md)
|
||||||
|
|
|
@ -49,3 +49,10 @@ Lists all valid minikube profiles and detects all possible invalid profiles.
|
||||||
```
|
```
|
||||||
minikube profile list [flags]
|
minikube profile list [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
```
|
||||||
|
-h, --help help for list
|
||||||
|
-o, --output string The output format. One of 'json', 'table' (default "table")
|
||||||
|
```
|
||||||
|
|
|
@ -27,7 +27,7 @@ minikube service [flags] SERVICE
|
||||||
--format string Format to output service URL in. This format will be applied to each url individually and they will be printed one at a time. (default "http://{{.IP}}:{{.Port}}")
|
--format string Format to output service URL in. This format will be applied to each url individually and they will be printed one at a time. (default "http://{{.IP}}:{{.Port}}")
|
||||||
-h, --help help for service
|
-h, --help help for service
|
||||||
--https Open the service URL with https instead of http
|
--https Open the service URL with https instead of http
|
||||||
--interval int The time interval for each check that wait performs in seconds (default 6)
|
--interval int The initial time interval for each check that wait performs in seconds (default 6)
|
||||||
-n, --namespace string The service namespace (default "default")
|
-n, --namespace string The service namespace (default "default")
|
||||||
--url Display the kubernetes service URL in the CLI instead of opening it in the default browser
|
--url Display the kubernetes service URL in the CLI instead of opening it in the default browser
|
||||||
--wait int Amount of time to wait for a service in seconds (default 20)
|
--wait int Amount of time to wait for a service in seconds (default 20)
|
||||||
|
|
|
@ -13,18 +13,10 @@ description: >
|
||||||
```
|
```
|
||||||
minikube ssh [flags]
|
minikube ssh [flags]
|
||||||
```
|
```
|
||||||
```
|
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--alsologtostderr log to standard error as well as files
|
-h, --help help for ssh
|
||||||
-b, --bootstrapper string The name of the cluster bootstrapper that will set up the kubernetes cluster. (default "kubeadm")
|
--native-ssh Use native Golang SSH client (default true). Set to 'false' to use the command line 'ssh' command when accessing the docker machine. Useful for the machine drivers when they will not start with 'Waiting for SSH'. (default true)
|
||||||
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
|
|
||||||
--log_dir string If non-empty, write log files in this directory
|
|
||||||
--logtostderr log to standard error instead of files
|
|
||||||
-p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
|
|
||||||
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
|
|
||||||
-v, --v Level log level for V logs
|
|
||||||
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -16,60 +16,69 @@ minikube start [flags]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--addons Enable addons. see `minikube addons list` for a list of valid addon names.
|
--addons minikube addons list Enable addons. see minikube addons list for a list of valid addon names.
|
||||||
--apiserver-ips ipSlice A set of apiserver IP Addresses which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine (default [])
|
--apiserver-ips ipSlice A set of apiserver IP Addresses which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine (default [])
|
||||||
--apiserver-name string The apiserver name which is used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine (default "minikubeCA")
|
--apiserver-name string The apiserver name which is used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine (default "minikubeCA")
|
||||||
--apiserver-names stringArray A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine
|
--apiserver-names stringArray A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine
|
||||||
--apiserver-port int The apiserver listening port (default 8443)
|
--apiserver-port int The apiserver listening port (default 8443)
|
||||||
--cache-images If true, cache docker images for the current bootstrapper and load them into the machine. Always false with --vm-driver=none. (default true)
|
--auto-update-drivers If set, automatically updates drivers to the latest version. Defaults to true. (default true)
|
||||||
--container-runtime string The container runtime to be used (docker, crio, containerd). (default "docker")
|
--cache-images If true, cache docker images for the current bootstrapper and load them into the machine. Always false with --vm-driver=none. (default true)
|
||||||
--cpus int Number of CPUs allocated to the minikube VM. (default 2)
|
--container-runtime string The container runtime to be used (docker, crio, containerd). (default "docker")
|
||||||
--cri-socket string The cri socket path to be used.
|
--cpus int Number of CPUs allocated to the minikube VM. (default 2)
|
||||||
--disable-driver-mounts Disables the filesystem mounts provided by the hypervisors
|
--cri-socket string The cri socket path to be used.
|
||||||
--disk-size string Disk size allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g). (default "20000mb")
|
--disable-driver-mounts Disables the filesystem mounts provided by the hypervisors
|
||||||
--dns-domain string The cluster dns domain name used in the kubernetes cluster (default "cluster.local")
|
--disk-size string Disk size allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g). (default "20000mb")
|
||||||
--dns-proxy Enable proxy for NAT DNS requests (virtualbox)
|
--dns-domain string The cluster dns domain name used in the kubernetes cluster (default "cluster.local")
|
||||||
--docker-env stringArray Environment variables to pass to the Docker daemon. (format: key=value)
|
--dns-proxy Enable proxy for NAT DNS requests (virtualbox driver only)
|
||||||
--docker-opt stringArray Specify arbitrary flags to pass to the Docker daemon. (format: key=value)
|
--docker-env stringArray Environment variables to pass to the Docker daemon. (format: key=value)
|
||||||
--download-only If true, only download and cache files for later use - don't install or start anything.
|
--docker-opt stringArray Specify arbitrary flags to pass to the Docker daemon. (format: key=value)
|
||||||
--embed-certs if true, will embed the certs in kubeconfig.
|
--download-only If true, only download and cache files for later use - don't install or start anything.
|
||||||
--enable-default-cni Enable the default CNI plugin (/etc/cni/net.d/k8s.conf). Used in conjunction with "--network-plugin=cni".
|
--dry-run dry-run mode. Validates configuration, but does not mutate system state
|
||||||
--extra-config ExtraOption A set of key=value pairs that describe configuration that may be passed to different components.
|
--embed-certs if true, will embed the certs in kubeconfig.
|
||||||
The key should be '.' separated, and the first part before the dot is the component to apply the configuration to.
|
--enable-default-cni Enable the default CNI plugin (/etc/cni/net.d/k8s.conf). Used in conjunction with "--network-plugin=cni".
|
||||||
Valid components are: kubelet, kubeadm, apiserver, controller-manager, etcd, proxy, scheduler
|
--extra-config ExtraOption A set of key=value pairs that describe configuration that may be passed to different components.
|
||||||
Valid kubeadm parameters: ignore-preflight-errors, dry-run, kubeconfig, kubeconfig-dir, node-name, cri-socket, experimental-upload-certs, certificate-key, rootfs, pod-network-cidr
|
|
||||||
--feature-gates string A set of key=value pairs that describe feature gates for alpha/experimental features.
|
The key should be '.' separated, and the first part before the dot is the component to apply the configuration to.
|
||||||
--force Force minikube to perform possibly dangerous operations
|
|
||||||
-h, --help help for start
|
Valid components are: kubelet, kubeadm, apiserver, controller-manager, etcd, proxy, scheduler
|
||||||
--host-dns-resolver Enable host resolver for NAT DNS requests (virtualbox) (default true)
|
|
||||||
--host-only-cidr string The CIDR to be used for the minikube VM (only supported with Virtualbox driver) (default "192.168.99.1/24")
|
Valid kubeadm parameters: ignore-preflight-errors, dry-run, kubeconfig, kubeconfig-dir, node-name, cri-socket, experimental-upload-certs, certificate-key, rootfs, pod-network-cidr
|
||||||
--hyperkit-vpnkit-sock string 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.
|
|
||||||
--hyperkit-vsock-ports strings List of guest VSock ports that should be exposed as sockets on the host (Only supported on with hyperkit now).
|
--feature-gates string A set of key=value pairs that describe feature gates for alpha/experimental features.
|
||||||
--hyperv-virtual-switch string The hyperv virtual switch name. Defaults to first found. (only supported with HyperV driver)
|
--force Force minikube to perform possibly dangerous operations
|
||||||
--image-mirror-country string Country code of the image mirror to be used. Leave empty to use the global one. For Chinese mainland users, set it to cn
|
-h, --help help for start
|
||||||
--image-repository string Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to "auto" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers
|
--host-dns-resolver Enable host resolver for NAT DNS requests (virtualbox driver only) (default true)
|
||||||
--insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added.
|
--host-only-cidr string The CIDR to be used for the minikube VM (virtualbox driver only) (default "192.168.99.1/24")
|
||||||
--iso-url string Location of the minikube iso. (default "https://storage.googleapis.com/minikube/iso/minikube-v1.3.0.iso")
|
--host-only-nic-type string NIC Type used for host only network. One of Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, or virtio (virtualbox driver only) (default "virtio")
|
||||||
--keep-context This will keep the existing kubectl context and will create a minikube context.
|
--hyperkit-vpnkit-sock string 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 (hyperkit driver only)
|
||||||
--kubernetes-version string The kubernetes version that the minikube VM will use (ex: v1.2.3) (default "v1.15.2")
|
--hyperkit-vsock-ports strings List of guest VSock ports that should be exposed as sockets on the host (hyperkit driver only)
|
||||||
--kvm-gpu Enable experimental NVIDIA GPU support in minikube
|
--hyperv-virtual-switch string The hyperv virtual switch name. Defaults to first found. (hyperv driver only)
|
||||||
--kvm-hidden Hide the hypervisor signature from the guest in minikube
|
--image-mirror-country string Country code of the image mirror to be used. Leave empty to use the global one. For Chinese mainland users, set it to cn.
|
||||||
--kvm-network string The KVM network name. (only supported with KVM driver) (default "default")
|
--image-repository string Alternative image repository to pull docker images from. This can be used when you have limited access to gcr.io. Set it to "auto" to let minikube decide one for you. For Chinese mainland users, you may use local gcr.io mirrors such as registry.cn-hangzhou.aliyuncs.com/google_containers
|
||||||
--kvm-qemu-uri string The KVM QEMU connection URI. (works only with kvm2 driver on linux) (default "qemu:///system")
|
--insecure-registry strings Insecure Docker registries to pass to the Docker daemon. The default service CIDR range will automatically be added.
|
||||||
--memory string Amount of RAM allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g). (default "2000mb")
|
--interactive Allow user prompts for more information (default true)
|
||||||
--mount This will start the mount daemon and automatically mount files into minikube.
|
--iso-url string Location of the minikube iso. (default "https://storage.googleapis.com/minikube/iso/minikube-v1.7.0.iso")
|
||||||
--mount-string string The argument to pass the minikube mount command on start. (default "/Users:/minikube-host")
|
--keep-context This will keep the existing kubectl context and will create a minikube context.
|
||||||
--network-plugin string The name of the network plugin.
|
--kubernetes-version string The kubernetes version that the minikube VM will use (ex: v1.2.3)
|
||||||
--nfs-share strings Local folders to share with Guest via NFS mounts (Only supported on with hyperkit now)
|
--kvm-gpu Enable experimental NVIDIA GPU support in minikube
|
||||||
--nfs-shares-root string Where to root the NFS Shares (defaults to /nfsshares, only supported with hyperkit now) (default "/nfsshares")
|
--kvm-hidden Hide the hypervisor signature from the guest in minikube (kvm2 driver only)
|
||||||
--no-vtx-check Disable checking for the availability of hardware virtualization before the vm is started (virtualbox)
|
--kvm-network string The KVM network name. (kvm2 driver only) (default "default")
|
||||||
--registry-mirror strings Registry mirrors to pass to the Docker daemon
|
--kvm-qemu-uri string The KVM QEMU connection URI. (kvm2 driver only) (default "qemu:///system")
|
||||||
--service-cluster-ip-range string The CIDR to be used for service cluster IPs. (default "10.96.0.0/12")
|
--memory string Amount of RAM allocated to the minikube VM (format: <number>[<unit>], where unit = b, k, m or g). (default "2000mb")
|
||||||
--uuid string Provide VM UUID to restore MAC address (only supported with Hyperkit driver).
|
--mount This will start the mount daemon and automatically mount files into minikube.
|
||||||
--vm-driver string VM driver is one of: [virtualbox parallels vmwarefusion hyperkit vmware] (default "virtualbox")
|
--mount-string string The argument to pass the minikube mount command on start. (default "/Users:/minikube-host")
|
||||||
--wait Wait until Kubernetes core services are healthy before exiting. (default true)
|
--nat-nic-type string NIC Type used for host only network. One of Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, or virtio (virtualbox driver only) (default "virtio")
|
||||||
--wait-timeout duration max time to wait per Kubernetes core services to be healthy. (default 3m0s)
|
--native-ssh Use native Golang SSH client (default true). Set to 'false' to use the command line 'ssh' command when accessing the docker machine. Useful for the machine drivers when they will not start with 'Waiting for SSH'. (default true)
|
||||||
```
|
--network-plugin string The name of the network plugin.
|
||||||
|
--nfs-share strings Local folders to share with Guest via NFS mounts (hyperkit driver only)
|
||||||
|
--nfs-shares-root string Where to root the NFS Shares, defaults to /nfsshares (hyperkit driver only) (default "/nfsshares")
|
||||||
|
--no-vtx-check Disable checking for the availability of hardware virtualization before the vm is started (virtualbox driver only)
|
||||||
|
--registry-mirror strings Registry mirrors to pass to the Docker daemon
|
||||||
|
--service-cluster-ip-range string The CIDR to be used for service cluster IPs. (default "10.96.0.0/12")
|
||||||
|
--uuid string Provide VM UUID to restore MAC address (hyperkit driver only)
|
||||||
|
--vm-driver string Driver is one of: virtualbox, parallels, vmwarefusion, hyperkit, vmware, docker (experimental) (defaults to auto-detect)
|
||||||
|
--wait Block until the apiserver is servicing API requests (default true)
|
||||||
|
--wait-timeout duration max time to wait per Kubernetes core services to be healthy. (default 6m0s)```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
||||||
|
|
|
@ -23,13 +23,30 @@ minikube status [flags]
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--format string Go template format string for the status output. The format for Go templates can be found here: https://golang.org/pkg/text/template/
|
-f, --format string Go template format string for the status output. The format for Go templates can be found here: https://golang.org/pkg/text/template/
|
||||||
For the list accessible variables for the template, see the struct values here: https://godoc.org/k8s.io/minikube/cmd/minikube/cmd#Status (default "host: {{.Host}}\nkubelet: {{.Kubelet}}\napiserver: {{.APIServer}}\nkubectl: {{.Kubeconfig}}\n")
|
|
||||||
|
For the list accessible variables for the template, see the struct values here: https://godoc.org/k8s.io/minikube/cmd/minikube/cmd#Status (default "host: {{.Host}}\nkubelet: {{.Kubelet}}\napiserver: {{.APIServer}}\nkubeconfig: {{.Kubeconfig}}\n")
|
||||||
|
|
||||||
-h, --help help for status
|
-h, --help help for status
|
||||||
|
-o, --output string minikube status --output OUTPUT. json, text (default "text")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
||||||
|
```
|
||||||
|
--alsologtostderr log to standard error as well as files
|
||||||
|
-b, --bootstrapper string The name of the cluster bootstrapper that will set up the kubernetes cluster. (default "kubeadm")
|
||||||
|
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
|
||||||
|
--log_dir string If non-empty, write log files in this directory
|
||||||
|
--logtostderr log to standard error instead of files
|
||||||
|
-p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
|
||||||
|
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
|
||||||
|
-v, --v Level log level for V logs
|
||||||
|
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
|
||||||
|
```
|
||||||
|
|
||||||
|
### Options inherited from parent commands
|
||||||
|
|
||||||
```
|
```
|
||||||
--alsologtostderr log to standard error as well as files
|
--alsologtostderr log to standard error as well as files
|
||||||
-b, --bootstrapper string The name of the cluster bootstrapper that will set up the kubernetes cluster. (default "kubeadm")
|
-b, --bootstrapper string The name of the cluster bootstrapper that will set up the kubernetes cluster. (default "kubeadm")
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
---
|
||||||
|
title: "unpause"
|
||||||
|
linkTitle: "unpause"
|
||||||
|
weight: 1
|
||||||
|
date: 2020-02-05
|
||||||
|
description: >
|
||||||
|
unpause the Kubernetes control plane or other namespaces
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
minikube unpause [flags]
|
||||||
|
```
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
```
|
||||||
|
-n, ----namespaces strings namespaces to unpause (default [kube-system,kubernetes-dashboard,storage-gluster,istio-operator])
|
||||||
|
-A, --all-namespaces If set, unpause all namespaces
|
||||||
|
-h, --help help for unpause
|
||||||
|
```
|
||||||
|
|
||||||
|
### Options inherited from parent commands
|
||||||
|
|
||||||
|
```
|
||||||
|
--alsologtostderr log to standard error as well as files
|
||||||
|
-b, --bootstrapper string The name of the cluster bootstrapper that will set up the kubernetes cluster. (default "kubeadm")
|
||||||
|
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
|
||||||
|
--log_dir string If non-empty, write log files in this directory
|
||||||
|
--logtostderr log to standard error instead of files
|
||||||
|
-p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
|
||||||
|
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
|
||||||
|
-v, --v Level log level for V logs
|
||||||
|
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
|
||||||
|
```
|
||||||
|
|
||||||
|
### SEE ALSO
|
||||||
|
|
||||||
|
* [pause](pause.md)
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
title: "docker"
|
||||||
|
linkTitle: "docker"
|
||||||
|
weight: 3
|
||||||
|
date: 2020-02-05
|
||||||
|
description: >
|
||||||
|
Docker driver (EXPERIMENTAL)
|
||||||
|
---
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
The Docker driver is an experimental VM-free driver that ships with minikube v1.7.
|
||||||
|
|
||||||
|
This driver was inspired by the [kind project](https://kind.sigs.k8s.io/), and uses a modified version of its base image.
|
||||||
|
|
||||||
|
## Special features
|
||||||
|
|
||||||
|
No hypervisor required when run on Linux.
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
As an experimental driver, not all commands are supported on all platforms. Notably: `mount,` `service`, `tunnel`, and others. Most of these limitations will be addressed by minikube v1.8 (March 2020)
|
||||||
|
|
||||||
|
## Issues
|
||||||
|
|
||||||
|
* [Full list of open 'kic-driver' issues](https://github.com/kubernetes/minikube/labels/co%2Fkic-driver)
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
* Run `minikube start --alsologtostderr -v=1` to debug crashes
|
|
@ -21,8 +21,8 @@ Download and install minikube to /usr/local/bin:
|
||||||
Download and install minikube:
|
Download and install minikube:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< latest >}}.deb \
|
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< latest >}}-0_amd64.deb \
|
||||||
&& sudo dpkg -i minikube_{{< latest >}}.deb
|
&& sudo dpkg -i minikube_{{< latest >}}-0_amd64.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
|
@ -32,8 +32,8 @@ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< la
|
||||||
Download and install minikube:
|
Download and install minikube:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-{{< latest >}}.rpm \
|
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-{{< latest >}}-0.x86_64.rpm \
|
||||||
&& sudo rpm -ivh minikube-{{< latest >}}.rpm
|
&& sudo rpm -ivh minikube-{{< latest >}}-0.x86_64.rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
|
|
Loading…
Reference in New Issue