Update links to reduce redirects. (#5751)
This commit is contained in:
@@ -88,7 +88,7 @@ Here are some ideas for how to use Init Containers:
|
|||||||
place the POD_IP value in a configuration and generate the main app
|
place the POD_IP value in a configuration and generate the main app
|
||||||
configuration file using Jinja.
|
configuration file using Jinja.
|
||||||
|
|
||||||
More detailed usage examples can be found in the [StatefulSets documentation](/docs/concepts/abstractions/controllers/statefulsets/)
|
More detailed usage examples can be found in the [StatefulSets documentation](/docs/concepts/workloads/controllers/statefulset/)
|
||||||
and the [Production Pods guide](/docs/tasks/#handling-initialization).
|
and the [Production Pods guide](/docs/tasks/#handling-initialization).
|
||||||
|
|
||||||
### Init Containers in use
|
### Init Containers in use
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ A Controller can create and manage multiple Pods for you, handling replication a
|
|||||||
Some examples of Controllers that contain one or more pods include:
|
Some examples of Controllers that contain one or more pods include:
|
||||||
|
|
||||||
* [Deployment](/docs/concepts/workloads/controllers/deployment/)
|
* [Deployment](/docs/concepts/workloads/controllers/deployment/)
|
||||||
* [StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/)
|
* [StatefulSet](/docs/concepts/workloads/controllers/statefulset/)
|
||||||
* [DaemonSet](/docs/concepts/workloads/controllers/daemonset/)
|
* [DaemonSet](/docs/concepts/workloads/controllers/daemonset/)
|
||||||
|
|
||||||
In general, Controllers use a Pod Template that you provide to create the Pods for which it is responsible.
|
In general, Controllers use a Pod Template that you provide to create the Pods for which it is responsible.
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ title: Run a Replicated Stateful Application
|
|||||||
{% capture overview %}
|
{% capture overview %}
|
||||||
|
|
||||||
This page shows how to run a replicated stateful application using a
|
This page shows how to run a replicated stateful application using a
|
||||||
[StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/) controller.
|
[StatefulSet](/docs/concepts/workloads/controllers/statefulset/) controller.
|
||||||
The example is a MySQL single-master topology with multiple slaves running
|
The example is a MySQL single-master topology with multiple slaves running
|
||||||
asynchronous replication.
|
asynchronous replication.
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ on general patterns for running stateful applications in Kubernetes.
|
|||||||
* {% include default-storage-class-prereqs.md %}
|
* {% include default-storage-class-prereqs.md %}
|
||||||
* This tutorial assumes you are familiar with
|
* This tutorial assumes you are familiar with
|
||||||
[PersistentVolumes](/docs/concepts/storage/persistent-volumes/)
|
[PersistentVolumes](/docs/concepts/storage/persistent-volumes/)
|
||||||
and [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/),
|
and [StatefulSets](/docs/concepts/workloads/controllers/statefulset/),
|
||||||
as well as other core concepts like [Pods](/docs/concepts/workloads/pods/pod/),
|
as well as other core concepts like [Pods](/docs/concepts/workloads/pods/pod/),
|
||||||
[Services](/docs/concepts/services-networking/service/), and
|
[Services](/docs/concepts/services-networking/service/), and
|
||||||
[ConfigMaps](/docs/tasks/configure-pod-container/configmap/).
|
[ConfigMaps](/docs/tasks/configure-pod-container/configmap/).
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ title: StatefulSet Basics
|
|||||||
|
|
||||||
{% capture overview %}
|
{% capture overview %}
|
||||||
This tutorial provides an introduction to managing applications with
|
This tutorial provides an introduction to managing applications with
|
||||||
[StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/). It
|
[StatefulSets](/docs/concepts/workloads/controllers/statefulset/). It
|
||||||
demonstrates how to create, delete, scale, and update the Pods of StatefulSets.
|
demonstrates how to create, delete, scale, and update the Pods of StatefulSets.
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ following Kubernetes concepts.
|
|||||||
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
||||||
* [PersistentVolumes](/docs/concepts/storage/persistent-volumes/)
|
* [PersistentVolumes](/docs/concepts/storage/persistent-volumes/)
|
||||||
* [PersistentVolume Provisioning](https://github.com/kubernetes/examples/tree/{{page.githubbranch}}/staging/persistent-volume-provisioning/)
|
* [PersistentVolume Provisioning](https://github.com/kubernetes/examples/tree/{{page.githubbranch}}/staging/persistent-volume-provisioning/)
|
||||||
* [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/)
|
* [StatefulSets](/docs/concepts/workloads/controllers/statefulset/)
|
||||||
* [kubectl CLI](/docs/user-guide/kubectl)
|
* [kubectl CLI](/docs/user-guide/kubectl)
|
||||||
|
|
||||||
This tutorial assumes that your cluster is configured to dynamically provision
|
This tutorial assumes that your cluster is configured to dynamically provision
|
||||||
@@ -54,7 +54,7 @@ After this tutorial, you will be familiar with the following.
|
|||||||
|
|
||||||
Begin by creating a StatefulSet using the example below. It is similar to the
|
Begin by creating a StatefulSet using the example below. It is similar to the
|
||||||
example presented in the
|
example presented in the
|
||||||
[StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/) concept.
|
[StatefulSets](/docs/concepts/workloads/controllers/statefulset/) concept.
|
||||||
It creates a [Headless Service](/docs/concepts/services-networking/service/#headless-services),
|
It creates a [Headless Service](/docs/concepts/services-networking/service/#headless-services),
|
||||||
`nginx`, to publish the IP addresses of Pods in the StatefulSet, `web`.
|
`nginx`, to publish the IP addresses of Pods in the StatefulSet, `web`.
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ web-1 1/1 Running 0 1m
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
As mentioned in the [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/)
|
As mentioned in the [StatefulSets](/docs/concepts/workloads/controllers/statefulset/)
|
||||||
concept, the Pods in a StatefulSet have a sticky, unique identity. This identity
|
concept, the Pods in a StatefulSet have a sticky, unique identity. This identity
|
||||||
is based on a unique ordinal index that is assigned to each Pod by the
|
is based on a unique ordinal index that is assigned to each Pod by the
|
||||||
StatefulSet controller. The Pods' names take the form
|
StatefulSet controller. The Pods' names take the form
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ title: Running ZooKeeper, A CP Distributed System
|
|||||||
|
|
||||||
{% capture overview %}
|
{% capture overview %}
|
||||||
This tutorial demonstrates [Apache Zookeeper](https://zookeeper.apache.org) on
|
This tutorial demonstrates [Apache Zookeeper](https://zookeeper.apache.org) on
|
||||||
Kubernetes using [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/),
|
Kubernetes using [StatefulSets](/docs/concepts/workloads/controllers/statefulset/),
|
||||||
[PodDisruptionBudgets](/docs/concepts/workloads/pods/disruptions/#specifying-a-poddisruptionbudget),
|
[PodDisruptionBudgets](/docs/concepts/workloads/pods/disruptions/#specifying-a-poddisruptionbudget),
|
||||||
and [PodAntiAffinity](/docs/user-guide/node-selection/#inter-pod-affinity-and-anti-affinity-beta-feature).
|
and [PodAntiAffinity](/docs/user-guide/node-selection/#inter-pod-affinity-and-anti-affinity-beta-feature).
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
@@ -27,7 +27,7 @@ Kubernetes concepts.
|
|||||||
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
||||||
* [PersistentVolumes](/docs/concepts/storage/volumes/)
|
* [PersistentVolumes](/docs/concepts/storage/volumes/)
|
||||||
* [PersistentVolume Provisioning](https://github.com/kubernetes/examples/tree/{{page.githubbranch}}/staging/persistent-volume-provisioning/)
|
* [PersistentVolume Provisioning](https://github.com/kubernetes/examples/tree/{{page.githubbranch}}/staging/persistent-volume-provisioning/)
|
||||||
* [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/)
|
* [StatefulSets](/docs/concepts/workloads/controllers/statefulset/)
|
||||||
* [PodDisruptionBudgets](/docs/concepts/workloads/pods/disruptions/#specifying-a-poddisruptionbudget)
|
* [PodDisruptionBudgets](/docs/concepts/workloads/pods/disruptions/#specifying-a-poddisruptionbudget)
|
||||||
* [PodAntiAffinity](/docs/user-guide/node-selection/#inter-pod-affinity-and-anti-affinity-beta-feature)
|
* [PodAntiAffinity](/docs/user-guide/node-selection/#inter-pod-affinity-and-anti-affinity-beta-feature)
|
||||||
* [kubectl CLI](/docs/user-guide/kubectl)
|
* [kubectl CLI](/docs/user-guide/kubectl)
|
||||||
@@ -91,7 +91,7 @@ The manifest below contains a
|
|||||||
[Headless Service](/docs/concepts/services-networking/service/#headless-services),
|
[Headless Service](/docs/concepts/services-networking/service/#headless-services),
|
||||||
a [Service](/docs/concepts/services-networking/service),
|
a [Service](/docs/concepts/services-networking/service),
|
||||||
a [PodDisruptionBudget](/docs/concepts/workloads/pods/disruptions//#specifying-a-poddisruptionbudget),
|
a [PodDisruptionBudget](/docs/concepts/workloads/pods/disruptions//#specifying-a-poddisruptionbudget),
|
||||||
and a [StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/).
|
and a [StatefulSet](/docs/concepts/workloads/controllers/statefulset/).
|
||||||
|
|
||||||
{% include code.html language="yaml" file="zookeeper.yaml" ghlink="/docs/tutorials/stateful-application/zookeeper.yaml" %}
|
{% include code.html language="yaml" file="zookeeper.yaml" ghlink="/docs/tutorials/stateful-application/zookeeper.yaml" %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user