Skip to content

Commit 9246c35

Browse files
committed
First take on documentation
1 parent d267db6 commit 9246c35

11 files changed

+145
-22
lines changed

README.md

+32-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
1+
# Kubeapps
2+
13
[![Build Status](https://travis-ci.org/kubeapps/kubeapps.svg?branch=master)](https://travis-ci.org/kubeapps/kubeapps)
24

3-
# Kubeapps Installer
5+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/logo.png" width="100">
46

5-
Kubeapps Installer is a [Bitnami](https://bitnami.com) tool to super-charge your Kubernetes cluster with:
6-
* Your own app [dashboard](https://kubeapps.com/), allowing you to deploy Kubernetes-ready apps into your cluster with a single click.
7+
Kubeapps is a set of tools written by [Bitnami](https://bitnami.com) to super-charge your Kubernetes cluster with:
8+
* Your own applications [dashboard](https://kubeapps.com/), allowing you to deploy Kubernetes-ready applications into your cluster with a single click.
79
* [Kubeless](http://kubeless.io/) - a Kubernetes-native Serverless Framework, compatible with [serverless.com](https://serverless.com).
810
* [SealedSecrets](https://github.com/bitnami/sealed-secrets) - a SealedSecret can be decrypted only by the controller running in the cluster and nobody else (not even the original author).
911

10-
## Installation
12+
These tools are easily deployed into your cluster with just one command: ```kubeapps up```
13+
14+
----
15+
16+
## Getting started
1117

12-
Installation is made of two steps:
18+
To get started, read our [Getting Started guide](https://github.com/kubeapps/kubeapps/blob/docs/getting-started.md).
1319

14-
- Download latest Kubeapps Installer binary from the [release page](https://github.com/kubeapps/kubeapps/releases). Currently Kubeapps Installer is distributed in two platforms: linux/amd64 and OSX/amd64
15-
- Make the binary executable
20+
You can also browse the [full documentation](https://github.com/kubeapps/kubeapps/blob/docs).
1621

17-
## Build from source
22+
----
23+
## Build the Kubeapps installer from source
1824

19-
You can build latest Kubeapps Installer from source.
25+
The Kubeapps Installer is a CLI tool written in Go that will deploy all the Kubeapps components into your cluster.
26+
You can build the latest Kubeapps Installer from source.
2027

2128
### Installing Go
2229
- Visit https://golang.org/dl/
@@ -25,27 +32,30 @@ You can build latest Kubeapps Installer from source.
2532
- Set the Go environment variables
2633

2734
```
28-
$ export GOROOT=/GoDir/go
29-
$ export GOPATH=/GoDir/go
30-
$ export PATH=$GOPATH/bin:$PATH
35+
export GOROOT=/GoDir/go
36+
export GOPATH=/GoDir/go
37+
export PATH=$GOPATH/bin:$PATH
3138
```
3239

3340
### Create a working directory for the project
41+
3442
```
35-
$ working_dir=$GOPATH/src/github.com/kubeapps/
36-
$ mkdir -p $working_dir
43+
working_dir=$GOPATH/src/github.com/kubeapps/
44+
mkdir -p $working_dir
3745
```
3846

3947
### Clone kubeapps/kubeapps repository
48+
4049
```
41-
$ cd $working_dir
42-
$ git clone https://github.com/kubeapps/kubeapps
50+
cd $working_dir
51+
git clone https://github.com/kubeapps/kubeapps
4352
```
4453

4554
### Building local binary
55+
4656
```
47-
$ cd kubeapps
48-
$ make binary
57+
cd kubeapps
58+
make binary
4959
```
5060

5161
## Testing Kubeapps Installer with minikube
@@ -55,25 +65,25 @@ The simplest way to try Kubeapps is deploying it with Kubeapps Installer on [min
5565
Kubeapps Installer is now working with RBAC-enabled Kubernetes (v1.7+). You can choose to start minikube vm with your preferred VM driver (virtualbox xhyve vmwarefusion) and a proper Kubernetes version. For example, the [latest minikube](https://github.com/kubernetes/minikube/releases/tag/v0.23.0) will start a Kubernetes v1.8.0.
5666

5767
```
58-
$ minikube start
68+
minikube start
5969
```
6070

6171
It's also required to have [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) installed on your machine. Verify Kubernetes version:
6272

6373
```
64-
$ kubectl version
74+
kubectl version
6575
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0", GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean", BuildDate:"2017-06-29T23:15:59Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
6676
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", GitTreeState:"dirty", BuildDate:"2017-10-17T15:09:55Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
6777
```
6878

6979
Deploy Kubeapps with Kubeapps Installer
7080

7181
```
72-
$ kubeapps up
82+
kubeapps up
7383
```
7484

7585
Remove Kubeapps
7686

7787
```
78-
$ kubeapps down
88+
kubeapps down
7989
```

docs/components.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Components
2+
3+
## Helm / Tiller
4+
5+
Kubeapps installs Tiller ([Helm](https://helm.sh/) in-cluster component) which will allow you to easily installed Kubernetes ready applications packaged as charts.
6+
7+
## Kubeless
8+
9+
[Kubeless](http://kubeless.io/) is a Kubernetes-native serverless framework. It runs on top of your Kubernetes cluster and allows you to deploy small unit of code without having to build container images. With Kubeless you can build advanced applications that tie together services using functions.
10+
11+
## Kubeapps Dashboard
12+
13+
Kubeapps comes with an in-cluster web dashboard that allows you to easily deploy applications and functions packaged as charts and to create, edit and run Kubeless functions.
14+
Check the [main documentation for the Kubeapps Dashboard](dashboard.md).
15+
16+
## Sealed Secrets
17+
18+
[Sealed Secrets](https://github.com/bitnami/sealed-secrets) are a "one-way" encrypted Secret that can be created by anyone, but can only be decrypted by the controller running in the target cluster. The Sealed Secret is safe to share publicly, upload to git repositories, post to twitter, etc. Once the SealedSecret is safely uploaded to the target Kubernetes cluster, the sealed secrets controller will decrypt it and recover the original Secret.

docs/dashboard.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Kubeapps Dashboard
2+
3+
Kubeapps comes with an in-cluster dashboard that offers a web UI to easily manage the deployments created by Helm in your cluster and to manage your Kubeless functions.
4+
5+
## Start the Dashboard
6+
7+
You can easily safely access the dashboard from your system by running:
8+
9+
```
10+
kubeapps dashboard
11+
```
12+
13+
This will run a HTTP proxy to access the dashboard safely and will open your default browser to it.
14+
15+
## Deploying new applications using the Dashboard
16+
17+
Once you have the Dashboard up and running, you can start deploying applications into your cluster.
18+
19+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/dashboard.png" width="100">
20+
21+
Select one application for the list of charts in the official Kubernetes chart repository. In this example we will be deploying MariaDB.
22+
23+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/mariadb.png" width="100">
24+
25+
Once you click on "Install mariadb" you will be able to select which namespace of your cluster you want this to be deployed:
26+
27+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/namespace.png" width="100">
28+
29+
Now click on "Deploy" and you will be able to track your new Kubernetes Deployment directly from your browser.
30+
31+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/mariadb-deploy.png" width="100">
32+
33+
## Listing all the deployments managed by Helm
34+
35+
On the "Deployments" menu you can get a list of the deployments in your cluster that are managed by Helm.
36+
37+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/deployments.png" width="100">
38+
39+
## Removing existing deployments
40+
41+
You can remove any of the deployments that are managed by Helm, by clicking on the Remove button:
42+
43+
<img src="https://github.com/kubeapps/kubeapps/raw/master/img/delete-mariadb.png" width="100">
44+
45+
## Functions Dashboard
46+
47+
TBD

docs/getting-started.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Getting Started
2+
3+
Kubeapps is a set of tools written by [Bitnami](https://bitnami.com) to super-charge your Kubernetes cluster with:
4+
* Your own applications [dashboard](https://kubeapps.com/), allowing you to deploy Kubernetes-ready applications into your cluster with a single click.
5+
* [Kubeless](http://kubeless.io/) - a Kubernetes-native Serverless Framework, compatible with [serverless.com](https://serverless.com).
6+
* [SealedSecrets](https://github.com/bitnami/sealed-secrets) - a SealedSecret can be decrypted only by the controller running in the cluster and nobody else (not even the original author).
7+
8+
These tools are easily deployed into your cluster with just one command: ```kubeapps up```
9+
10+
## Installation of the Kubeapps Installer
11+
12+
Kubeapps assumes a working Kubernetes (v1.7+) with RBAC enabled and [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) installed in your machine and configured to talk to your Kubernetes cluster. Kubeapps has been tested in `minikube` and Google Kubernetes Engine.
13+
14+
- Download latest Kubeapps Installer binary from the [release page](https://github.com/kubeapps/kubeapps/releases). Currently Kubeapps Installer is distributed in two platforms: linux/amd64 and OSX/amd64
15+
- Make the binary executable
16+
17+
## Deploy the Kubeapps components into your cluster
18+
19+
```
20+
kubeapps up
21+
```
22+
23+
This command will deploy the Kubeapps components into your cluster. The deployments may take few minutes until they are ready.
24+
25+
## What is it that I am actually deploying?
26+
27+
You can check the [latest version of the Kubernetes manifest](https://github.com/kubeapps/kubeapps/blob/master/static/kubeapps-objs.yaml) that Kubeapps will deploy for you.
28+
29+
Check the [components documentation page](/components.md) for a brief description of the list of components Kubeapps is deploying into your cluster.
30+
31+
## Kubeapps Dashboard
32+
33+
Kubeapps provides an in-cluster toolset for simplified deployment of over 100 Kubernetes ready applications as Helm charts and Kubeless functions.
34+
35+
To open the Kubeapps Dashboard:
36+
37+
```
38+
kubeapps dashboard
39+
```
40+
Check the [documentation specific to the Dashboard](/dashboard.md)
41+
42+
## Clean the Kubeapps components
43+
44+
You can easily clean all the Kubeapps deployment with a single command:
45+
46+
```
47+
kubeapps down
48+
```

img/dashboard.png

130 KB
Loading

img/delete-mariadb.png

54.6 KB
Loading

img/deployments.png

102 KB
Loading

img/logo.png

71 KB
Loading

img/mariadb-deploy.png

107 KB
Loading

img/mariadb.png

129 KB
Loading

img/namespace.png

22.8 KB
Loading

0 commit comments

Comments
 (0)