Commit Graph

205 Commits (master)

Author SHA1 Message Date
Chris Tomkins 0cfa2a93fc
Update site/content/en/docs/handbook/network_policy.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2022-02-17 10:43:38 +00:00
Chris Tomkins 05d452e54e
Update site/content/en/docs/handbook/network_policy.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2022-02-17 10:43:29 +00:00
Chris Tomkins ce4c8425c5
Update site/content/en/docs/handbook/network_policy.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2022-02-17 10:43:18 +00:00
Chris Tomkins 95a5fd0495
Update site/content/en/docs/handbook/network_policy.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2022-02-17 10:42:54 +00:00
Chris Tomkins 649fa1925f
Update site/content/en/docs/handbook/network_policy.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2022-02-17 10:42:40 +00:00
Chris Tomkins 27cd4c27c6 Clarifying install process 2022-02-14 10:42:53 +00:00
Sharif Elgamal 634b8030f9 Merge branch 'master' of github.com:kubernetes/minikube into anders-default-runtime 2022-02-01 12:59:09 -08:00
Chris Tomkins 2f2d026f3f Added Network Policy page to handbook 2022-02-01 14:22:53 +00:00
Chris Tomkins 51092e0e3a Added Network Policy page to handbook 2022-02-01 14:08:07 +00:00
Sharif Elgamal 034f55696d
Merge pull request #13326 from gAmUssA/addons/kong
[Addon] Kong Ingress Controller
2022-01-31 17:15:54 -08:00
Medya Ghazizadeh 017047126d
Merge pull request #13069 from olivierbouchomsfreshheads/patch-1
site: Add info about gcp-auth to registry handbook page
2022-01-26 14:15:50 -08:00
Viktor Gamov 7d129a660e docs: typo fix 2022-01-25 17:58:51 -05:00
Viktor Gamov 5cc50e64cb added Kong addon documentation and quick start 2022-01-25 17:49:38 -05:00
klaases 507019db3c Add hyperkit flags documentation. 2022-01-25 12:08:15 -08:00
klaases 601dbe3a76
Remove `(see NFS mounts)` as link no longer exists
Fixes #12898

Correct documentation for macOS as Hyperkit is not supported on Linux.

Before:
HyperKit | Linux | Unsupported | (see NFS mounts) |

After:
HyperKit | macOS | Unsupported | |
2022-01-19 12:16:32 -08:00
Anders F Björklund 5e81561501 Document container runtimes available 2022-01-17 20:13:20 +01:00
Anders F Björklund c4800a6115 Make the default container runtime dynamic
Since the dockershim removal, there is no longer a constant
default container runtime provided by upstream. Only CRI.
2022-01-04 15:03:57 +01:00
Steven Powell b17834c96b added env to suppress Docker performance messages 2021-12-14 13:46:52 -08:00
Oleksii Prudkyi 8b2f0fb8b0
use ingress-dns addon inside cluster
use ingress-dns addon to resolve local DNS names inside cluster
2021-12-12 18:26:46 +02:00
Sharif Elgamal 2b9979ec21
Merge pull request #13033 from oprudkyi/patch-1
Clarify documentation for using ingress-dns plugin on Linux with Network Manager
2021-12-07 11:06:20 -08:00
Olivier Bouchoms c4ec4c5d87
Add info about gcp-auth to registry handbook page
It's hard to distinguish Google Container Registry and Google Artifact Registry. They have to be configured differently. I think it wouldn't hurt to emphasize that in the docs.
2021-12-02 16:40:17 +01:00
Anders F Björklund d3eb773d35 Add some clarification on mounts needed for none
Normally these are provided by "minikube-automount",
but with the none driver you are on your own (as usual)
2021-11-29 18:37:26 +01:00
Oleksii Prudkyi 13b84e6824
Clarify configuration of Network Manager
Details for ingress-dns setup on Linux with Network Manager
verified on 
openSUSE Leap 15.3
NetworkManager 1.22.10
Dnsmasq version 2.86
2021-11-27 18:36:48 +02:00
Steven Powell 212e99ae3c
Merge pull request #12980 from mpuckett159/docs/add-windows-versions
Docs add windows versions of commands
2021-11-18 13:15:24 -08:00
Marcus Puckett 47f02aa3d2
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:28:57 -08:00
Marcus Puckett 5110a20b1b
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:28:54 -08:00
Marcus Puckett 5338563ed7
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:28:50 -08:00
Marcus Puckett 4d63d252a2
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:28:45 -08:00
Marcus Puckett 084e561404
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:28:41 -08:00
Marcus Puckett d27c08fce2
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:28:35 -08:00
Marcus Puckett d8981fe20a
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:27:50 -08:00
Marcus Puckett d34b7f6ab5
Update site/content/en/docs/handbook/pushing.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:27:43 -08:00
Marcus Puckett 11c2ab297b
Update site/content/en/docs/handbook/config.md
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-18 10:27:32 -08:00
Marcus Puckett b0ce8ae348 Fix Alias issue in kubectl page
You can't just set alias the way I thought you could so using function instead to create alias.
2021-11-17 17:29:17 -08:00
Marcus Puckett 8b0fbf1e06 Fix Windows example for emoji disable and add Powershell for system vars
I forgot to add the `minikube start` line in the Windows example. I also remembered how to add persistent User level system environment variables from Powershell and added that in the doc page, as well as how to add them via Powershell's version of `.bashrc`.
2021-11-17 17:02:21 -08:00
Marcus Puckett 19cd50d607 Updating handbook/addons/ingress-dns.md to use similar tab formatting
As discussed in #12968 I'm updating the type of tab formatting used by this page to match the rest of the docs, using the `{{% tabs %}}` format rather than the `{{% card %}}` format.
2021-11-17 16:17:45 -08:00
Marcus Puckett d53a071aed Add Windows commands to docs
Some of the doc pages don't have Windows versions of some of the commands. I've added cross OS/shell versions for some of them.
2021-11-17 16:15:45 -08:00
rahil-p ddf9644e50 fix grammar in `ingress-dns` docs 2021-11-09 22:08:06 -05:00
Rahil Patel 544d6261c1
fix `minikube ip` syntax for consistency
removes the bash command substitution syntax for `minikube ip` when mentioned inline
2021-11-08 08:38:16 -05:00
rahil-p 2eb6de818a cleans up the ingress-dns docs 2021-11-08 03:32:29 -05:00
Nicolas Busseneau 02a43c52e2
virtualbox: change default `host-only-cidr`
We change the default `--host-only-cidr` to `192.168.59.1/24` in order
to be compatible with the new default host-only networking restrictions
implemented in VirtualBox 6.1.28.

This fixes access denied errors on `minikube start` when using
VirtualBox >= 6.1.28:

```
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp
```

More details:

VirtualBox 6.1.28 introduced new restrictions on host-only networking:
https://www.virtualbox.org/wiki/Changelog-6.1#v28

Manual: https://www.virtualbox.org/manual/ch06.html#network_hostonly

> On Linux, Mac OS X and Solaris Oracle VM VirtualBox will only allow IP
> addresses in 192.68.56.0/21 range to be assigned to host-only
> adapters. For IPv6 only link-local addresses are allowed. If other
> ranges are desired, they can be enabled by creating
> /etc/vbox/networks.conf and specifying allowed ranges there. For
> example, to allow 10.0.0.0/8 and 192.168.0.0/16 IPv4 ranges as well as
> 2001::/64 range put the following lines into /etc/vbox/networks.conf:
>
>      * 10.0.0.0/8 192.168.0.0/16
>      * 2001::/64
>
> Lines starting with the hash # are ignored. Next example allows any
> addresses, effectively disabling range control:
>
>      * 0.0.0.0/0 ::/0

These new restrictions manifest in the form of the following issue on
`minikube start` due to the default `--host-only-cidr` used by the
VirtualBox driver being `192.168.99.1/24`:

```console
😄  minikube v1.23.2 on Ubuntu 18.04
  Using the virtualbox driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
🔥  Deleting "minikube" in virtualbox ...
🤦  StartHost failed, but will try again: creating host: create: creating: Error setting up host only network on machine start: /usr/bin/VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp

🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
😿  Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Error setting up host only network on machine start: /usr/bin/VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp

  Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: creating: Error setting up host only network on machine start: /usr/bin/VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp

╭───────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                           │
│    😿  If the above advice does not help, please let us know:                             │
│    👉  https://github.com/kubernetes/minikube/issues/new/choose                           │
│                                                                                           │
│    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    │
│                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
```

While the above is the primary error, other errors will be reported if
the adapter already exists (this happens when the adapter was created
before updating to VirtualBox 6.1.28, on a version of VirtualBox without
the new restrictions). Some examples:

```
 Exiting due to IF_VBOX_NOT_VISIBLE: Failed to start host: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
```

```
  minikube is unable to connect to the VM: dial tcp 192.168.99.112:22: i/o timeout

	This is likely due to one of two reasons:

	- VPN or firewall interference
	- virtualbox network configuration issue

	Suggested workarounds:

	- Disable your local VPN or firewall software
	- Configure your local VPN or firewall to allow access to 192.168.99.112
	- Restart or reinstall virtualbox
	- Use an alternative --vm-driver
	- Use --force to override this connectivity check

  Exiting due to GUEST_PROVISION: Failed to validate network: dial tcp 192.168.99.112:22: i/o timeout
```

When switching to a valid CIDR, `minikube start` works as usual:

```console
😄  minikube v1.23.2 on Ubuntu 18.04
  Using the virtualbox driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.22.2 on Docker 20.10.8 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🔎  Verifying Kubernetes components...
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
```

Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
2021-11-02 15:30:46 +01:00
Taylor Steil 362e42bf7a
Updated windows commands to reflect recent changes
The current windows commands to setup a local registry no longer worked for me. The registry addon is setup to listen on port 80, not port 5000. It is unclear if this is a bug or intentional. If it is intentional, the changes in this PR should get this documentation up to date.

Specifically, this PR updates the port forward from 5000:5000 to 5000:80, and adds another line to make it more clear that the "registry vm" is the registry service as obtained from the list of services.
2021-10-06 13:07:06 -07:00
Lakshya Gupta d5ebf3d5c3 updated order of the commands to match with the methods 2021-09-18 17:58:47 +05:30
Lakshya Gupta 2227267a17 fixed broken links 2021-09-18 16:42:54 +05:30
Brian de Alwis 60d611eeff
doc: be more specific as to what the gcp-auth does 2021-09-16 11:32:06 -04:00
Joel Klint 3e83449bf0
Added windows instructions for adding a dns-server
Added missing instructions for Windows, regarding adding minikube ip as a dns server
2021-09-02 16:40:10 +02:00
Parthvi Vala 0255bbb675
Fix typo in addons/ingress-dns 2021-08-10 12:47:03 +05:30
Maxime Kjaer 2a7d7d5e05
Fix indentation of JSON manifest 2021-06-28 11:40:42 +02:00
zhangdb-git e7e52584c5 Remove duplicated translations 2021-06-15 05:36:58 -04:00
Medya Ghazizadeh f29d12684f
Merge pull request #11618 from felipecrescencio/patch-1
site: add alternative certs dir
2021-06-11 13:30:23 -04:00
Felipe Crescencio de Oliveira 22ca607c6a
Fix: Certificates folder for x509 error
For x509: certificate signed by unknown authority problem in minikube since version v1.20.0 I just found `~/.minikube/certs` dir.
I pasted my PEM files over there and it solve my problem.
2021-06-10 00:31:02 -03:00
JacekDuszenko a8fe445fac move ingress dns docs to site 2021-06-03 03:57:51 +01:00
Sharif Elgamal 45ee2dbacb
Merge pull request #11471 from EmandM/patch-1
Update registry.md with instructions to avoid common pitfalls
2021-06-02 13:16:45 -07:00
Sharif Elgamal b507e221d6 add docs for --refresh 2021-05-26 14:55:20 -07:00
Emma c8a6fdfc83
Update registry.md
Remove the MacOS specific information as it is true for all operating systems
2021-05-20 16:00:06 -07:00
Emma e0be992ec3
Update registry.md
I recently attempted to follow this guide and ran into two issues.
1. I already had a cluster running when I ran `minikube start --insecure-registry` and as such the insecure registry flag wasn't respected. I needed to run `minikube delete` and then could run the start command. As far as I'm aware the hard reset is only necessary on MacOS.
2. I was confused by the output from `minikube addons enable registry`. There is a big message of `Registry addon with docker driver uses port <generated-port> please use that instead of default port 5000` and so I switched a few things over to the generated port and nothing connected. Retrying with only port 5000 worked successfully.
2021-05-20 13:51:29 -07:00
Medya Ghazizadeh d61989afa9
Merge pull request #11370 from guettli/patch-2
Fixed small typos
2021-05-13 21:30:03 -07:00
Medya Ghazizadeh 9e3a66268f
Merge pull request #11384 from dinever/kicbase-tools
Add useful tools in the Kicbase Docker image
2021-05-13 14:14:59 -07:00
Peixuan Ding 075ca20498 Add useful tools in the Kicbase Docker image
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
2021-05-11 21:57:29 -04:00
Thomas Güttler 8b212989e4
removed typo "output" 2021-05-11 22:19:28 +02:00
Thomas Güttler f81b8ef705
Fixed small typos 2021-05-11 17:19:49 +02:00
Thomas Güttler 28f2757f43
Updated URL and remove zsh note
The URL was outdated.
Removed the zsh note, too. I think it makes sense that it gets explained on the target page, not here.
2021-05-11 16:52:07 +02:00
Anders F Björklund 3ead3a0404 Add some more definitions of image terminology 2021-04-18 18:20:35 +02:00
Medya Ghazizadeh f39a3c1504
Merge pull request #10425 from bharathkkb/fix-multiple-log-files
Generate one log file per minikube command
2021-03-23 00:54:10 -07:00
Anders F Björklund e2a0b26f73 Add documentation for the ctr containerd client 2021-03-23 07:37:04 +01:00
Anders F Björklund b322f7ae67 Explain what load and build means in this context 2021-03-21 23:20:13 +01:00
Anders F Björklund aa334fe944 Show methods support load and which support build 2021-03-21 23:19:57 +01:00
Anders F Björklund b13033b4fb Fix link for pushing images docs on cache cmd
The link was going directly to the command documentation,
rather than just to the section further down on the page.
2021-03-19 20:33:36 +01:00
Anders F Björklund 5919ee78bc Add basic documentation for minikube image command
Using the image command is an alternative to using the
different environment cmds for the different clients.
2021-03-14 18:37:39 +01:00
Anders F Björklund 1ced9d774c Add instructions for building images with buildkit
Documentation still refers to building as "pushing"
2021-03-07 22:15:35 +01:00
bharathkkb 015b721f17 feat: add default log_file name
add max log size, add tests, update website docs

fix func comments

address comments

fix docs

fail fast

add tests to TestErrorSpam, switch to using log
2021-02-28 17:12:22 -06:00
Sharif Elgamal 6afefe6b83
Merge pull request #10159 from maikelvl/patch-1
Update docs VMware Fusion mount location.
2021-02-24 11:06:28 -08:00
ashwanth1109 eb079e66bb Accessing apps documentation follows convention for dynamic values 2021-02-13 10:03:12 +00:00
Moshi Binyamini 4a20660a3c
Add missing reference to --embed-certs 2021-02-07 20:12:38 +02:00
Sharif Elgamal 5bff0cf0cf
Merge pull request #10218 from Karmavil/patch-1
typo
2021-02-02 11:07:34 -08:00
Ling Samuel 79cb6b42c1
Generate docs, update addon example registry
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:44:29 +08:00
Ling Samuel c9f4cb8388
addons custom images/registries example article
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:33:08 +08:00
Federico Gallo 9d4362fea2
typo 2021-01-22 11:43:13 -03:00
Maikel 7b1b1ac200
Update docs VMware Fusion mount location.
I noticed the mount does not end up in `/Users`, but in `/mnt/hgfs/Users` using the following start command:

``
minikube start --vm-driver=vmware --mount-string=/Users:/Users
```

Source: https://github.com/kubernetes/website/pull/18674/files
2021-01-17 15:46:46 +01:00
Steven Powell 94ea2bacef Removed exec permission from files that should not have 2021-01-13 18:22:29 -07:00
Jituri, Pranav f2b47962e1
Address review comments 2020-12-18 10:06:30 +05:30
Jituri, Pranav 22d03ff5e9
Adding warning for docker windows tunnel 2020-12-16 18:09:15 +05:30
Thomas Strömberg 05eca4cdf5
Merge pull request #9948 from afbjorklund/var-buildkit
Add persistent storage for /var/lib/buildkit
2020-12-14 10:35:48 -08:00
Thomas Strömberg e9f1b8bce3
Merge pull request #9943 from afbjorklund/build-docs
Add some more docs about building images
2020-12-14 09:47:10 -08:00
Anders F Björklund 2b5ad68359 Add persistent storage for /var/lib/buildkit
Mostly to not fill up the tmpfs (RAM), most of the contents
are expendable (although the cache can of course be useful)
2020-12-13 16:00:58 +01:00
Anders F Björklund 80c3c64be0 Fix minor typo in build of the project name itself 2020-12-13 12:34:27 +01:00
Anders F Björklund 636370265f Add some more docs about building images
Add some more examples on how to use podman for cri-o runtime,
and how to use buildctl (with buildkitd) for containerd runtime.
2020-12-13 11:10:32 +01:00
Anders F Björklund ebf37ad15f Fix whitespace issues in the site content markdown
Courtesy of markdownlint, but nothing to show on:

 git show --ignore-all-space --ignore-blank-lines

Ignore generated commands, with trailing whitespace.
Those need to be fixed in "generate-docs" instead...
2020-12-05 10:08:32 +01:00
edtrist f6a770e0a6 Add missing language to code blocks 2020-12-01 22:42:41 +00:00
Steven Powell 2b43ff9989 Auto detect user OS and default tabs to it 2020-11-30 15:46:05 -07:00
Stefan Lobbenmeier 538170ab0b
Document minikube kubectl autocompletion
Fixes https://github.com/kubernetes/minikube/issues/9603
2020-11-10 12:15:45 +01:00
Medya Gh 73d77e2463 address review comments 2020-09-30 16:42:42 -07:00
Medya Gh b7780ec815 address review comments 2020-09-29 14:14:25 -07:00
Sharif Elgamal ff051f9a33
Make sure gcp-auth addon can be enabled on startup (#9318)
* fix documentation for gcp-auth addon

* make sure kube-system pods are up before enabling gcp-auth

* fix lint

* add failurePolicy for webhook

* only install addons if asked

* better comment

* slightly less hacky code

* defer addons properly

* simplify code for performance
2020-09-29 13:29:14 -07:00
Anders F Björklund 3dec9944de The cri-o repository moved to a separate organization 2020-09-13 17:34:55 +02:00
Thomas Strömberg dc5951451b
Merge pull request #8872 from kadern0/issue-8857
Running internal kubectl command when minikube is called as 'kubectl'
2020-09-01 22:44:44 -07:00
zhanwang a6deb6de6c
correct 'support' spelling error 2020-08-31 18:55:42 +08:00
Thomas Strömberg 9a770098fd
Update troubleshooting.md 2020-08-18 13:04:59 -07:00
Thomas Strömberg c66407174e
Add post-mortem log collection 2020-08-18 13:03:40 -07:00
Pablo Caderno 10a3f2e2a8 Running internal kubectl command when minikube is called as 'kubectl'
Fixes issue #8857

Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-08-17 20:52:58 +10:00