Skip to content

Commit

Permalink
Add togglable tabs for Installation: Script & Helm (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
sajibcse68 authored and tamalsaha committed Jun 12, 2018
1 parent 82ed4e0 commit 1d1be8a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/setup/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ section_menu_id: setup
Searchlight operator can be installed via a script or as a Helm chart.
[![Install Searchlight](https://img.youtube.com/vi/Po4yXrQuHtQ/0.jpg)](https://www.youtube-nocookie.com/embed/Po4yXrQuHtQ)

<ul class="nav nav-tabs" id="installerTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="script-tab" data-toggle="tab" href="#script" role="tab" aria-controls="script" aria-selected="true">Script</a>
</li>
<li class="nav-item">
<a class="nav-link" id="helm-tab" data-toggle="tab" href="#helm" role="tab" aria-controls="helm" aria-selected="false">Helm</a>
</li>
</ul>
<div class="tab-content" id="installerTabContent">
<div class="tab-pane fade show active" id="script" role="tabpanel" aria-labelledby="script-tab">

## Using Script

To install Searchlight in your Kubernetes cluster, run the following command:
Expand Down Expand Up @@ -94,6 +105,9 @@ $ curl -fsSL https://raw.githubusercontent.com/appscode/searchlight/7.0.0/hack/d
| bash -s -- --enable-admission-webhook [--rbac]
```

</div>
<div class="tab-pane fade" id="helm" role="tabpanel" aria-labelledby="helm-tab">

## Using Helm
Searchlight can be installed via [Helm](https://helm.sh/) using the [chart](https://github.com/appscode/searchlight/blob/master/chart/searchlight) from [AppsCode Charts Repository](https://github.com/appscode/charts). To install the chart with the release name `my-release`:

Expand Down Expand Up @@ -134,6 +148,8 @@ curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.3.0/

To see the detailed configuration options, visit [here](https://github.com/appscode/searchlight/tree/master/chart/searchlight).

</div>

### Installing in GKE Cluster

If you are installing Searchlight on a GKE cluster, you will need cluster admin permissions to install Searchlight operator. Run the following command to grant admin permision to the cluster.
Expand Down

0 comments on commit 1d1be8a

Please sign in to comment.