-
Notifications
You must be signed in to change notification settings - Fork 706
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
Updated docs #67
Merged
Merged
Updated docs #67
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
06167e0
Updated README
vikram-bitnami 4178f06
Moved content
vikram-bitnami ab3762b
Updated file names
vikram-bitnami 4de2a81
Updated get started guide, added images
vikram-bitnami ad6b228
Updated text
vikram-bitnami ec6f3ac
Fixed links
vikram-bitnami 0dadc37
Updated text
vikram-bitnami 3d0084a
Added feedback
vikram-bitnami 9d1f980
Fixed typo
vikram-bitnami File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
kubeapps | ||
generated | ||
statik | ||
*.*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,88 @@ | ||
# Kubeapps | ||
# <img src="./img/logo.png" width="40" align="left"> Kubeapps | ||
|
||
[![Build Status](https://travis-ci.org/kubeapps/kubeapps.svg?branch=master)](https://travis-ci.org/kubeapps/kubeapps) | ||
|
||
<img src="./img/logo.png" width="100"> | ||
|
||
Kubeapps is a set of tools written by [Bitnami](https://bitnami.com) to super-charge your Kubernetes cluster with: | ||
* Your own applications [dashboard](https://kubeapps.com/), allowing you to deploy Kubernetes-ready applications into your cluster with a single click. | ||
* [Kubeless](http://kubeless.io/) - a Kubernetes-native Serverless Framework, compatible with [serverless.com](https://serverless.com). | ||
* [SealedSecrets](https://github.com/bitnami/sealed-secrets) - Encrypt your Secret into a SealedSecret, which is safe to store - even to a public repository. | ||
* Your own application [dashboard](https://kubeapps.com/), allowing you to deploy Kubernetes-ready applications into your cluster with a single click. | ||
* [Kubeless](http://kubeless.io/), a Kubernetes-native Serverless Framework, compatible with [serverless.com](https://serverless.com). | ||
* [SealedSecrets](https://github.com/bitnami/sealed-secrets), a way to encrypt a Secret into a SealedSecret, which is safe to store...even for a public repository. | ||
|
||
These tools are easily deployed into your cluster with just one command: ```kubeapps up``` | ||
## Quickstart | ||
|
||
---- | ||
Kubeapps assumes a working Kubernetes (v1.7+) with RBAC enabled and [`kubectl`](https://kubernetes.io/docs/tasks/tools/install-kubectl/) installed and configured to talk to your Kubernetes cluster. Kubeapps binaries are available for both Linux and OS X, and Kubeapps has been tested with both `minikube` and Google Kubernetes Engine (GKE). | ||
|
||
## Getting started | ||
> On GKE, you must either be an "Owner" or have the "Container Engine Admin" role in order to install Kubeapps. | ||
|
||
To get started, read our [Getting Started guide](docs/getting-started.md). | ||
The simplest way to try Kubeapps is to deploy it with the Kubeapps Installer on [minikube](https://github.com/kubernetes/minikube). Assuming you are deploying a binary installer on Linux, here are the commands to run: | ||
|
||
You can also browse the [full documentation](docs/). | ||
``` | ||
sudo curl -s https://api.github.com/repos/kubeapps/kubeapps/releases/latest | grep linux | grep browser_download_url | cut -d '"' -f 4 | wget -i - | ||
sudo mv kubeapps-linux-amd64 /usr/local/bin/kubeapps | ||
chmod +x /usr/local/bin/kubeapps | ||
kubeapps up | ||
kubeapps dashboard | ||
``` | ||
|
||
---- | ||
## Build the Kubeapps installer from source | ||
These commands will deploy Kubeapps in your cluster and launch a browser with the Kubeapps dashboard. | ||
|
||
The Kubeapps Installer is a CLI tool written in Go that will deploy all the Kubeapps components into your cluster. | ||
You can build the latest Kubeapps Installer from source. | ||
![Dashboard main page](img/dashboard-home.png) | ||
|
||
### Installing Go | ||
- Visit https://golang.org/dl/ | ||
- Download the most recent Go version (here we used 1.9) and unpack the file | ||
- Check the installation process on https://golang.org/doc/install | ||
- Set the Go environment variables | ||
To remove Kubeapps form your cluster, simply run: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. s/form/from/ |
||
|
||
``` | ||
export GOROOT=/GoDir/go | ||
export GOPATH=/GoDir/go | ||
export PATH=$GOPATH/bin:$PATH | ||
kubeapps down | ||
``` | ||
|
||
### Create a working directory for the project | ||
## Build from Source | ||
|
||
``` | ||
working_dir=$GOPATH/src/github.com/kubeapps/ | ||
mkdir -p $working_dir | ||
``` | ||
The Kubeapps Installer is a CLI tool written in Go that will deploy the Kubeapps components into your cluster. | ||
You can build the latest Kubeapps Installer from source by following the steps below: | ||
|
||
### Clone kubeapps/kubeapps repository | ||
* Visit [the Go website](https://golang.org), download the most recent [binary distribution of Go](https://golang.org/dl/) and install it following the [official instructions](https://golang.org/doc/install). | ||
|
||
``` | ||
cd $working_dir | ||
git clone https://github.com/kubeapps/kubeapps | ||
``` | ||
> The remainder of this section assumes that Go is installed in `/usr/local/go`. Update the paths in subsequent commands if you used a different location. | ||
|
||
### Building local binary | ||
* Set the Go environment variables: | ||
|
||
``` | ||
cd kubeapps | ||
make binary | ||
``` | ||
``` | ||
export GOROOT=/usr/local/go | ||
export GOPATH=/usr/local/go | ||
export PATH=$GOPATH/bin:$PATH | ||
``` | ||
|
||
## Testing Kubeapps Installer with minikube | ||
* Create a working directory for the project: | ||
|
||
The simplest way to try Kubeapps is deploying it with Kubeapps Installer on [minikube](https://github.com/kubernetes/minikube). | ||
``` | ||
working_dir=$GOPATH/src/github.com/kubeapps/ | ||
mkdir -p $working_dir | ||
``` | ||
|
||
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. | ||
* Clone the Kubeapps source repository: | ||
|
||
``` | ||
minikube start | ||
``` | ||
``` | ||
cd $working_dir | ||
git clone https://github.com/kubeapps/kubeapps | ||
``` | ||
|
||
It's also required to have [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) installed on your machine. Verify Kubernetes version: | ||
* Build the Kubeapps binary and move it to a location in your path: | ||
|
||
``` | ||
kubectl version | ||
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"} | ||
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"} | ||
``` | ||
``` | ||
cd kubeapps | ||
make binary | ||
cp kubeapps /usr/local | ||
``` | ||
|
||
Deploy Kubeapps with Kubeapps Installer | ||
## Next Steps | ||
|
||
``` | ||
kubeapps up | ||
``` | ||
[Use the Kubeapps Dashboard](docs/dashboard.md) to easily manage the deployments created by Helm in your cluster and to manage your Kubeless functions, or [look under the hood to see what's included in Kubeapps](docs/components.md). | ||
|
||
Remove Kubeapps | ||
In case of difficulties installing Kubeapps, find [more detailed installation instructions](docs/install.md). | ||
|
||
``` | ||
kubeapps down | ||
``` | ||
For a more detailed and step-by-step introduction to Kubeapps, read our [introductory walkthrough](docs/getting-started.md). | ||
|
||
## Useful Resources | ||
|
||
* [Walkthrough for first-time users](docs/getting-started.md) | ||
* [Detailed installation instructions](docs/install.md) | ||
* [Kubeapps Dashboard documentation](docs/dashboard.md) | ||
* [Kubeapps components](docs/components.md) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using this so the user always gets the latest release, rather than having the command hardcoded to a specific version (so there's less need to update it every time). I got the command from https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8 and tested it, seems to work fine but please also test it yourself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is about building the latest source. For documentation on how to use, we have the rest of the documents. Please, leave here the documentation on how to build. Also, please, avoid having explicit reference to minikube on the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added back in README, removed minikube commands