﻿---
title: Kubernetes state_replicaset metricset
description: This is the state_replicaset metricset of the Kubernetes module. For a description of each field in the metricset, see the exported fields section. Here...
url: https://www.elastic.co/elastic/docs-builder/docs/2472/reference/beats/metricbeat/metricbeat-metricset-kubernetes-state_replicaset
applies_to:
  - Elastic Stack: Generally available in 9.0+
---

# Kubernetes state_replicaset metricset
This is the `state_replicaset` metricset of the Kubernetes module.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/elastic/docs-builder/docs/2472/reference/beats/metricbeat/exported-fields-kubernetes) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.replicaset",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "namespace": "default",
        "replicaset": {
            "name": "hellohpa-5947cf467d",
            "replicas": {
                "available": 1,
                "desired": 1,
                "labeled": 1,
                "observed": 1,
                "ready": 0
            }
        }
    },
    "metricset": {
        "name": "state_replicaset",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}
```