-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
7 deletions.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Build locally | ||
|
||
```bash | ||
git clone https://github.com/reactiveops/fairwinds $GOPATH/src/github.com/reactiveops/fairwinds | ||
go build -a -o fairwinds *.go | ||
./fairwinds -h | ||
``` | ||
|
||
## Run on-cluster | ||
|
||
On GKE, you'll need to run the following command first: | ||
``` | ||
kubectl create clusterrolebinding cluster-admin-binding \ | ||
--clusterrole cluster-admin \ | ||
--user $(gcloud config get-value account) | ||
``` | ||
|
||
Then apply the config: | ||
``` | ||
kubectl apply -f deploy/all.yaml | ||
``` | ||
|
||
## Options | ||
|
||
* `dashboard` Runs the webserver for Fairwinds dashboard. | ||
* `dashboard-port`: Port for the dashboard webserver (default 8080) | ||
* `webhook`: Runs the webhook webserver. | ||
* `webhook-port`: Port for the webhook webserver (default 9876) | ||
* `disable-webhook-config-installer`: disable the installer in the webhook server, so it won't install webhook configuration resources during bootstrapping | ||
* `kubeconfig`: Paths to a kubeconfig. Only required if out-of-cluster. | ||
* `master`: The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster. |
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