From c976aa8960e4a699c6719d56d2aba90c74d70e6d Mon Sep 17 00:00:00 2001 From: Stewart-YU Date: Mon, 8 Jan 2018 16:46:07 +0800 Subject: [PATCH] Update namespaces.md fix bad json link --- docs/tasks/administer-cluster/namespaces-walkthrough.md | 6 +++--- docs/tasks/administer-cluster/namespaces.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/tasks/administer-cluster/namespaces-walkthrough.md b/docs/tasks/administer-cluster/namespaces-walkthrough.md index 0e8567c2ab..399a6fe230 100644 --- a/docs/tasks/administer-cluster/namespaces-walkthrough.md +++ b/docs/tasks/administer-cluster/namespaces-walkthrough.md @@ -53,20 +53,20 @@ One pattern this organization could follow is to partition the Kubernetes cluste Let's create two new namespaces to hold our work. -Use the file [`namespace-dev.json`](/docs/admin/namespaces/namespace-dev.json) which describes a development namespace: +Use the file [`namespace-dev.json`](/docs/tasks/administer-cluster/namespace-dev.json) which describes a development namespace: {% include code.html language="json" file="namespace-dev.json" ghlink="/docs/tasks/administer-cluster/namespace-dev.json" %} Create the development namespace using kubectl. ```shell -$ kubectl create -f docs/admin/namespaces/namespace-dev.json +$ kubectl create -f https://k8s.io/docs/tasks/administer-cluster/namespace-dev.json ``` And then let's create the production namespace using kubectl. ```shell -$ kubectl create -f docs/tasks/administer-cluster/namespace-prod.json +$ kubectl create -f https://k8s.io/docs/tasks/administer-cluster/namespace-prod.json ``` To be sure things are right, let's list all of the namespaces in our cluster. diff --git a/docs/tasks/administer-cluster/namespaces.md b/docs/tasks/administer-cluster/namespaces.md index 9c85472cba..1d9caef7f9 100644 --- a/docs/tasks/administer-cluster/namespaces.md +++ b/docs/tasks/administer-cluster/namespaces.md @@ -139,14 +139,14 @@ One pattern this organization could follow is to partition the Kubernetes cluste Let's create two new namespaces to hold our work. -Use the file [`namespace-dev.json`](/docs/admin/namespaces/namespace-dev.json) which describes a development namespace: +Use the file [`namespace-dev.json`](/docs/tasks/administer-cluster/namespace-dev.json) which describes a development namespace: -{% include code.html language="json" file="namespace-dev.json" ghlink="/docs/admin/namespaces/namespace-dev.json" %} +{% include code.html language="json" file="namespace-dev.json" ghlink="/docs/tasks/administer-cluster/namespace-dev.json" %} Create the development namespace using kubectl. ```shell -$ kubectl create -f docs/admin/namespaces/namespace-dev.json +$ kubectl create -f docs/tasks/administer-cluster/namespace-dev.json ``` And then let's create the production namespace using kubectl.