---
title: Update your deployments
description: You can add and modify most elements of the original Kubernetes cluster specification provided that they translate to valid transformations of the underlying...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4440/deploy-manage/deploy/cloud-on-k8s/update-deployments
products:
  - Elastic Cloud on Kubernetes
---

# Update your deployments
You can add and modify most elements of the original Kubernetes cluster specification provided that they translate to valid transformations of the underlying Kubernetes resources (for example [existing volume claims cannot be downsized](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4440/deploy-manage/deploy/cloud-on-k8s/volume-claim-templates)). The ECK operator will attempt to apply your changes with minimal disruption to the existing cluster. You should ensure that the Kubernetes cluster has sufficient resources to accommodate the changes (extra storage space, sufficient memory and CPU resources to temporarily spin up new pods, and so on).
For example, you can grow the cluster to three Elasticsearch nodes from the [deployed Elasticsearch cluster](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4440/deploy-manage/deploy/cloud-on-k8s/elasticsearch-deployment-quickstart) example by updating the `count` with [`apply`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_apply/):
```yaml
cat <<EOF | kubectl apply -f -
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: quickstart
spec:
  version: 9.2.3
  nodeSets:
  - name: default
    count: 3
    config:
      node.store.allow_mmap: false
EOF
```

ECK will automatically schedule the requested update. Changes can be monitored with the [ECK operator logs](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4440/deploy-manage/deploy/cloud-on-k8s/install-using-yaml-manifest-quickstart), [`events`](https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/), and applicable product’s [pod `logs`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_logs/). These will either report successful application of changes or provide context for further troubleshooting. Kindly note, Kubernetes restricts some changes, for example refer to [Updating Volume Claims](/elastic/docs-content/pull/4440/deploy-manage/deploy/cloud-on-k8s/volume-claim-templates#k8s-volume-claim-templates-update).