|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Install
|
||||
---
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
## 1. Setup Kubernetes cluster
|
||||
|
||||
|
@ -12,10 +14,15 @@ If you don't have K8s cluster from Cloud Provider, you may pick either Minikube
|
|||
|
||||
> NOTE: If you are not using minikube or kind, please make sure to [install or enable ingress-nginx](https://kubernetes.github.io/ingress-nginx/deploy/) by yourself.
|
||||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### **Minikube**
|
||||
|
||||
<Tabs
|
||||
className="unique-tabs"
|
||||
defaultValue="minikube"
|
||||
values={[
|
||||
{label: 'Minikube', value: 'minikube'},
|
||||
{label: 'KinD', value: 'kind'},
|
||||
]}>
|
||||
<TabItem value="minikube">
|
||||
Follow the minikube [installation guide](https://minikube.sigs.k8s.io/docs/start/).
|
||||
|
||||
Once minikube is installed, create a cluster:
|
||||
|
@ -29,8 +36,8 @@ Install ingress:
|
|||
```shell script
|
||||
minikube addons enable ingress
|
||||
```
|
||||
|
||||
#### **KinD**
|
||||
</TabItem>
|
||||
<TabItem value="kind">
|
||||
|
||||
Follow [this guide](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) to install kind.
|
||||
|
||||
|
@ -62,8 +69,9 @@ Then install [ingress for kind](https://kind.sigs.k8s.io/docs/user/ingress/#ingr
|
|||
```shell script
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
## 2. Install KubeVela Controller
|
||||
|
||||
|
@ -137,9 +145,15 @@ These steps will install KubeVela controller and its dependency.
|
|||
|
||||
Here are three ways to get KubeVela Cli:
|
||||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### **Script**
|
||||
<Tabs
|
||||
className="unique-tabs"
|
||||
defaultValue="script"
|
||||
values={[
|
||||
{label: 'Script', value: 'script'},
|
||||
{label: 'Homebrew', value: 'homebrew'},
|
||||
{label: 'Download directly from releases', value: 'download'},
|
||||
]}>
|
||||
<TabItem value="script">
|
||||
|
||||
**macOS/Linux**
|
||||
|
||||
|
@ -152,13 +166,16 @@ curl -fsSl https://kubevela.io/install.sh | bash
|
|||
```shell script
|
||||
powershell -Command "iwr -useb https://kubevela.io/install.ps1 | iex"
|
||||
```
|
||||
#### **Homebrew**
|
||||
</TabItem>
|
||||
<TabItem value="homebrew">
|
||||
|
||||
**macOS/Linux**
|
||||
```shell script
|
||||
brew install kubevela
|
||||
```
|
||||
|
||||
#### **Download directly from releases**
|
||||
</TabItem>
|
||||
<TabItem value="download">
|
||||
|
||||
- Download the latest `vela` binary from the [releases page](https://github.com/oam-dev/kubevela/releases).
|
||||
- Unpack the `vela` binary and add it to `$PATH` to get started.
|
||||
|
@ -172,8 +189,9 @@ sudo mv ./vela /usr/local/bin/vela
|
|||
>
|
||||
> The new version of MacOS is stricter about running software you've downloaded that isn't signed with an Apple developer key. And we haven't supported that for KubeVela yet.
|
||||
> You can open your 'System Preference' -> 'Security & Privacy' -> General, click the 'Allow Anyway' to temporarily fix it.
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## 4. (Optional) Sync Capability from Cluster
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 374 KiB After Width: | Height: | Size: 374 KiB |
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB |
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 395 KiB After Width: | Height: | Size: 395 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |