From 6408fddc1f6ba219c28ffa4f781a85b36d7febe1 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 11 May 2016 17:06:00 +0100 Subject: [PATCH 1/3] Deploy Scope into `kube-system` namespace (fix #1475) --- site/installing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/installing.md b/site/installing.md index af9a9c367..c97af3d51 100644 --- a/site/installing.md +++ b/site/installing.md @@ -173,7 +173,7 @@ It is recommended that you run Scope natively in your Kubernetes cluster using t 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 + kubectl --namespace=kube-system create -f 'https://scope.weave.works/launch/k8s/weavescope.json' --validate=false Allowable parameters: From 2cad2244d736f44fee84bda5fda7e587cf10c916 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 11 May 2016 17:10:23 +0100 Subject: [PATCH 2/3] Tweak Kubernetes installation docs (close #1474) --- site/installing.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/site/installing.md b/site/installing.md index c97af3d51..f003f3bc1 100644 --- a/site/installing.md +++ b/site/installing.md @@ -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 --namespace=kube-system 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 From 3def7f24a1a58265a55a5d436e9b9254e02c3396 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 11 May 2016 18:48:47 +0100 Subject: [PATCH 3/3] Use default namespace --- site/installing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/installing.md b/site/installing.md index f003f3bc1..a0f8ed0bd 100644 --- a/site/installing.md +++ b/site/installing.md @@ -173,7 +173,7 @@ It is recommended that you run Scope natively in your Kubernetes cluster using ` The simplest way to get the latest release of Scope deployed onto a Kubernetes cluster is the following: - kubectl --namespace=kube-system create -f 'https://scope.weave.works/launch/k8s/weavescope.json' --validate=false + kubectl create -f 'https://scope.weave.works/launch/k8s/weavescope.json' --validate=false > 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 @@ -193,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.