Removed non-md files from docs. Moved doc yamls to test/fixtures.
Most of the contents of docs/ has moved to kubernetes.github.io. Development of the docs and accompanying files has continued there, making the copies in this repo stale. I've removed everything but the .md files which remain to redirect old links. The .yaml config files in the docs were used by some tests, these have been moved to test/fixtures/doc-yaml, and can remain there to be used by tests or other purposes.
This commit is contained in:
@@ -108,7 +108,7 @@ The above example generates the following links:
|
||||
## How to Include an Example
|
||||
|
||||
While writing examples, you may want to show the content of certain example
|
||||
files (e.g. [pod.yaml](../user-guide/pod.yaml)). In this case, insert the
|
||||
files (e.g. [pod.yaml](../../test/fixtures/doc-yaml/user-guide/pod.yaml)). In this case, insert the
|
||||
following code in the md file:
|
||||
|
||||
```
|
||||
@@ -125,13 +125,13 @@ out-of-date every time you update the example file.
|
||||
For example, the following:
|
||||
|
||||
```
|
||||
<!-- BEGIN MUNGE: EXAMPLE ../user-guide/pod.yaml -->
|
||||
<!-- END MUNGE: EXAMPLE ../user-guide/pod.yaml -->
|
||||
<!-- BEGIN MUNGE: EXAMPLE ../../test/fixtures/doc-yaml/user-guide/pod.yaml -->
|
||||
<!-- END MUNGE: EXAMPLE ../../test/fixtures/doc-yaml/user-guide/pod.yaml -->
|
||||
```
|
||||
|
||||
generates the following after `hack/update-munge-docs.sh`:
|
||||
|
||||
<!-- BEGIN MUNGE: EXAMPLE ../user-guide/pod.yaml -->
|
||||
<!-- BEGIN MUNGE: EXAMPLE ../../test/fixtures/doc-yaml/user-guide/pod.yaml -->
|
||||
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
@@ -148,8 +148,8 @@ spec:
|
||||
- containerPort: 80
|
||||
```
|
||||
|
||||
[Download example](../user-guide/pod.yaml?raw=true)
|
||||
<!-- END MUNGE: EXAMPLE ../user-guide/pod.yaml -->
|
||||
[Download example](../../test/fixtures/doc-yaml/user-guide/pod.yaml?raw=true)
|
||||
<!-- END MUNGE: EXAMPLE ../../test/fixtures/doc-yaml/user-guide/pod.yaml -->
|
||||
|
||||
## Misc.
|
||||
|
||||
@@ -170,7 +170,7 @@ console code block:
|
||||
```
|
||||
```console
|
||||
|
||||
$ kubectl create -f docs/user-guide/pod.yaml
|
||||
$ kubectl create -f test/fixtures/doc-yaml/user-guide/pod.yaml
|
||||
pod "foo" created
|
||||
|
||||
```
|
||||
@@ -179,7 +179,7 @@ pod "foo" created
|
||||
which renders as:
|
||||
|
||||
```console
|
||||
$ kubectl create -f docs/user-guide/pod.yaml
|
||||
$ kubectl create -f test/fixtures/doc-yaml/user-guide/pod.yaml
|
||||
pod "foo" created
|
||||
```
|
||||
|
||||
|
@@ -34,7 +34,7 @@ The following instructions show you how to set up a simple, single node Kubernet
|
||||
|
||||
Here's a diagram of what the final result will look like:
|
||||
|
||||

|
||||

|
||||
|
||||
## Prerequisites
|
||||
|
||||
|
BIN
docs/devel/local-cluster/k8s-singlenode-docker.png
Normal file
BIN
docs/devel/local-cluster/k8s-singlenode-docker.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
@@ -109,7 +109,7 @@ However you cannot view the nginx start page on localhost. To verify that nginx
|
||||
You can control the specifications of a pod via a user defined manifest, and reach nginx through your browser on the port specified therein:
|
||||
|
||||
```shell
|
||||
cluster/kubectl.sh create -f docs/user-guide/pod.yaml
|
||||
cluster/kubectl.sh create -f test/fixtures/doc-yaml/user-guide/pod.yaml
|
||||
```
|
||||
|
||||
Congratulations!
|
||||
|
@@ -143,7 +143,7 @@ However you cannot view the nginx start page on localhost. To verify that nginx
|
||||
You can control the specifications of a pod via a user defined manifest, and reach nginx through your browser on the port specified therein:
|
||||
|
||||
```sh
|
||||
cluster/kubectl.sh create -f docs/user-guide/pod.yaml
|
||||
cluster/kubectl.sh create -f test/fixtures/doc-yaml/user-guide/pod.yaml
|
||||
```
|
||||
|
||||
Congratulations!
|
||||
|
Reference in New Issue
Block a user