Skip to content

Commit 33d85c2

Browse files
Merge pull request #277061 from schaffererin/bug255264
Updated StatefulSets section per k8s docs
2 parents ef0d5f8 + 515b01a commit 33d85c2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

articles/aks/concepts-clusters-workloads.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,7 @@ Two Kubernetes resources, however, let you manage these types of applications: *
363363

364364
Modern application development often aims for stateless applications. For stateful applications, like those that include database components, you can use *StatefulSets*. Like deployments, a StatefulSet creates and manages at least one identical pod. Replicas in a StatefulSet follow a graceful, sequential approach to deployment, scale, upgrade, and termination operations. The naming convention, network names, and storage persist as replicas are rescheduled with a StatefulSet.
365365

366-
You can define the application in YAML format using `kind: StatefulSet`. From there, the StatefulSet Controller handles the deployment and management of the required replicas. Data writes to persistent storage, provided by Azure Managed Disks or Azure Files. With StatefulSets, the underlying persistent storage remains, even when the StatefulSet is deleted.
367-
368-
For more information, see [Kubernetes StatefulSets][kubernetes-statefulsets].
366+
You can define the application in YAML format using `kind: StatefulSet`. From there, the StatefulSet Controller handles the deployment and management of the required replicas. Data writes to persistent storage, provided by Azure Managed Disks or Azure Files. The underlying persistent storage remains even when the StatefulSet is deleted, unless the `spec.persistentVolumeClaimRetentionPolicy` is set to `Delete`. For more information, see [Kubernetes StatefulSets][kubernetes-statefulsets].
369367

370368
> [!IMPORTANT]
371369
> Replicas in a StatefulSet are scheduled and run across any available node in an AKS cluster. To ensure at least one pod in your set runs on a node, you should use a DaemonSet instead.

0 commit comments

Comments
 (0)