Address feedback, mostly around hypervisor confusion

pull/4935/head
Thomas Stromberg 2019-08-01 13:15:32 -07:00
parent f6ba948449
commit f93b684dec
4 changed files with 5 additions and 101 deletions

View File

@ -60,13 +60,6 @@ description = "minikube is local Kubernetes"
languageName = "English"
# Weight used for sorting.
weight = 1
[languages.no]
title = "minikube"
description = "minikube er lokale Kubernetes"
languageName ="Norsk"
contentDir = "content/no"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"
# Everything below this are Site Params

View File

@ -5,94 +5,3 @@ weight: 2
description: >
How to install and start minikube.
---
{{% pageinfo %}}
This is a new page. As an alternative, see [Kubernetes: minikube installation guide](https://kubernetes.io/docs/tasks/tools/install-minikube/).
{{% /pageinfo %}}
{{% tabs %}}
{{% tab "Linux" %}}
### Prerequisites
Verify that your BIOS and kernel has virtualization support enabled:
```shell
egrep -q 'vmx|svm' /proc/cpuinfo && echo yes || echo no
```
### Installation
```shell
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
&& sudo install minikube-linux-amd64 /usr/local/bin/minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 \
&& sudo install docker-machine-driver-kvm2 /usr/local/bin/
```
##
{{% /tab %}}
{{% tab "macOS" %}}
### Prerequisites
* macOS 10.12 (Sierra)
* A hypervisor such as VirtualBox, VMWare, or hyperkit
### Installation
```shell
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 \
&& sudo install minikube-darwin-amd64 /usr/local/bin/minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit \
&& sudo install docker-machine-driver-hyperkit /usr/local/bin/
sudo chown root:wheel /usr/local/bin/docker-machine-driver-hyperkit
sudo chmod u+s /usr/local/bin/docker-machine-driver-hyperkit
```
{{% /tab %}}
{{% tab "Windows" %}}
### Prerequisites
* A hypervisor, such as VirtualBox (recommended) or HyperV
* VT-x/AMD-v virtualization must be enabled in BIOS
### Installation
Download and run the [installer](https://storage.googleapis.com/minikube/releases/latest/minikube-installer.exe)
{{% /tab %}}
{{% /tabs %}}
## Try it out!
Start your first Kubernetes cluster:
```shell
minikube start
```
If `kubectl` is installed, this will show a status of all of the pods:
```shell
kubectl get po -A
```
## Further Setup
Once you have picked a hypervisor, you may set it as the default for future invocations:
```shell
minikube config set vm-driver <driver>
```
minikube only allocates a 2GB of RAM to Kubernetes, which is only enough for basic deployments. If you run into stability issues, increase this value if your system has the resources available:
```shell
minikube config set memory 4096
```

View File

@ -7,12 +7,12 @@ ul.nav.nav-tabs {
}
li.nav-tab {
margin-top: 1.5rem;
padding: 10px 20px;
float: left;
text-align: center;
text-decoration: none;
font-weight: bold;
color: darkgray;
color: #666;
font-size: 14px;
border-top: 1px solid #CBCBCB;
@ -31,6 +31,7 @@ li.active {
border-left: 1px solid #A9A9A9;
border-right: 1px solid #A9A9A9;
background: #f5f5f5;
font-weight: bold;
}
a.nav-tab {
@ -40,6 +41,7 @@ a.nav-tab {
div.tab-pane {
display: none;
margin-bottom: 3rem;
}
div.tab-pane.active {

View File

@ -3,7 +3,7 @@ function initTabs() {
$('.tab-content').find('.tab-pane').each(function(idx, item) {
var navTabs = $(this).closest('.code-tabs').find('.nav-tabs'),
title = $(this).attr('title');
navTabs.append('<li class="nav-tab"><a href="#" class="nav-tab">'+title+'</a></li');
navTabs.append('<li class="nav-tab"><a href="#" class="nav-tab">'+title+'</a></li>');
});
$('.code-tabs ul.nav-tabs').each(function() {