Merge pull request #2519 from weaveworks/2497-udpate-k8s-install-instructions-encore

Update install documents (again)
This commit is contained in:
Alfonso Acosta
2017-05-12 12:37:25 +02:00
committed by GitHub

View File

@@ -216,7 +216,7 @@ Weave Cloud hosts the Scope UI for you, provides secure access control for your
Sign up for a [Weave Cloud account](https://cloud.weave.works/) and obtain a token. Replace `<token>` with your token by running this on the master node or on whatever machine that has `kubectl` configured to authenticate to your Kubernetes cluster:
kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s.yaml?service-token=<token>&k8s-version=$(kubectl version | base64 | tr -d '\n')"
kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s/scope.yaml?service-token=<token>&k8s-version=$(kubectl version | base64 | tr -d '\n')"
**SECURITY NOTE: This allows control of your Kubernetes cluster from Weave Cloud, which is a hosted service.**
@@ -224,7 +224,7 @@ Sign up for a [Weave Cloud account](https://cloud.weave.works/) and obtain a tok
The simplest way to get the latest release of Scope deployed onto a Kubernetes cluster is by running the following:
kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"
kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"
This runs a recent Scope image from Dockerhub and launches a probe onto every node as well as a single Scope app. Once launched, Scope doesnt require any other configuration.
@@ -234,10 +234,6 @@ Allowable parameters for the launcher URL:
- `k8s-service-type` - Kubernetes service type (for running Scope in Standalone mode), can be either
`LoadBalancer` or `NodePort`, by default this is unspecified (only internal access)
To download and read the Scope manifest run:
curl --silent --location --remote-name https://cloud.weave.works/k8s/scope.yaml
**Open Scope in Your Browser**
kubectl port-forward -n kube-system "$(kubectl get -n kube-system pod --selector=weave-scope-component=app -o jsonpath='{.items..metadata.name}')" 4040