pydo.kubernetes.add_registry()

Generated on 7 Jul 2026 from pydo version v0.39.0

Usage

client.kubernetes.add_registry(
    body={
        "cluster_uuids": [...],
    },
)
Returns NoneRaises HttpResponseError

Description

To integrate the container registry with Kubernetes clusters, send a POST request to /v2/kubernetes/registry.

Parameters

cluster_uuids array of strings optional

Example: ['bd5f5959-5e1e-4205-a714-a914373942af', '50c2f44c-011d-493e-aee5-361a4a0d1844']

An array containing the UUIDs of Kubernetes clusters.

Request Sample

Show Request Sample
import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

req = {
  "cluster_uuids": [
    "bd5f5959-5e1e-4205-a714-a914373942af",
    "50c2f44c-011d-493e-aee5-361a4a0d1844"
  ]
}

resp = client.kubernetes.add_registry(body=req)

More Information

See /v2/kubernetes/registry in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.