Merge pull request #3417 from weaveworks/add-faq-doc

Start off FAQ document
This commit is contained in:
Daniel Holbach
2018-11-26 13:01:17 +01:00
committed by GitHub
4 changed files with 60 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ If you have any questions, feedback, or problems with Scope:
- Docs
- Read [the Weave Scope docs](https://www.weave.works/docs/scope/latest/introducing/)
- Check out the [frequently asked questions](/site/faq.md)
- Find out how to [contribute to Scope](CONTRIBUTING.md)
- Learn more about how the [Scope community operates](GOVERNANCE.md)
- Join the discussion

57
site/faq.md Normal file
View File

@@ -0,0 +1,57 @@
---
title: Frequently asked questions
menu_order: 95
search_type: Documentation
---
# Frequently asked questions
## Running Scope in a Kubernetes setting
A simple way to get Scope running in a Kubernetes setting is to
1. Clone the Scope repo:
```sh
git clone https://github.com/weaveworks/scope
cd scope
```
1. Spin up a cluster wherever it suits you.
[Minikube](https://github.com/kubernetes/minikube) is a simple option.
1. Run
```sh
kubectl apply -f example/k8s
```
to deploy Scope to your cluster.
1. Port-forward to access `weave-scope-app`:
```sh
kubectl port-forward svc/weave-scope-app -n weave 4040:80
```
1. Point your browser to <http://127.0.0.1:4040.>
## Disabling Scope Write Access
Can be done by using the `probe.no-controls` option and set it to false for the scope agents. This can be done in the scope deployment manifest under the `weave-scope-agent`'s argument section with `—probe.no-control=true`.
## RBAC and Weave Scope OSS
OSS Scope has no user concept, this is only available in Weave Cloud. To limit the access to the UI,
- setup a reverse proxy with auth and block access to non admin users,
- capture the calls with something like Chrome network console to get the endpoints to know which requests to authenticate in the proxy server.
- you can use Basic HTTP Auth since Scope 1.10.0 - just use these command line
arguments:
```cli
-app.basicAuth
Enable basic authentication for app
-app.basicAuth.password string
Password for basic authentication (default "admin")
-app.basicAuth.username string
Username for basic authentication (default "admin")
```

View File

@@ -86,4 +86,5 @@ For more information, see [Go Checkpoint](https://github.com/weaveworks/go-check
**See Also**
* [Installing Weave Scope](/site/installing.md)
* [Scope's FAQ](/site/faq.md)

View File

@@ -239,3 +239,4 @@ For more information see, [Deploying Weave Scope on DC/OS](https://www.weave.wor
**See Also**
* [Understanding Weave Scope](/site/how-it-works.md)
* [Scope's FAQ](/site/faq.md)