Get startedSign in

Create global service

POST/v1/api/cd/globalservices
Parameters
Responses
ParameterTypeDescription
service_idstring
tagsarrayTags used to match target clusters
cascadeobjectInput for cascade behavior when the global service is deleted
distrostringTarget cluster distribution
intervalstringPolling interval for syncing (e.g., "5m", "1h")
mgmtbooleanIf true, target the management cluster
namerequiredstringName for the global service
project_idstringID of the project this global service belongs to
provider_idstringID of the cluster provider to filter target clusters
reparentbooleanIf true, allows reparenting of existing services
templateobjectInput for a service template configuration
Response samples
200
{
  "tags": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "cascade": {
    "delete": false,
    "detach": false
  },
  "distro": "generic",
  "id": "string",
  "inserted_at": "string",
  "interval": "string",
  "mgmt": false,
  "name": "string",
  "project_id": "string",
  "provider_id": "string",
  "reparent": false,
  "service_id": "string",
  "template": {
    "contexts": [
      "string"
    ],
    "git": {
      "folder": "string",
      "ref": "string"
    },
    "helm": {
      "chart": "string",
      "release": "string",
      "repository_id": "string",
      "url": "string",
      "values": "string",
      "values_files": [
        "string"
      ],
      "version": "string"
    },
    "id": "string",
    "inserted_at": "string",
    "kustomize": {
      "enable_helm": false,
      "path": "string"
    },
    "name": "string",
    "namespace": "string",
    "protect": false,
    "repository_id": "string",
    "templated": false,
    "updated_at": "string"
  },
  "updated_at": "string"
}