compute
POST /v1/compute/clusters
Create a k3s cluster, optionally with Argo CD.
அங்கீகாரம்
பியரர் டோக்கனாக (bearer token) ஒரு API விசையை அனுப்பவும். அந்த விசை billing.payment.manage அனுமதியைக் கொண்டிருக்க வேண்டும்; அது இல்லாத விசை 404 அல்ல, 403 குறியீட்டுடன் மறுக்கப்படும்.
உங்கள் அமைப்பு ஐடி எங்கு செல்ல வேண்டும்
இந்த எண்ட்ஸ்பாயிண்ட் JSON பாடியில் உள்ள ஒரு புலமாக org_id-ஐ எடுத்துக்கொள்கிறது.
உங்கள் நிறுவன ஐடி உங்கள் டாஷ்போர்டில் உள்ள API விசைகள் திரையில், விசைக்கு அருகிலேயே உள்ளது. நீங்கள் செய்யும் ஒவ்வொரு அழைப்பிலும் இதுவே ஒரே ஐடி ஆகும்.
முயன்று பார்
கோண அடைப்புக்குறிகளில் உள்ள எதையும் உங்கள் சொந்த மதிப்புகளுடன் மாற்றவும், மேலும் விசை பிளேஸ்ஹோல்டரை உங்கள் டாஷ்போர்டில் உள்ள விசையுடன் மாற்றவும்.
curl -X POST https://api.zinndigital.com/v1/compute/clusters \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "name": <string>, "zone": <string>, "plan_code": <string>, "image": <string>, "worker_count": <integer> }'உள்நுழைந்துள்ளீர்களா? உங்கள் டேஷ்போர்டில் உள்ள ஏபிஐ கன்சோல் உங்கள் உண்மையான நிறுவன ஐடி மற்றும் உங்கள் சொந்த சாவியை நிரப்புகிறது, மேலும் நேரலை ஏபிஐக்கு எதிராக கோரிக்கையை இயக்குகிறது, இதனால் நீங்கள் உண்மையான பதிலைக் காண முடியும். இந்த எண்ட்மார்க்கை ஏபிஐ கன்சோலில் திறக்கவும்
விவரங்கள்
202. One control-plane machine and worker_count workers, each an ordinary pay-by-the-hour server, built into a private network. Kubernetes comes from the k3s stable channel and Argo CD from its stable manifests; the versions actually installed are read back from the cluster. ⛔ The balance must cover every machine's runway before anything is built. Quote it first with quoteComputeCluster. Requires billing.payment.manage.
கோரிக்கை உடல்
| பெயர் | வகை | தேவைப்படுகிறது | அது என்ன |
|---|---|---|---|
name | string | ஆம் | — |
zone | string | ஆம் | — |
plan_code | string | ஆம் | — |
image | string | ஆம் | — |
worker_count | integer | ஆம் | — |
install_argocd | boolean | இல்லை | — |
deploy_sample_app | boolean | இல்லை | Deploy Argo CD's example application through Argo CD. Needs Argo CD. |
ssh_keys | string[] | இல்லை | — |
org_id | Uuid | null | இல்லை | — |
பதில்
| பெயர் | வகை | தேவைப்படுகிறது | அது என்ன |
|---|---|---|---|
id | Uuid | ஆம் | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | ஆம் | — |
deploy_target | string | ஆம் | — |
zone | string | ஆம் | — |
plan_code | string | ஆம் | — |
image | string | ஆம் | — |
worker_count | integer | ஆம் | — |
install_argocd | boolean | ஆம் | — |
deploy_sample_app | boolean | ஆம் | — |
status | string<pending, provisioning, bootstrapping, ready, failed, terminating, terminated> | ஆம் | — |
message | string | ஆம் | — |
kubernetes_version | string | ஆம் | — |
argocd_version | string | ஆம் | — |
ready_nodes | integer | ஆம் | — |
sample_app_health | string | ஆம் | Argo CD's sync/health for the sample application, e.g. Synced/Healthy. |
api_address | string | ஆம் | The Kubernetes API's public address (port 6443). |
network_id | string | ஆம் | — |
nodes | ComputeServer[] | ஆம் | — |
created_at | string | ஆம் | — |
ready_at | object | ஆம் | — |
இந்த எண்ட்ஸ்பாயிண்ட் திரும்ப அனுப்பக்கூடிய பிழைகள்
401 · 403 · 404 · 422 · 429 · 503