Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add togglable tabs for Installation: Script & Helm #385

Merged
merged 1 commit into from
Jun 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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