DigitalOcean-public.v2-new_1-Click Applications
Install Kubernetes 1-Click Applications
To install a Kubernetes 1-Click application on a cluster, send a POST request to /v2/1-clicks/kubernetes. The addon_slugs and cluster_uuid must be provided as body parameter in order to specify which 1-Click application(s) to install. To list all available 1-Click Kubernetes applications, send a request to /v2/1-clicks?type=kubernetes.
post/v2/1-clicks/kubernetes
Request body
Example request
{
"addon_slugs": [
"kube-state-metrics",
"loki"
],
"cluster_uuid": "50a994b6-c303-438f-9495-7e896cfe6b08"
}Response
The response will verify that a job has been successfully created to install a 1-Click. The post-installation lifecycle of a 1-Click application can not be managed via the DigitalOcean API. For additional details specific to the 1-Click, find and view its DigitalOcean Marketplace page.
Example response
{
"message": "Successfully kicked off addon job."
}