Merge pull request #10811 from thockin/version-examples-links
Make examples links be relative
This commit is contained in:
commit
711c093902
@ -77,11 +77,11 @@ By default, `kubectl` will use the `kubeconfig` file generated during the cluste
|
|||||||
For more information, please read [kubeconfig files](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/kubeconfig-file.md)
|
For more information, please read [kubeconfig files](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/kubeconfig-file.md)
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
See [a simple nginx example](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/simple-nginx.md) to try out your new cluster.
|
See [a simple nginx example](../../examples/simple-nginx.md) to try out your new cluster.
|
||||||
|
|
||||||
The "Guestbook" application is another popular example to get started with Kubernetes: [guestbook example](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook)
|
The "Guestbook" application is another popular example to get started with Kubernetes: [guestbook example](../../examples/guestbook)
|
||||||
|
|
||||||
For more complete applications, please look in the [examples directory](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples)
|
For more complete applications, please look in the [examples directory](../../examples)
|
||||||
|
|
||||||
## Tearing down the cluster
|
## Tearing down the cluster
|
||||||
Make sure the environment variables you used to provision your cluster are still exported, then call the following script inside the
|
Make sure the environment variables you used to provision your cluster are still exported, then call the following script inside the
|
||||||
|
@ -163,7 +163,7 @@ centos-minion <none> Ready
|
|||||||
|
|
||||||
**The cluster should be running! Launch a test pod.**
|
**The cluster should be running! Launch a test pod.**
|
||||||
|
|
||||||
You should have a functional cluster, check out [101](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/walkthrough/README.md)!
|
You should have a functional cluster, check out [101](../../../examples/walkthrough/README.md)!
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
@ -189,7 +189,7 @@ You then should be able to access it from anywhere via the Azure virtual IP for
|
|||||||
|
|
||||||
You now have a full-blow cluster running in Azure, congrats!
|
You now have a full-blow cluster running in Azure, congrats!
|
||||||
|
|
||||||
You should probably try deploy other [example apps](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples) or write your own ;)
|
You should probably try deploy other [example apps](../../../../examples) or write your own ;)
|
||||||
|
|
||||||
## Tear down...
|
## Tear down...
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ $ kubectl delete -f node.json
|
|||||||
|
|
||||||
**The cluster should be running! Launch a test pod.**
|
**The cluster should be running! Launch a test pod.**
|
||||||
|
|
||||||
You should have a functional cluster, check out [101](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/walkthrough/README.md)!
|
You should have a functional cluster, check out [101](../../../examples/walkthrough/README.md)!
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
@ -178,7 +178,7 @@ We can add minion units like so:
|
|||||||
|
|
||||||
## Launch the "k8petstore" example app
|
## Launch the "k8petstore" example app
|
||||||
|
|
||||||
The [k8petstore example](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/k8petstore) is available as a
|
The [k8petstore example](../../examples/k8petstore) is available as a
|
||||||
[juju action](https://jujucharms.com/docs/devel/actions).
|
[juju action](https://jujucharms.com/docs/devel/actions).
|
||||||
|
|
||||||
juju action do kubernetes-master/0
|
juju action do kubernetes-master/0
|
||||||
|
@ -120,7 +120,7 @@ NAME LABELS STATUS
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Also you can run kubernetes [guest-example](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook) to build a redis backend cluster on the k8s.
|
Also you can run kubernetes [guest-example](../../examples/guestbook) to build a redis backend cluster on the k8s.
|
||||||
|
|
||||||
|
|
||||||
#### Deploy addons
|
#### Deploy addons
|
||||||
|
@ -8,7 +8,7 @@ A `PersistentVolume` (PV) is a piece of networked storage in the cluster that ha
|
|||||||
|
|
||||||
A `PersistentVolumeClaim` (PVC) is a request for storage by a user. It is similar to a pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g, can be mounted once read/write or many times read-only).
|
A `PersistentVolumeClaim` (PVC) is a request for storage by a user. It is similar to a pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g, can be mounted once read/write or many times read-only).
|
||||||
|
|
||||||
Please see the [detailed walkthrough with working examples](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/persistent-volumes).
|
Please see the [detailed walkthrough with working examples](../examples/persistent-volumes).
|
||||||
|
|
||||||
|
|
||||||
## Lifecycle of a volume and claim
|
## Lifecycle of a volume and claim
|
||||||
|
@ -257,7 +257,6 @@ kubectl scale rc cassandra --replicas=4
|
|||||||
|
|
||||||
### Seed Provider Source
|
### Seed Provider Source
|
||||||
|
|
||||||
See
|
See [here](./java/src/io/k8s/cassandra/KubernetesSeedProvider.java).
|
||||||
[here](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/cassandra/java/src/io/k8s/cassandra/KubernetesSeedProvider.java).
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
@ -31,7 +31,7 @@ The [http-liveness.yaml](http-liveness.yaml) demonstrates the HTTP check.
|
|||||||
```
|
```
|
||||||
The Kubelet sends a HTTP request to the specified path and port to perform the health check. If you take a look at image/server.go, you will see the server starts to respond with an error code 500 after 10 seconds, so the check fails.
|
The Kubelet sends a HTTP request to the specified path and port to perform the health check. If you take a look at image/server.go, you will see the server starts to respond with an error code 500 after 10 seconds, so the check fails.
|
||||||
|
|
||||||
This [guide](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/walkthrough/k8s201.md#health-checking) has more information on health checks.
|
This [guide](../walkthrough/k8s201.md#health-checking) has more information on health checks.
|
||||||
|
|
||||||
## Get your hands dirty
|
## Get your hands dirty
|
||||||
To show the health check is actually working, first create the pods:
|
To show the health check is actually working, first create the pods:
|
||||||
|
@ -127,7 +127,7 @@ since the ui is not stateless when playing with Web Admin UI will cause `Connect
|
|||||||
* All services and pods are placed under namespace `rethinkdb`.
|
* All services and pods are placed under namespace `rethinkdb`.
|
||||||
|
|
||||||
* `gen_pod.sh` is using to generate pod templates for my local cluster,
|
* `gen_pod.sh` is using to generate pod templates for my local cluster,
|
||||||
the generated pods which is using `nodeSelector` to force k8s to schedule containers to my designate nodes, for I need to access persistent data on my host dirs. Note that one needs to label the node before 'nodeSelector' can work, see this [tutorial](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/node-selection)
|
the generated pods which is using `nodeSelector` to force k8s to schedule containers to my designate nodes, for I need to access persistent data on my host dirs. Note that one needs to label the node before 'nodeSelector' can work, see this [tutorial](../node-selection/)
|
||||||
|
|
||||||
* see [antmanler/rethinkdb-k8s](https://github.com/antmanler/rethinkdb-k8s) for detail
|
* see [antmanler/rethinkdb-k8s](https://github.com/antmanler/rethinkdb-k8s) for detail
|
||||||
|
|
||||||
|
@ -108,8 +108,8 @@ Finally, we have also introduced an environment variable to the ```git-monitor``
|
|||||||
|
|
||||||
|
|
||||||
### What's next?
|
### What's next?
|
||||||
Continue on to [Kubernetes 201](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/walkthrough/k8s201.md) or
|
Continue on to [Kubernetes 201](../walkthrough/k8s201.md) or
|
||||||
for a complete application see the [guestbook example](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook/README.md)
|
for a complete application see the [guestbook example](../guestbook/README.md)
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
@ -148,7 +148,7 @@ spec:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### What's next?
|
### What's next?
|
||||||
For a complete application see the [guestbook example](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook).
|
For a complete application see the [guestbook example](../guestbook).
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
Loading…
Reference in New Issue
Block a user