Infomaniak Public Cloud icon

Infomaniak Public Cloud

Interact with Infomaniak Public Cloud API

Actions70

Kubernetes Service → Update Kubernetes Service

AI-generated

Summary

Updates an existing Kubernetes Service on Infomaniak Public Cloud.

Inputs

  • authentication — Authentication method; either OAuth2 or API Key.
  • path_public_cloud_id (required) — Identifier of the Public Cloud.
  • path_public_cloud_project_id (required) — Identifier of the Public Cloud project.
  • path_kaas_id (required) — Identifier of the Kaas cluster.
  • bodyParameters — Additional fields to send in the request body; includes optional name and version settings.
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator is emitted.

Output shape

an object representing the updated Kubernetes Service

When returnFullResponse is true the complete API response is returned; otherwise the operation resolves with a success flag and no body.

Examples

Example 1: Update a Kubernetes Service to change its name

authentication=oauth2; path_public_cloud_id=12; path_public_cloud_project_id=34; path_kaas_id=5; bodyParameters={'body_name':'new-service'}

Example 2: Upgrade the Kubernetes version to 1.31

authentication=apiKey; path_public_cloud_id=12; path_public_cloud_project_id=34; path_kaas_id=5; bodyParameters={'body_kubernetes_version':'1.31'}

Example 3: Perform an update and receive the full response

authentication=oauth2; path_public_cloud_id=12; path_public_cloud_project_id=34; path_kaas_id=5; bodyParameters={'body_name':'my-service'}; returnFullResponse=true

Links

Discussion