Replicated stateful application doesn't need its own directory.
parent
9a575a6ed2
commit
c20e898491
|
@ -56,4 +56,4 @@ toc:
|
|||
- title: Running a Single-Instance Stateful Application
|
||||
path: /docs/tutorials/stateful-application/run-stateful-application/
|
||||
- title: Running a Replicated Stateful Application
|
||||
path: /docs/tutorials/replicated-stateful-application/run-replicated-stateful-application/
|
||||
path: /docs/tutorials/stateful-application/run-replicated-stateful-application/
|
||||
|
|
|
@ -21,7 +21,7 @@ each of which has a sequence of steps.
|
|||
#### Stateful Applications
|
||||
|
||||
* [Running a Single-Instance Stateful Application](/docs/tutorials/stateful-application/run-stateful-application/)
|
||||
* [Running a Replicated Stateful Application](/docs/tutorials/replicated-stateful-application/run-replicated-stateful-application/)
|
||||
* [Running a Replicated Stateful Application](/docs/tutorials/stateful-application/run-replicated-stateful-application/)
|
||||
|
||||
### What's next
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ and running:
|
|||
kubectl create -f mysql-configmap.yaml
|
||||
```
|
||||
|
||||
{% include code.html language="yaml" file="mysql-configmap.yaml" ghlink="/docs/tutorials/replicated-stateful-application/mysql-configmap.yaml" %}
|
||||
{% include code.html language="yaml" file="mysql-configmap.yaml" ghlink="/docs/tutorials/stateful-application/mysql-configmap.yaml" %}
|
||||
|
||||
This ConfigMap provides `my.cnf` overrides that let you independently control
|
||||
configuration on the master and the slaves.
|
||||
|
@ -84,7 +84,7 @@ and running:
|
|||
kubectl create -f mysql-services.yaml
|
||||
```
|
||||
|
||||
{% include code.html language="yaml" file="mysql-services.yaml" ghlink="/docs/tutorials/replicated-stateful-application/mysql-services.yaml" %}
|
||||
{% include code.html language="yaml" file="mysql-services.yaml" ghlink="/docs/tutorials/stateful-application/mysql-services.yaml" %}
|
||||
|
||||
The Headless Service provides a home for the DNS entries that the StatefulSet
|
||||
controller will create for each Pod that's part of the set.
|
||||
|
@ -109,7 +109,7 @@ Finally, create the StatefulSet by saving the following manifest to
|
|||
kubectl create -f mysql-statefulset.yaml
|
||||
```
|
||||
|
||||
{% include code.html language="yaml" file="mysql-statefulset.yaml" ghlink="/docs/tutorials/replicated-stateful-application/mysql-statefulset.yaml" %}
|
||||
{% include code.html language="yaml" file="mysql-statefulset.yaml" ghlink="/docs/tutorials/stateful-application/mysql-statefulset.yaml" %}
|
||||
|
||||
You can watch the startup progress by running:
|
||||
|
|
@ -316,7 +316,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
|||
"secret": {&api.Secret{}},
|
||||
"secret-env-pod": {&api.Pod{}},
|
||||
},
|
||||
"../docs/tutorials/replicated-stateful-application": {
|
||||
"../docs/tutorials/stateful-application": {
|
||||
"mysql-services": {&api.Service{}, &api.Service{}},
|
||||
"mysql-configmap": {&api.ConfigMap{}},
|
||||
"mysql-statefulset": {&apps.StatefulSet{}},
|
||||
|
|
Loading…
Reference in New Issue