---
title: Kubernetes StatefulSets
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Kubernetes StatefulSets
---

# Kubernetes StatefulSets

The Kubernetes StatefulSets table provides information about Kubernetes StatefulSets monitored by Datadog across your clusters. Each row represents a Kubernetes StatefulSet and includes metadata about annotations, labels, replica counts (desired, ready, current, updated), pod management policy (OrderedReady, Parallel), update strategy (RollingUpdate, OnDelete), partition for partitioned rolling updates, governing headless service, status conditions, container and init container specs, selectors, resource requirements, and lifecycle timestamps. This table enables you to monitor StatefulSet health and rollout status, track replica availability, compare desired vs actual to detect issues, analyze update strategies and pod management policies, and correlate StatefulSets with pod and container performance. You can filter and view resources by kube_stateful_set tag in Datadog.

```
k8s.statefulsets
```

## Fields

| Title                      | ID                         | Type | Data Type | Description                                                                                                                          |
| -------------------------- | -------------------------- | ---- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Annotations                | annotations                | core | hstore    | Key-value pairs containing annotations attached to the StatefulSet, stored as hstore.                                                |
| Cluster Name               | cluster_name               | core | string    | The name of the Kubernetes cluster where the StatefulSet is running.                                                                 |
| Creation Timestamp         | creation_timestamp         | core | timestamp | The timestamp when the StatefulSet was created.                                                                                      |
| Deletion Timestamp         | deletion_timestamp         | core | timestamp | The timestamp when the StatefulSet deletion was requested.                                                                           |
| Labels                     | labels                     | core | hstore    | Key-value pairs containing labels attached to the StatefulSet, stored as hstore.                                                     |
| StatefulSet Name           | name                       | core | string    | The name of the StatefulSet.                                                                                                         |
| Namespace                  | namespace                  | core | string    | The Kubernetes namespace where the StatefulSet is running.                                                                           |
| Spec Containers            | spec_containers            | core | json      | The container specifications for pods managed by this StatefulSet, stored as JSON.                                                   |
| Spec Init Containers       | spec_init_containers       | core | json      | The init container specifications for pods managed by this StatefulSet, stored as JSON.                                              |
| Spec Partition             | spec_partition             | core | int64     | The partition value used for partitioned rolling updates of the StatefulSet.                                                         |
| Spec Pod Management Policy | spec_pod_management_policy | core | string    | The policy that controls how pods are created during initial scale up, replacement, and scaling down (e.g., OrderedReady, Parallel). |
| Spec Replicas              | spec_replicas              | core | int64     | The desired number of replicas for the StatefulSet.                                                                                  |
| Spec Resource Requirements | spec_resource_requirements | core | json      | The resource requests and limits for containers in the StatefulSet, stored as JSON.                                                  |
| Spec Selector              | spec_selector              | core | json      | The label selectors used to match pods managed by this StatefulSet, stored as JSON.                                                  |
| Spec Service Name          | spec_service_name          | core | string    | The name of the governing headless service that manages this StatefulSet.                                                            |
| Spec Update Strategy       | spec_update_strategy       | core | string    | The strategy used to update pods (e.g., RollingUpdate, OnDelete).                                                                    |
| Status Conditions          | status_conditions          | core | json      | The conditions of the StatefulSet status, stored as JSON.                                                                            |
| Status Current Replicas    | status_current_replicas    | core | int64     | The number of replicas created by the StatefulSet controller from the current revision.                                              |
| Status Ready Replicas      | status_ready_replicas      | core | int64     | The number of ready replicas in the StatefulSet.                                                                                     |
| Status Replicas            | status_replicas            | core | int64     | The total number of replicas currently observed for the StatefulSet.                                                                 |
| Status Updated Replicas    | status_updated_replicas    | core | int64     | The number of replicas updated to the latest revision of the StatefulSet.                                                            |
| Resource Tags              | tags                       | core | hstore    | This field contains tags represented as key-value pairs, used to categorize and provide metadata about the StatefulSet.              |
| UID                        | uid                        | core | string    | The unique identifier of the StatefulSet.                                                                                            |
