---
title: "Update Cluster"
method: PUT
path: "/ocean/gcp/k8s/cluster/{oceanClusterId}"
tags: ["Ocean GKE"]
---

# Update Cluster

`PUT /ocean/gcp/k8s/cluster/{oceanClusterId}`

All Ocean parameters are updatable, excluding the Name and controllerClusterId. <br /> This API supports partial updates, so specific fields can be updated separately.

## Parameters

- `#/paths/~1ocean~1aws~1k8s~1cluster~1%7BoceanClusterId%7D/get/parameters/1` — unresolved $ref
- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `cluster` object, required — The specification of the Ocean cluster.
    - `id` string — Ocean cluster identifier.
    - `name` string — Add a name for the Ocean cluster.
    - `autoScaler` AutoScaler — unresolved $ref
    - `autoUpdate` AutoUpdate — unresolved $ref
    - `capacity` Capacity — unresolved $ref
    - `strategy` Strategy — unresolved $ref
    - `scheduling` Scheduling — unresolved $ref
    - `security` Security — unresolved $ref
    - `compute` Compute — unresolved $ref
    - `createdAt` string, date-time — A timestamp of the Ocean creation.
    - `updatedAt` string, date-time — A timestamp of the latest Ocean update.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
