Update links to avoid redirects. (#5614)
This commit is contained in:
@@ -43,7 +43,7 @@ $ kubectl expose deployment nginx-app --port=80 --name=nginx-http
|
||||
service "nginx-http" exposed
|
||||
```
|
||||
|
||||
With kubectl, we create a [Deployment](/docs/concepts/workloads/controllers/deployment/) which will make sure that N pods are running nginx (where N is the number of replicas stated in the spec, which defaults to 1). We also create a [service](/docs/user-guide/services) with a selector that matches the Deployment's selector. See the [Quick start](/docs/user-guide/quick-start) for more information.
|
||||
With kubectl, we create a [Deployment](/docs/concepts/workloads/controllers/deployment/) which will make sure that N pods are running nginx (where N is the number of replicas stated in the spec, which defaults to 1). We also create a [service](/docs/concepts/services-networking/service/) with a selector that matches the Deployment's selector. See the [Quick start](/docs/user-guide/quick-start) for more information.
|
||||
|
||||
By default images are run in the background, similar to `docker run -d ...`, if you want to run things in the foreground, use:
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ here](https://github.com/kubernetes/kubernetes.github.io/tree/{{page.docsbranch}
|
||||
|
||||
### Step Zero: Prerequisites
|
||||
|
||||
This example assumes that you have forked the docs repository and [turned up a Kubernetes cluster](/docs/getting-started-guides/):
|
||||
This example assumes that you have forked the docs repository and [turned up a Kubernetes cluster](/docs/home/):
|
||||
|
||||
```shell
|
||||
$ git clone -b {{page.docsbranch}} https://github.com/kubernetes/kubernetes.github.io
|
||||
|
||||
@@ -46,7 +46,7 @@ List all Pods with the label `app=nginx`:
|
||||
kubectl get pods -l app=nginx
|
||||
```
|
||||
|
||||
For more information, see [Labels](/docs/user-guide/labels/).
|
||||
For more information, see [Labels](/docs/concepts/overview/working-with-objects/labels/).
|
||||
They are a core concept used by two additional Kubernetes building blocks: Deployments and Services.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user