﻿---
title: Kubernetes state_deployment metricset
description: This is the state_deployment 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/3016/reference/beats/metricbeat/metricbeat-metricset-kubernetes-state_deployment
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Kubernetes state_deployment metricset
This is the `state_deployment` 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/3016/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.deployment",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "deployment": {
            "name": "local-path-provisioner",
            "paused": false,
            "replicas": {
                "available": 1,
                "desired": 1,
                "unavailable": 0,
                "updated": 1
            },
            "status": {
                "available": "true",
                "progressing": "true"
            }
        },
        "namespace": "local-path-storage"
    },
    "metricset": {
        "name": "state_deployment",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}
```