Google Kubernetes Engine
- POST
- /workspaces
- /:workspace
- /targets
Create a new Google Kubernetes Engine deployment target
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/targets" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"type": "GKE",
"identifier": "gke-production",
"name": "GKE Production Cluster",
"integration": "google-cloud-integration",
"cluster": "production-cluster",
"region": "us-central1",
"project_id": "my-gcp-project",
"zone": "us-central1-a",
"tags": [
"kubernetes",
"gcp",
"production"
]
}'STATUS201 Created