跳至正文
Wener Notes

Kubernetes Workload Objects

约 1 分钟阅读
标签:DevOpsKubernetesWorkloadStatefulSetCronJob

StatefulSet

StatefulSet maintains a sticky identity for each of their Pods. These pods are created from the same spec but are not interchangeable: each has a persistent identifier that it maintains across any rescheduling.

Valuable for applications that require:

  • Stable, unique network identifiers.
  • Stable, persistent storage.
  • Ordered, graceful deployment and scaling.
  • Ordered, automated rolling updates.

[!NOTE] If an application doesn't require any stable identifiers or ordered deployment, deletion, or scaling, you should deploy your application using a workload object that provides a set of stateless replicas (e.g., Deployment or ReplicaSet).

CronJob & Issues

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub1 条
其他外链1 条
最近更新commit 906e816编辑