Skip to content

Commit

Permalink
Merge pull request #59 from onepanelio/feat/minikube.updates
Browse files Browse the repository at this point in the history
feat: minikube installation instructions
  • Loading branch information
rushtehrani committed Aug 24, 2020
2 parents 199d5f6 + 676b61f commit 216937e
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions docs/getting-started/quickstart.md
Expand Up @@ -152,6 +152,7 @@ Run the following `minikube` command to create a cluster:
defaultValue="linux"
values={[
{ label: 'Linux', value: 'linux', },
{ label: 'macOS', value: 'macos', },
{ label: 'Windows', value: 'windows', },
]
}>
Expand All @@ -167,6 +168,18 @@ minikube start --driver=virtualbox --memory '8gb' --cpus=4 --disk-size '40g' \
```
</TabItem>

<TabItem value="macos">

```shell script
minikube start --driver=virtualbox --memory '8gb' --cpus=4 --disk-size '40g' \
--extra-config=apiserver.service-account-signing-key-file=/var/lib/minikube/certs/sa.key \
--extra-config=apiserver.service-account-key-file=/var/lib/minikube/certs/sa.pub \
--extra-config=apiserver.service-account-issuer=api \
--extra-config=apiserver.service-account-api-audiences=api,nats \
--extra-config=apiserver.authorization-mode=Node,RBAC
```
</TabItem>

<TabItem value="windows">

```shell script
Expand Down Expand Up @@ -395,16 +408,11 @@ opctl init --provider gke
<TabItem value="minikube">

```bash
opctl init --provider minikube
opctl init --provider minikube --enable-metallb
```

:::note
If you do not have a loadbalancer setup, you can use metallb
```shell script
opctl init --provider minikube --enable-metallb \
--artifact-repository-provider <provider>
```
Valid values for providers are: s3, gcs
metallb is used as a loadbalancer
:::

:::note
Expand All @@ -416,16 +424,11 @@ If you have GPU nodes, you need to set the `--gpu-device-plugins` flag. Valid va
<TabItem value="microk8s">

```bash
opctl init --provider microk8s
opctl init --provider microk8s --enable-metallb
```

:::note
If you do not have a loadbalancer setup, you can use metallb
```shell script
opctl init --provider microk8s --enable-metallb \
--artifact-repository-provider <provider>
```
Valid values for providers are: s3, gcs
metallb is used as a loadbalancer
:::

:::note
Expand Down

0 comments on commit 216937e

Please sign in to comment.