Merge pull request #1479 from weaveworks/docs

Fix Kubernetes docs
This commit is contained in:
Ilya Dmitrichenko
2016-05-11 18:49:51 +01:00

View File

@@ -169,13 +169,16 @@ To enable DaemonSets in an existing cluster, add the `--runtime-config=extension
**Install Scope on Your Cluster**
It is recommended that you run Scope natively in your Kubernetes cluster using the manifest generator service.
It is recommended that you run Scope natively in your Kubernetes cluster using `kubectl` with launch URL as show below.
The simplest way to get the latest release of Scope deployed onto a Kubernetes cluster is the following:
kubectl create -f 'https://scope.weave.works/launch/k8s/weavescope.json' --validate=false
Allowable parameters:
> The `--validate=false` flag is currently required due to a bug in Kubernetes (see
[kubernetes/kubernetes#24089](https://github.com/kubernetes/kubernetes/issues/24089) for more details
Allowable parameters for the launcher URL:
- `v` - Weave Scope version or tag, e.g. `latest` or `0.15.0`, current release is the default
- `service-token` - Weave Scope Cloud Service token
@@ -190,7 +193,7 @@ This runs a recent Scope image from the Docker Hub and will launch a probe onto
**Open Scope in Your Browser**
kubectl port-forward --namespace=kube-system $(kubectl get pod --namespace=kube-system --selector=name=weave-scope-app -o jsonpath={.items..metadata.name}) 4040
kubectl port-forward $(kubectl get pod --selector=name=weave-scope-app -o jsonpath={.items..metadata.name}) 4040
Open http://localhost:4040 in your browser. This allows you to access the Scope UI securely, without opening it to the Internet.