{
"error": "Payment Required",
"message": "Insufficient balance for subscription"
}
Clusters
Create Kubernetes Cluster
Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with pending status; the cluster is usable when ready is true (typically 8–12 minutes).
API-created clusters follow the account’s billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation).
Retries are safe with an Idempotency-Key header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.
API-created clusters bill pay-as-you-go per node-hour. Accounts on subscription billing receive 402 — create the cluster from the dashboard instead. Retries are safe with an Idempotency-Key header.
Authorizations
X-API-Key
string
header
required
API key for authentication. Each key is bound to a specific account.
Headers
X-Project-ID
string<uuid>
required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Idempotency-Key
string
Any unique string (max 128 chars). Reuse the same value when retrying a failed or timed-out request.
Maximum string length: 128
Body
application/json
name
string
required
1–63 lowercase letters, digits or hyphens; unique within the account
Example:
"prod"
node_pools
object[]
required
At least one pool with at least 2 nodes in total. Pools may use different plans — each pool's nodes are sized and billed by its own plan.
3-master highly available control plane (flat monthly fee)
firewall_enabled
boolean
default:true
Attach the platform baseline firewall to the public gateway
firewall_security_group_id
string<uuid>
Use one of your security groups instead of the baseline
storage_node_count
integer
default:0
deprecated
Removed August 26, 2026 — every cluster includes the raff-block default StorageClass: PersistentVolumeClaims are provisioned as Volumes and billed per GB. Any value other than 0 is rejected.
storage_node_disk_gb
integer
deprecated
Removed August 26, 2026 together with storage_node_count.
traefik_enabled
boolean
default:false
Install the Traefik ingress controller
metallb_enabled
boolean
default:false
Install MetalLB for LoadBalancer services
cluster_cidr
string
default:10.42.0.0/16
Pod network override (private IPv4, /12–/24)
service_cidr
string
default:10.43.0.0/16
Service network override (private IPv4, /12–/24)
region
enum<string>
default:us-east
Available options:
us-east
Response
Cluster accepted for provisioning (status pending)
success
boolean
cluster
object
Show child attributes
Last modified on August 24, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Raff","colors":{"primary":"#E43D12","light":"#f15e3a","dark":"#b32f0d"},"logo":{"light":"https://mintcdn.com/rafftechnologiesllc/-fGNhyEGXJeJV5ed/logo/light.svg?fit=max\u0026auto=format\u0026n=-fGNhyEGXJeJV5ed\u0026q=85\u0026s=0e81ca868d348265df3068ed9c0d9769","dark":"https://mintcdn.com/rafftechnologiesllc/-fGNhyEGXJeJV5ed/logo/dark.svg?fit=max\u0026auto=format\u0026n=-fGNhyEGXJeJV5ed\u0026q=85\u0026s=449e6e79f98b68b6f313c524bc66dc76"},"favicon":"https://mintcdn.com/rafftechnologiesllc/W-SRe3pyhI_9M9ss/favicon.ico?fit=max\u0026auto=format\u0026n=W-SRe3pyhI_9M9ss\u0026q=85\u0026s=108c3e7250ef83b8d547d35e00467418","api":{"playground":{}},"navbar":{"links":[{"href":"mailto:support@rafftechnologies.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.rafftechnologies.com"}},"footer":{"socials":{"x":"https://x.com/rafftechnologies","instagram":"https://instagram.com/rafftechnologies","linkedin":"https://linkedin.com/company/rafftechnologies","reddit":"https://www.reddit.com/user/rafftechnologies","github":"https://github.com/rafftechnologies"},"links":[{"header":"Company","items":[{"label":"About","href":"https://rafftechnologies.com/about-us"},{"label":"Blog","href":"https://rafftechnologies.com/blog"},{"label":"Pricing","href":"https://rafftechnologies.com/pricing"},{"label":"Status","href":"https://rafftechnologies.com/status"}]},{"header":"Docs","items":[{"label":"Docs Home","href":"/introduction"},{"label":"API Reference","href":"/api-reference/endpoints"},{"label":"CLI","href":"/reference/cli/introduction"},{"label":"Terraform Provider","href":"https://registry.terraform.io/providers/RaffTechnologies/raff/latest"},{"label":"Quickstart","href":"/quickstart"},{"label":"Products","href":"/products"}]},{"header":"Application","items":[{"label":"Dashboard","href":"https://app.rafftechnologies.com"},{"label":"Sign in","href":"https://app.rafftechnologies.com/auth/sign-in"},{"label":"Sign up","href":"https://app.rafftechnologies.com/auth/sign-up"},{"label":"Marketplace","href":"https://marketplace.rafftechnologies.com"}]},{"header":"Support","items":[{"label":"Tickets","href":"https://help.rafftechnologies.com"},{"label":"Contact","href":"mailto:support@rafftechnologies.com"},{"label":"FAQ","href":"https://rafftechnologies.com/faq"},{"label":"Terms of Service","href":"https://app.rafftechnologies.com/legal"},{"label":"Privacy Policy","href":"https://app.rafftechnologies.com/legal"},{"label":"SLA","href":"https://app.rafftechnologies.com/legal"}]}]},"seo":{"metatags":{"og:site_name":"Raff","og:image":"https://rafftechnologies.com/images/og.jpg","twitter:card":"summary_large_image","twitter:site":"@rafftechnologies"},"indexing":"all"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"/api-reference/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rafftechnologiesllc","hasAudioNarration":false,"actualSubdomain":"rafftechnologiesllc","customDomains":["docs.rafftechnologies.com"],"gitSource":{"type":"github","owner":"rafftechnologies","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6b0425835ed0b3845e7c2199","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Reference","count":289},{"language":"default","tag":"REST API","count":236},{"language":"default","tag":"Products","count":232},{"language":"default","tag":"Build","count":109},{"language":"default","tag":"Quickstart \u0026 guides","count":95},{"language":"default","tag":"Raff Apps","count":72},{"language":"default","tag":"Virtual Machines","count":70},{"language":"default","tag":"Concepts","count":62},{"language":"default","tag":"Managed Databases","count":60},{"language":"default","tag":"Kubernetes","count":52}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/kubernetes/create-cluster","slug":"/api-reference/kubernetes/create-cluster","pageMetadata":{"title":"Create Kubernetes Cluster","openapi":"POST /api/v1/k8s/clusters","description":"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with `pending` status; the cluster is usable when `ready` is `true` (typically 8–12 minutes).\n\nAPI-created clusters follow the account's billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation).\n\nRetries are safe with an `Idempotency-Key` header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\n","href":"/api-reference/kubernetes/create-cluster"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with \", _jsx(_components.code, {\n children: \"pending\"\n }), \" status; the cluster is usable when \", _jsx(_components.code, {\n children: \"ready\"\n }), \" is \", _jsx(_components.code, {\n children: \"true\"\n }), \" (typically 8–12 minutes).\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"API-created clusters follow the account’s billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation).\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Retries are safe with an \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(`sub`,{children:`Updated August 24, 2026`}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:`Before creating a cluster, you need:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`node plan ID`}),` — get one from `,_jsx(_components.a,{href:`/api-reference/kubernetes/list-node-plans`,children:`List Kubernetes Node Plans`})]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`project ID`}),` for the `,_jsx(_components.code,{children:`X-Project-ID`}),` header — see `,_jsx(_components.a,{href:`/products/manage/team-projects/quickstart-guides/generate-api-key`,children:`Generate an API key`})]}),`\n`,_jsxs(_components.li,{children:[`Optionally a `,_jsx(_components.strong,{children:`version ID`}),` from `,_jsx(_components.a,{href:`/api-reference/kubernetes/list-kubernetes-versions`,children:`List Kubernetes Versions`}),` (omit for the default)`]}),`\n`]}),_jsxs(_components.p,{children:[`API-created clusters bill `,_jsx(_components.strong,{children:`pay-as-you-go`}),` per node-hour. Accounts on subscription billing receive `,_jsx(_components.code,{children:`402`}),` — create the cluster from the dashboard instead. Retries are safe with an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header.`]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Kubernetes Cluster","openapi":"POST /api/v1/k8s/clusters","description":"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with `pending` status; the cluster is usable when `ready` is `true` (typically 8–12 minutes).\n\nAPI-created clusters follow the account's billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation).\n\nRetries are safe with an `Idempotency-Key` header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\n","href":"/api-reference/kubernetes/create-cluster"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Kubernetes"],"summary":"Create Kubernetes cluster","description":"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with `pending` status; the cluster is usable when `ready` is `true` (typically 8–12 minutes).\n\nAPI-created clusters follow the account's billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation).\n\nRetries are safe with an `Idempotency-Key` header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\n","operationId":"createK8sCluster","parameters":["22f93947-a6b3-4769-a804-81ae63769821","f4262ae5-90d9-4fb7-9402-862f572cf827"],"requestBody":"4c47c36d-f8df-452a-96ae-ec6790e86fd7","responses":{"201":"bfb73908-e170-414c-a3bd-ec9a03fe22bb","400":"6d3af121-08c7-4bc8-a671-8ee45cb80d18","401":"c10952fb-3c6c-4dde-8f28-b94452cba454","402":"5fea11e4-7d32-45ae-a0ac-2a8b964682cb"},"method":"post","type":"path","servers":["6789a6e5-e415-4c99-8fcb-6cd793ffdcee"],"security":["326ac752-5310-476b-a513-6351e014d53d"],"path":"/api/v1/k8s/clusters","baseUrlOptions":["https://api.rafftechnologies.com"],"title":"Create Kubernetes cluster","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"22f93947-a6b3-4769-a804-81ae63769821":{"name":"X-Project-ID","in":"header","required":true,"description":"Project ID. Required for all mutating operations (create, delete, power actions, resize).","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Project ID. Required for all mutating operations (create, delete, power actions, resize).","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"f4262ae5-90d9-4fb7-9402-862f572cf827":{"name":"Idempotency-Key","in":"header","required":false,"description":"Any unique string (max 128 chars). Reuse the same value when retrying a failed or timed-out request.","schema":{"type":"string","maxLength":128,"isRequired":false,"description":"Any unique string (max 128 chars). Reuse the same value when retrying a failed or timed-out request.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","node_pools"],"properties":{"name":{"type":"string","description":"1–63 lowercase letters, digits or hyphens; unique within the account","example":"prod","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"node_pools":{"type":"array","minItems":1,"description":"At least one pool with at least 2 nodes in total. Pools may use different plans — each pool's nodes are sized and billed by its own plan.","items":{"type":"object","required":["name","node_count","plan_id"],"properties":{"name":{"type":"string","description":"1–63 lowercase letters, digits or hyphens; unique within the cluster","example":"default-pool","isRequired":true,"uniqueKey":"node_pools.items.[INDEX].name","typeLabel":"string"},"node_count":{"type":"integer","minimum":1,"maximum":20,"description":"Per-pool minimum is 1; the cluster needs at least 2 worker nodes across all pools","example":3,"isRequired":true,"uniqueKey":"node_pools.items.[INDEX].node_count","typeLabel":"integer"},"plan_id":{"type":"integer","description":"Worker plan from [List Kubernetes node plans](#tag/Kubernetes/operation/listK8sNodePlans). Pools in one cluster may use different plans.","example":11,"isRequired":true,"uniqueKey":"node_pools.items.[INDEX].plan_id","typeLabel":"integer"},"min_nodes":{"type":"integer","description":"Autoscaler floor","uniqueKey":"node_pools.items.[INDEX].min_nodes","typeLabel":"integer"},"max_nodes":{"type":"integer","description":"Autoscaler ceiling","uniqueKey":"node_pools.items.[INDEX].max_nodes","typeLabel":"integer"},"autoscale_enabled":{"type":"boolean","default":false,"uniqueKey":"node_pools.items.[INDEX].autoscale_enabled","typeLabel":"boolean"},"labels":{"type":"string","description":"JSON object of Kubernetes labels applied to the pool's nodes, e.g. `{\"workload\":\"web\"}`","uniqueKey":"node_pools.items.[INDEX].labels","typeLabel":"string"},"taints":{"type":"string","description":"JSON array of taints, e.g. `[{\"key\":\"gpu\",\"value\":\"true\",\"effect\":\"NoSchedule\"}]`","uniqueKey":"node_pools.items.[INDEX].taints","typeLabel":"string"}},"uniqueKey":"node_pools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"node_pools","typeLabel":"object[]"},"k8s_version_id":{"type":"integer","description":"From [List Kubernetes versions](#tag/Kubernetes/operation/listK8sVersions). Omit for the default version.","example":1,"uniqueKey":"k8s_version_id","typeLabel":"integer"},"ha_enabled":{"type":"boolean","description":"3-master highly available control plane (flat monthly fee)","default":false,"uniqueKey":"ha_enabled","typeLabel":"boolean"},"firewall_enabled":{"type":"boolean","description":"Attach the platform baseline firewall to the public gateway","default":true,"uniqueKey":"firewall_enabled","typeLabel":"boolean"},"firewall_security_group_id":{"type":"string","format":"uuid","description":"Use one of your security groups instead of the baseline","uniqueKey":"firewall_security_group_id","typeLabel":"string\u003cuuid>"},"storage_node_count":{"type":"integer","deprecated":true,"description":"Removed August 26, 2026 — every cluster includes the `raff-block` default StorageClass: PersistentVolumeClaims are provisioned as Volumes and billed per GB. Any value other than 0 is rejected.","default":0,"uniqueKey":"storage_node_count","typeLabel":"integer"},"storage_node_disk_gb":{"type":"integer","deprecated":true,"description":"Removed August 26, 2026 together with `storage_node_count`.","uniqueKey":"storage_node_disk_gb","typeLabel":"integer"},"traefik_enabled":{"type":"boolean","description":"Install the Traefik ingress controller","default":false,"uniqueKey":"traefik_enabled","typeLabel":"boolean"},"metallb_enabled":{"type":"boolean","description":"Install MetalLB for `LoadBalancer` services","default":false,"uniqueKey":"metallb_enabled","typeLabel":"boolean"},"cluster_cidr":{"type":"string","description":"Pod network override (private IPv4, /12–/24)","default":"10.42.0.0/16","uniqueKey":"cluster_cidr","typeLabel":"string"},"service_cidr":{"type":"string","description":"Service network override (private IPv4, /12–/24)","default":"10.43.0.0/16","uniqueKey":"service_cidr","typeLabel":"string"},"region":{"type":"string","enum":["us-east"],"default":"us-east","uniqueKey":"region","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"prod","node_pools":[{"name":"default-pool","node_count":3,"plan_id":11,"min_nodes":123,"max_nodes":123,"autoscale_enabled":false,"labels":"\u003cstring>","taints":"\u003cstring>"}],"k8s_version_id":1,"ha_enabled":false,"firewall_enabled":true,"firewall_security_group_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","storage_node_count":0,"storage_node_disk_gb":123,"traefik_enabled":false,"metallb_enabled":false,"cluster_cidr":"10.42.0.0/16","service_cidr":"10.43.0.0/16","region":"us-east"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"bfb73908-e170-414c-a3bd-ec9a03fe22bb":{"description":"Cluster accepted for provisioning (status `pending`)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"cluster":{"type":"object","required":["id","cluster_id","name","status","ready"],"properties":{"id":{"type":"string","format":"uuid","description":"Internal UUID","isRequired":true,"uniqueKey":"cluster.id","typeLabel":"string\u003cuuid>"},"cluster_id":{"type":"string","description":"Short cluster ID used in URLs and the API endpoint hostname","example":"q7z7zg","isRequired":true,"uniqueKey":"cluster.cluster_id","typeLabel":"string"},"name":{"type":"string","example":"prod","isRequired":true,"uniqueKey":"cluster.name","typeLabel":"string"},"status":{"type":"string","enum":["pending","deploying","running","warning","failed","deleting","delete_failed","deleted"],"description":"- `pending` / `deploying` — provisioning\n- `running` — control plane up\n- `warning` — degraded (see `status_message`)\n- `failed` — provisioning failed; infrastructure was torn down (see `status_message`)\n- `deleting` — teardown in progress\n- `delete_failed` — teardown incomplete; nothing removed — retry the delete\n","isRequired":true,"uniqueKey":"cluster.status","typeLabel":"enum\u003cstring>"},"ready":{"type":"boolean","description":"`true` when the cluster is running and no node pool is mid-operation — safe to use without interpreting `status`","isRequired":true,"uniqueKey":"cluster.ready","typeLabel":"boolean"},"status_message":{"type":"string","description":"Human-readable detail for warning/failed/delete_failed","uniqueKey":"cluster.status_message","typeLabel":"string"},"dns_domain":{"type":"string","example":"q7z7zg.k8s.raffusercloud.com","uniqueKey":"cluster.dns_domain","typeLabel":"string"},"api_endpoint":{"type":"string","example":"https://q7z7zg.k8s.raffusercloud.com:6443","uniqueKey":"cluster.api_endpoint","typeLabel":"string"},"k8s_version":{"type":"string","example":"v1.33.4+rke2r1","uniqueKey":"cluster.k8s_version","typeLabel":"string"},"k8s_version_id":{"type":"integer","uniqueKey":"cluster.k8s_version_id","typeLabel":"integer"},"region":{"type":"string","enum":["us-east"],"uniqueKey":"cluster.region","typeLabel":"enum\u003cstring>"},"master_count":{"type":"integer","description":"1, or 3 with an HA control plane","uniqueKey":"cluster.master_count","typeLabel":"integer"},"worker_count":{"type":"integer","description":"Total worker nodes across all pools","uniqueKey":"cluster.worker_count","typeLabel":"integer"},"ha_enabled":{"type":"boolean","uniqueKey":"cluster.ha_enabled","typeLabel":"boolean"},"firewall_enabled":{"type":"boolean","uniqueKey":"cluster.firewall_enabled","typeLabel":"boolean"},"longhorn_enabled":{"type":"boolean","description":"Legacy clusters only — dedicated storage nodes with Longhorn block storage. Clusters created since August 26, 2026 use the `raff-block` StorageClass (PVCs become Volumes) and report false.","uniqueKey":"cluster.longhorn_enabled","typeLabel":"boolean"},"traefik_enabled":{"type":"boolean","uniqueKey":"cluster.traefik_enabled","typeLabel":"boolean"},"metallb_enabled":{"type":"boolean","uniqueKey":"cluster.metallb_enabled","typeLabel":"boolean"},"billing_type":{"type":"string","enum":["payg","subscription"],"uniqueKey":"cluster.billing_type","typeLabel":"enum\u003cstring>"},"project_id":{"type":"string","format":"uuid","uniqueKey":"cluster.project_id","typeLabel":"string\u003cuuid>"},"price_per_hour":{"type":"number","format":"double","description":"Current hourly price (workers + HA fee; control plane is free, PVC storage bills separately per GB)","uniqueKey":"cluster.price_per_hour","typeLabel":"number\u003cdouble>"},"price_per_month":{"type":"number","format":"double","uniqueKey":"cluster.price_per_month","typeLabel":"number\u003cdouble>"},"vpc_id":{"type":"string","description":"Dedicated VPC the cluster runs in","uniqueKey":"cluster.vpc_id","typeLabel":"string"},"private_vip":{"type":"string","description":"Cluster gateway IP inside the VPC","example":"10.1.0.254","uniqueKey":"cluster.private_vip","typeLabel":"string"},"node_pools":{"type":"array","items":{"type":"object","required":["id","name","node_count","status"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"cluster.node_pools.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"cluster.node_pools.items.[INDEX].name","typeLabel":"string"},"node_count":{"type":"integer","description":"Target node count","isRequired":true,"uniqueKey":"cluster.node_pools.items.[INDEX].node_count","typeLabel":"integer"},"status":{"type":"string","enum":["pending","provisioning","running","scaling","failed","deleting","deleted"],"description":"`scaling`/`deleting` are asynchronous — watch `status_message` for the outcome (e.g. a drain blocked by a PodDisruptionBudget)","isRequired":true,"uniqueKey":"cluster.node_pools.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"cluster_id":{"type":"string","format":"uuid","uniqueKey":"cluster.node_pools.items.[INDEX].cluster_id","typeLabel":"string\u003cuuid>"},"actual_node_count":{"type":"integer","description":"Nodes that currently exist (differs from `node_count` while scaling)","uniqueKey":"cluster.node_pools.items.[INDEX].actual_node_count","typeLabel":"integer"},"min_nodes":{"type":"integer","uniqueKey":"cluster.node_pools.items.[INDEX].min_nodes","typeLabel":"integer"},"max_nodes":{"type":"integer","uniqueKey":"cluster.node_pools.items.[INDEX].max_nodes","typeLabel":"integer"},"autoscale_enabled":{"type":"boolean","uniqueKey":"cluster.node_pools.items.[INDEX].autoscale_enabled","typeLabel":"boolean"},"plan_id":{"type":"integer","uniqueKey":"cluster.node_pools.items.[INDEX].plan_id","typeLabel":"integer"},"cpu":{"type":"integer","uniqueKey":"cluster.node_pools.items.[INDEX].cpu","typeLabel":"integer"},"ram":{"type":"integer","description":"GB","uniqueKey":"cluster.node_pools.items.[INDEX].ram","typeLabel":"integer"},"disk":{"type":"integer","description":"GB","uniqueKey":"cluster.node_pools.items.[INDEX].disk","typeLabel":"integer"},"labels":{"type":"string","uniqueKey":"cluster.node_pools.items.[INDEX].labels","typeLabel":"string"},"taints":{"type":"string","uniqueKey":"cluster.node_pools.items.[INDEX].taints","typeLabel":"string"},"status_message":{"type":"string","uniqueKey":"cluster.node_pools.items.[INDEX].status_message","typeLabel":"string"},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"pool_id":{"type":"string","format":"uuid","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].pool_id","typeLabel":"string\u003cuuid>"},"cluster_id":{"type":"string","format":"uuid","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].cluster_id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].name","typeLabel":"string"},"role":{"type":"string","enum":["vnf","master","worker","storage"],"description":"`vnf` is the cluster's network gateway","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","provisioning","running","not_ready","cordoned","failed","deleting","deleted"],"description":"`running` means the kubelet reports Ready; `cordoned` = unschedulable (drain or manual cordon); `not_ready` = joined but failing health checks","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"cpu":{"type":"integer","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].cpu","typeLabel":"integer"},"ram":{"type":"integer","description":"GB","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].ram","typeLabel":"integer"},"disk":{"type":"integer","description":"GB","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].disk","typeLabel":"integer"},"ip_address":{"type":"string","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].ip_address","typeLabel":"string"},"price_per_hour":{"type":"number","format":"double","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].price_per_hour","typeLabel":"number\u003cdouble>"},"created_at":{"type":"string","format":"date-time","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"cluster.node_pools.items.[INDEX].nodes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"cluster.node_pools.items.[INDEX].nodes","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","uniqueKey":"cluster.node_pools.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"cluster.node_pools.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"cluster.node_pools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"cluster.node_pools","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","uniqueKey":"cluster.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"cluster.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"cluster","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"cluster":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","cluster_id":"q7z7zg","name":"prod","status":"pending","ready":true,"status_message":"\u003cstring>","dns_domain":"q7z7zg.k8s.raffusercloud.com","api_endpoint":"https://q7z7zg.k8s.raffusercloud.com:6443","k8s_version":"v1.33.4+rke2r1","k8s_version_id":123,"region":"us-east","master_count":123,"worker_count":123,"ha_enabled":true,"firewall_enabled":true,"longhorn_enabled":true,"traefik_enabled":true,"metallb_enabled":true,"billing_type":"payg","project_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","price_per_hour":123,"price_per_month":123,"vpc_id":"\u003cstring>","private_vip":"10.1.0.254","node_pools":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","node_count":123,"status":"pending","cluster_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","actual_node_count":123,"min_nodes":123,"max_nodes":123,"autoscale_enabled":true,"plan_id":123,"cpu":123,"ram":123,"disk":123,"labels":"\u003cstring>","taints":"\u003cstring>","status_message":"\u003cstring>","nodes":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","pool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","cluster_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","role":"vnf","status":"pending","cpu":123,"ram":123,"disk":123,"ip_address":"\u003cstring>","price_per_hour":123,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}],"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}],"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6d3af121-08c7-4bc8-a671-8ee45cb80d18":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c10952fb-3c6c-4dde-8f28-b94452cba454":{"description":"Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5fea11e4-7d32-45ae-a0ac-2a8b964682cb":{"description":"Account balance is insufficient for this operation. Top up the balance and retry.\n","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Payment Required","message":"Insufficient balance for subscription"},"examples":{"Example":{"title":"Example","value":{"error":"Payment Required","message":"Insufficient balance for subscription"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"326ac752-5310-476b-a513-6351e014d53d":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Each key is bound to a specific account.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"6789a6e5-e415-4c99-8fcb-6cd793ffdcee":{"url":"https://api.rafftechnologies.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Each key is bound to a specific account.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"API key for authentication. Each key is bound to a specific account.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"rafftechnologiesllc","siteName":"Raff","title":"Create Kubernetes Cluster - Raff","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-24T21:31:02.345Z","gitLastModified":"2026-08-24T08:25:17.000Z","originalFileLocation":"api-reference/kubernetes/create-cluster.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with pending status; the cluster is usable when ready is true (typically 8–12 minutes). API-created clusters follow the account\u0026#x27;s billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation). Retries are safe with an Idempotency-Key header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Raff\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Kubernetes Cluster - Raff\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with pending status; the cluster is usable when ready is true (typically 8–12 minutes). API-created clusters follow the account\u0026#x27;s billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation). Retries are safe with an Idempotency-Key header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Raff\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rafftechnologies.com/images/og.jpg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Kubernetes Cluster - Raff\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with pending status; the cluster is usable when ready is true (typically 8–12 minutes). API-created clusters follow the account\u0026#x27;s billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation). Retries are safe with an Idempotency-Key header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rafftechnologies.com/images/og.jpg\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rafftechnologiesllc/81XTCmJ0Yt4lOC7_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Raff\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E43D12\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/kubernetes/create-cluster.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rafftechnologies.com/#organization\",\"name\":\"Raff\",\"url\":\"https://docs.rafftechnologies.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rafftechnologiesllc/-fGNhyEGXJeJV5ed/logo/light.svg?fit=max\u0026auto=format\u0026n=-fGNhyEGXJeJV5ed\u0026q=85\u0026s=0e81ca868d348265df3068ed9c0d9769\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rafftechnologies.com#website\",\"name\":\"Raff\",\"url\":\"https://docs.rafftechnologies.com\",\"publisher\":{\"@id\":\"https://docs.rafftechnologies.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster#webpage\",\"url\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster\",\"name\":\"Create Kubernetes Cluster\",\"description\":\"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with pending status; the cluster is usable when ready is true (typically 8–12 minutes). API-created clusters follow the account's billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation). Retries are safe with an Idempotency-Key header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\",\"dateModified\":\"2026-08-24T08:25:17.000Z\",\"isPartOf\":{\"@id\":\"https://docs.rafftechnologies.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.rafftechnologies.com/api-reference/endpoints\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kubernetes\",\"item\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/list-clusters\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Clusters\",\"item\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/list-clusters\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Create Kubernetes Cluster\",\"item\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster#apireference\",\"headline\":\"Create Kubernetes Cluster\",\"name\":\"Create Kubernetes Cluster\",\"description\":\"Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with pending status; the cluster is usable when ready is true (typically 8–12 minutes). API-created clusters follow the account's billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation). Retries are safe with an Idempotency-Key header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one.\",\"url\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster#webpage\"},\"image\":\"https://rafftechnologies.com/images/og.jpg\",\"dateModified\":\"2026-08-24T08:25:17.000Z\",\"publisher\":{\"@id\":\"https://docs.rafftechnologies.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rafftechnologies.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Raff\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Raff\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/kubernetes/create-cluster.md","siteName":"Raff","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"/api-reference/changelog"}]},"tabs":[{"tab":"Products","pages":[{"title":"Products","href":"/products"}]},{"tab":"Reference","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"}]},{"group":"Guides","pages":[{"title":"Create Your First VM","href":"/guides/create-your-first-vm"}]},{"group":"REST API","pages":[{"title":"All Endpoints","href":"/api-reference/endpoints"},{"group":"Catalog","pages":[{"title":"List Regions","openapi":"GET /api/v1/public/regions","href":"/api-reference/catalog/list-regions"},{"title":"List OS Templates","openapi":"GET /api/v1/public/templates","href":"/api-reference/catalog/list-templates"},{"title":"List VM Pricing","openapi":"GET /api/v1/public/pricing/vm","href":"/api-reference/catalog/list-vm-pricing"},{"title":"Get Volume Pricing","openapi":"GET /api/v1/public/pricing/volume","href":"/api-reference/catalog/list-volume-pricing"},{"title":"Get Snapshot Pricing","openapi":"GET /api/v1/public/pricing/snapshot","href":"/api-reference/catalog/list-snapshot-pricing"},{"title":"Get Backup Pricing","openapi":"GET /api/v1/public/pricing/backup","href":"/api-reference/catalog/list-backup-pricing"},{"title":"Get IP Pricing","openapi":"GET /api/v1/public/pricing/ip","href":"/api-reference/catalog/list-ip-pricing"},{"title":"Get VPN Pricing","openapi":"GET /api/v1/public/pricing/vpn","href":"/api-reference/catalog/list-vpn-pricing"},{"title":"List Database Pricing","openapi":"GET /api/v1/public/pricing/database","href":"/api-reference/catalog/list-database-pricing"},{"title":"List Kubernetes Pricing","openapi":"GET /api/v1/public/pricing/kubernetes","href":"/api-reference/catalog/list-kubernetes-pricing"}]},{"group":"Projects","pages":[{"title":"List Projects","openapi":"GET /api/v1/projects","href":"/api-reference/projects/list-projects"},{"title":"Create Project","openapi":"POST /api/v1/projects","href":"/api-reference/projects/create-project"},{"title":"Get Project","openapi":"GET /api/v1/projects/{id}","href":"/api-reference/projects/get-project"},{"title":"Update Project","openapi":"PUT /api/v1/projects/{id}","href":"/api-reference/projects/update-project"},{"title":"Delete Project","openapi":"DELETE /api/v1/projects/{id}","href":"/api-reference/projects/delete-project"}]},{"group":"Virtual Machines","pages":[{"group":"Lifecycle","pages":[{"title":"List VMs","openapi":"GET /api/v1/vms","href":"/api-reference/endpoint/list-vms"},{"title":"Create VM","openapi":"POST /api/v1/vms","href":"/api-reference/endpoint/create-vm"},{"title":"Get VM","openapi":"GET /api/v1/vms/{id}","href":"/api-reference/endpoint/get-vm"},{"title":"Delete VM","openapi":"DELETE /api/v1/vms/{id}","href":"/api-reference/endpoint/delete-vm"},{"title":"Bulk Delete VMs","openapi":"DELETE /api/v1/vms/bulk","href":"/api-reference/endpoint/bulk-delete-vms"}]},{"group":"Power \u0026 state","pages":[{"title":"Start VM","openapi":"POST /api/v1/vms/{id}/start","href":"/api-reference/endpoint/start-vm"},{"title":"Stop VM","openapi":"POST /api/v1/vms/{id}/stop","href":"/api-reference/endpoint/stop-vm"},{"title":"Reboot VM","openapi":"POST /api/v1/vms/{id}/reboot","href":"/api-reference/endpoint/reboot-vm"},{"title":"Hard reboot VM","openapi":"POST /api/v1/vms/{id}/reboot-hard","href":"/api-reference/endpoint/hard-reboot-vm"},{"title":"Rename VM","openapi":"PATCH /api/v1/vms/{id}/rename","href":"/api-reference/endpoint/rename-vm"},{"title":"Set console access policy","openapi":"PATCH /api/v1/vms/{id}/console-policy","href":"/api-reference/endpoint/set-vm-console-policy"},{"title":"Reset VM Password","openapi":"POST /api/v1/vms/{id}/reset-password","href":"/api-reference/endpoint/reset-vm-password"},{"title":"Reinstall VM","openapi":"POST /api/v1/vms/{id}/reinstall","href":"/api-reference/endpoint/reinstall-vm"},{"title":"Factory Reset VM","openapi":"POST /api/v1/vms/{id}/factory-reset","href":"/api-reference/endpoint/factory-reset-vm"}]},{"group":"SSH keys","pages":[{"title":"List SSH Keys on a VM","openapi":"GET /api/v1/vms/{id}/ssh-keys","href":"/api-reference/endpoint/list-vm-ssh-keys"},{"title":"Add an SSH Key to a VM","openapi":"POST /api/v1/vms/{id}/ssh-keys","href":"/api-reference/endpoint/add-vm-ssh-key"},{"title":"Remove an SSH Key from a VM","openapi":"DELETE /api/v1/vms/{id}/ssh-keys/{fingerprint}","href":"/api-reference/endpoint/remove-vm-ssh-key"}]},{"group":"Resize \u0026 images","pages":[{"title":"Resize VM","openapi":"POST /api/v1/vms/{id}/resize","href":"/api-reference/endpoint/resize-vm"},{"title":"Resize VM Disk","openapi":"POST /api/v1/vms/{id}/disk/resize","href":"/api-reference/endpoint/resize-vm-disk"},{"title":"Save VM disk as custom image","openapi":"POST /api/v1/vms/{id}/save-image","href":"/api-reference/endpoint/save-vm-disk-as-image"}]},{"group":"Tags","pages":[{"title":"List tags","openapi":"GET /api/v1/tags","href":"/api-reference/endpoint/list-tags"},{"title":"Create tag","openapi":"POST /api/v1/tags","href":"/api-reference/endpoint/create-tag"},{"title":"Update tag","openapi":"PATCH /api/v1/tags/{id}","href":"/api-reference/endpoint/update-tag"},{"title":"Delete tag","openapi":"DELETE /api/v1/tags/{id}","href":"/api-reference/endpoint/delete-tag"},{"title":"Add tag to VM","openapi":"POST /api/v1/vms/{id}/tags","href":"/api-reference/endpoint/add-vm-tag"},{"title":"Update VM tag","openapi":"PATCH /api/v1/vms/{id}/tags/{tagId}","href":"/api-reference/endpoint/update-vm-tag"},{"title":"Remove VM tag","openapi":"DELETE /api/v1/vms/{id}/tags/{tagId}","href":"/api-reference/endpoint/remove-vm-tag"},{"title":"Get VM tag firewall","openapi":"GET /api/v1/vms/{id}/tag-firewall","href":"/api-reference/endpoint/get-vm-tag-firewall"}]},{"group":"Notes","pages":[{"title":"Get VM notes","openapi":"GET /api/v1/vms/{id}/notes","href":"/api-reference/endpoint/get-vm-notes"},{"title":"Upsert VM note","openapi":"PUT /api/v1/vms/{id}/notes/{type}","href":"/api-reference/endpoint/upsert-vm-note"},{"title":"Update VM note","openapi":"PATCH /api/v1/vms/{id}/notes/{type}","href":"/api-reference/endpoint/update-vm-note"},{"title":"Append to VM note","openapi":"POST /api/v1/vms/{id}/notes/{type}/append","href":"/api-reference/endpoint/append-vm-note"}]}]},{"group":"Managed Databases","pages":[{"group":"Databases","pages":[{"title":"List database engines","openapi":"GET /api/v1/databases/engines","href":"/api-reference/databases/list-database-engines"},{"title":"List database plans","openapi":"GET /api/v1/databases/plans","href":"/api-reference/databases/list-database-plans"},{"title":"List databases","openapi":"GET /api/v1/databases","href":"/api-reference/databases/list-databases"},{"title":"Create database","openapi":"POST /api/v1/databases","href":"/api-reference/databases/create-database"},{"title":"Get database","openapi":"GET /api/v1/databases/{database_id}","href":"/api-reference/databases/get-database"},{"title":"Rename database","openapi":"PATCH /api/v1/databases/{database_id}","href":"/api-reference/databases/update-database"},{"title":"Delete database","openapi":"DELETE /api/v1/databases/{database_id}","href":"/api-reference/databases/delete-database"},{"title":"Scale database","openapi":"POST /api/v1/databases/{database_id}/scale","href":"/api-reference/databases/scale-database"},{"title":"Resume a paused database","openapi":"POST /api/v1/databases/{database_id}/resume","href":"/api-reference/databases/resume-database"}]},{"group":"Connect \u0026 access","pages":[{"title":"Get connection details","openapi":"GET /api/v1/databases/{database_id}/connection","href":"/api-reference/databases/get-database-connection"},{"title":"Rotate credentials","openapi":"POST /api/v1/databases/{database_id}/credentials/rotate","href":"/api-reference/databases/rotate-database-credentials"},{"title":"Connect database to VPC","openapi":"POST /api/v1/databases/{database_id}/vpc","href":"/api-reference/databases/connect-database-v-p-c"},{"title":"Disconnect database from VPC","openapi":"DELETE /api/v1/databases/{database_id}/vpc","href":"/api-reference/databases/disconnect-database-v-p-c"},{"title":"Set public access","openapi":"POST /api/v1/databases/{database_id}/public-access","href":"/api-reference/databases/set-database-public-access"},{"title":"List database users","openapi":"GET /api/v1/databases/{database_id}/users","href":"/api-reference/databases/list-database-users"},{"title":"Create database user","openapi":"POST /api/v1/databases/{database_id}/users","href":"/api-reference/databases/create-database-user"},{"title":"Rotate database user password","openapi":"POST /api/v1/databases/{database_id}/users/{name}/rotate","href":"/api-reference/databases/rotate-database-user"},{"title":"Get database user password","openapi":"GET /api/v1/databases/{database_id}/users/{name}/credential","href":"/api-reference/databases/get-database-user-credential"},{"title":"Delete database user","openapi":"DELETE /api/v1/databases/{database_id}/users/{name}","href":"/api-reference/databases/delete-database-user"}]},{"group":"Query \u0026 data","pages":[{"title":"Run a query","openapi":"POST /api/v1/databases/{database_id}/console","href":"/api-reference/databases/run-database-query"},{"title":"Browse schemas, tables, and keys","openapi":"POST /api/v1/databases/{database_id}/browse","href":"/api-reference/databases/browse-database"},{"title":"List saved queries","openapi":"GET /api/v1/databases/{database_id}/saved-queries","href":"/api-reference/databases/list-database-saved-queries"},{"title":"Save a query","openapi":"PUT /api/v1/databases/{database_id}/saved-queries","href":"/api-reference/databases/save-database-saved-query"},{"title":"Delete a saved query","openapi":"DELETE /api/v1/databases/{database_id}/saved-queries/{name}","href":"/api-reference/databases/delete-database-saved-query"}]},{"group":"Backups \u0026 restore","pages":[{"title":"List backups","openapi":"GET /api/v1/databases/{database_id}/backups","href":"/api-reference/databases/list-database-backups"},{"title":"Create backup","openapi":"POST /api/v1/databases/{database_id}/backups","href":"/api-reference/databases/create-database-backup"},{"title":"Restore database","openapi":"POST /api/v1/databases/{database_id}/restore","href":"/api-reference/databases/restore-database"}]},{"group":"Observability","pages":[{"title":"Get metrics","openapi":"GET /api/v1/databases/{database_id}/metrics","href":"/api-reference/databases/get-database-metrics"},{"title":"Get metrics history","openapi":"GET /api/v1/databases/{database_id}/metrics/history","href":"/api-reference/databases/get-database-metrics-history"},{"title":"Get traffic by client","openapi":"GET /api/v1/databases/{database_id}/metrics/clients","href":"/api-reference/databases/get-database-client-traffic"},{"title":"Get slow queries","openapi":"GET /api/v1/databases/{database_id}/slow-queries","href":"/api-reference/databases/get-database-slow-queries"},{"title":"Get logs","openapi":"GET /api/v1/databases/{database_id}/logs","href":"/api-reference/databases/get-database-logs"}]},{"group":"Configuration","pages":[{"title":"List extensions","openapi":"GET /api/v1/databases/{database_id}/extensions","href":"/api-reference/databases/list-database-extensions"},{"title":"Enable or disable extension","openapi":"POST /api/v1/databases/{database_id}/extensions","href":"/api-reference/databases/set-database-extension"},{"title":"List engine parameters","openapi":"GET /api/v1/databases/{database_id}/parameters","href":"/api-reference/databases/list-database-parameters"},{"title":"List apps and functions using the database","openapi":"GET /api/v1/databases/{database_id}/consumers","href":"/api-reference/databases/list-database-consumers"}]}]},{"group":"Raff Apps","pages":[{"group":"Services","pages":[{"title":"List app services","openapi":"GET /api/v1/apps/services","href":"/api-reference/apps/list-app-services"},{"title":"Create app service","openapi":"POST /api/v1/apps/services","href":"/api-reference/apps/create-app-service"},{"title":"Get app service","openapi":"GET /api/v1/apps/services/{service_id}","href":"/api-reference/apps/get-app-service"},{"title":"Update app service","openapi":"PATCH /api/v1/apps/services/{service_id}","href":"/api-reference/apps/update-app-service"},{"title":"Delete app service","openapi":"DELETE /api/v1/apps/services/{service_id}","href":"/api-reference/apps/delete-app-service"},{"title":"Pause app service","openapi":"POST /api/v1/apps/services/{service_id}/pause","href":"/api-reference/apps/pause-app-service"},{"title":"Resume app service","openapi":"POST /api/v1/apps/services/{service_id}/resume","href":"/api-reference/apps/resume-app-service"},{"title":"Scale app service","openapi":"POST /api/v1/apps/services/{service_id}/scale","href":"/api-reference/apps/scale-app-service"},{"title":"List app templates","openapi":"GET /api/v1/apps/templates","href":"/api-reference/apps/list-app-templates"},{"title":"List GitHub connections","openapi":"GET /api/v1/apps/github/installations","href":"/api-reference/apps/list-app-github-connections"}]},{"group":"Deployments","pages":[{"title":"Request source upload URL","openapi":"POST /api/v1/apps/services/{service_id}/source-upload","href":"/api-reference/apps/request-app-source-upload"},{"title":"List deployments","openapi":"GET /api/v1/apps/services/{service_id}/deployments","href":"/api-reference/apps/list-app-deployments"},{"title":"Create deployment","openapi":"POST /api/v1/apps/services/{service_id}/deployments","href":"/api-reference/apps/create-app-deployment"},{"title":"Get deployment","openapi":"GET /api/v1/apps/deployments/{deployment_id}","href":"/api-reference/apps/get-app-deployment"},{"title":"Get deployment build logs","openapi":"GET /api/v1/apps/deployments/{deployment_id}/logs","href":"/api-reference/apps/get-app-deployment-logs"},{"title":"Roll back to a deployment","openapi":"POST /api/v1/apps/services/{service_id}/rollback","href":"/api-reference/apps/rollback-app-service"}]},{"group":"Observability","pages":[{"title":"List runtime logs","openapi":"GET /api/v1/apps/services/{service_id}/logs","href":"/api-reference/apps/list-app-logs"},{"title":"Get service metrics","openapi":"GET /api/v1/apps/services/{service_id}/metrics","href":"/api-reference/apps/get-app-service-metrics"},{"title":"List app events","openapi":"GET /api/v1/apps/services/{service_id}/events","href":"/api-reference/apps/list-app-events"},{"title":"List app instances","openapi":"GET /api/v1/apps/services/{service_id}/instances","href":"/api-reference/apps/list-app-instances"}]},{"group":"Environment variables","pages":[{"title":"List environment variables","openapi":"GET /api/v1/apps/services/{service_id}/env","href":"/api-reference/apps/list-app-env-vars"},{"title":"List environment variables with values","openapi":"GET /api/v1/apps/services/{service_id}/env/reveal","href":"/api-reference/apps/reveal-app-env-vars"},{"title":"Set environment variable","openapi":"PUT /api/v1/apps/services/{service_id}/env","href":"/api-reference/apps/set-app-env-var"},{"title":"Bulk set environment variables","openapi":"PUT /api/v1/apps/services/{service_id}/env/bulk","href":"/api-reference/apps/bulk-set-app-env-vars"},{"title":"Delete environment variable","openapi":"DELETE /api/v1/apps/services/{service_id}/env/{key}","href":"/api-reference/apps/delete-app-env-var"}]},{"group":"Custom domains","pages":[{"title":"List custom domains","openapi":"GET /api/v1/apps/services/{service_id}/domains","href":"/api-reference/apps/list-app-custom-domains"},{"title":"Add custom domain","openapi":"POST /api/v1/apps/services/{service_id}/domains","href":"/api-reference/apps/add-app-custom-domain"},{"title":"Delete custom domain","openapi":"DELETE /api/v1/apps/domains/{domain_id}","href":"/api-reference/apps/delete-app-custom-domain"},{"title":"Retry domain verification","openapi":"POST /api/v1/apps/domains/{domain_id}/retry","href":"/api-reference/apps/retry-app-domain-verification"}]},{"group":"Database links","pages":[{"title":"List database links","openapi":"GET /api/v1/apps/services/{service_id}/bindings","href":"/api-reference/apps/list-app-bindings"},{"title":"Link a database to an app","openapi":"POST /api/v1/apps/services/{service_id}/bindings","href":"/api-reference/apps/create-app-binding"},{"title":"Unlink a database","openapi":"DELETE /api/v1/apps/bindings/{binding_id}","href":"/api-reference/apps/delete-app-binding"},{"title":"Rotate a link's password","openapi":"POST /api/v1/apps/bindings/{binding_id}/rotate","href":"/api-reference/apps/rotate-app-binding"}]},{"group":"Previews","pages":[{"title":"List pull request previews","openapi":"GET /api/v1/apps/services/{service_id}/previews","href":"/api-reference/apps/list-app-previews"},{"title":"Delete a preview","openapi":"DELETE /api/v1/apps/previews/{preview_id}","href":"/api-reference/apps/delete-app-preview"},{"title":"Redeploy a preview","openapi":"POST /api/v1/apps/previews/{preview_id}/redeploy","href":"/api-reference/apps/redeploy-app-preview"}]},{"group":"Jobs","pages":[{"title":"Trigger a manual job run","openapi":"POST /api/v1/apps/services/{service_id}/jobs/run","href":"/api-reference/apps/run-app-job"},{"title":"List job runs","openapi":"GET /api/v1/apps/services/{service_id}/jobs/runs","href":"/api-reference/apps/list-app-job-runs"},{"title":"Cancel a job run","openapi":"POST /api/v1/apps/jobs/runs/{run_id}/cancel","href":"/api-reference/apps/cancel-app-job-run"}]},{"group":"Billing \u0026 tiers","pages":[{"title":"List Apps tiers","openapi":"GET /api/v1/apps/tiers","href":"/api-reference/apps/list-app-tiers"},{"title":"Get Apps usage","openapi":"GET /api/v1/apps/usage","href":"/api-reference/apps/get-apps-usage"},{"title":"Get spend cap settings","openapi":"GET /api/v1/apps/spend-settings","href":"/api-reference/apps/get-app-spend-settings"},{"title":"Update spend cap settings","openapi":"PATCH /api/v1/apps/spend-settings","href":"/api-reference/apps/update-app-spend-settings"}]}]},{"group":"Networking","pages":[{"group":"VPCs","pages":[{"title":"List VPCs","openapi":"GET /api/v1/vpcs","href":"/api-reference/endpoint/list-vpcs"},{"title":"Create VPC","openapi":"POST /api/v1/vpcs","href":"/api-reference/endpoint/create-vpc"},{"title":"Get VPC","openapi":"GET /api/v1/vpcs/{id}","href":"/api-reference/endpoint/get-vpc"},{"title":"Update VPC","openapi":"PUT /api/v1/vpcs/{id}","href":"/api-reference/endpoint/update-vpc"},{"title":"Delete VPC","openapi":"DELETE /api/v1/vpcs/{id}","href":"/api-reference/endpoint/delete-vpc"},{"title":"Suggest CIDR blocks for new VPCs","openapi":"GET /api/v1/vpcs/cidr-suggestions","href":"/api-reference/endpoint/list-vpc-cidr-suggestions"}]},{"group":"Public IPs","pages":[{"title":"List floating IPs","openapi":"GET /api/v1/ips","href":"/api-reference/endpoint/list-ips"},{"title":"Reserve a floating IP","openapi":"POST /api/v1/ips/reserve","href":"/api-reference/endpoint/reserve-ip"},{"title":"Get floating IP","openapi":"GET /api/v1/ips/{id}","href":"/api-reference/endpoint/get-ip"},{"title":"Release a reserved IP","openapi":"DELETE /api/v1/ips/{id}/reserve","href":"/api-reference/endpoint/release-ip"},{"title":"Change reserved IP","openapi":"POST /api/v1/ips/{id}/change","href":"/api-reference/endpoint/change-ip"}]},{"group":"Firewall","pages":[{"title":"List firewalls","openapi":"GET /api/v1/security-groups","href":"/api-reference/endpoint/list-firewalls"},{"title":"Create firewall","openapi":"POST /api/v1/security-groups","href":"/api-reference/endpoint/create-firewall"},{"title":"List firewall templates","openapi":"GET /api/v1/security-groups/templates","href":"/api-reference/endpoint/list-firewall-templates"},{"title":"Get firewall","openapi":"GET /api/v1/security-groups/{id}","href":"/api-reference/endpoint/get-firewall"},{"title":"Update firewall","openapi":"PUT /api/v1/security-groups/{id}","href":"/api-reference/endpoint/update-firewall"},{"title":"Delete firewall","openapi":"DELETE /api/v1/security-groups/{id}","href":"/api-reference/endpoint/delete-firewall"},{"title":"Get firewall tags","openapi":"GET /api/v1/security-groups/{id}/tags","href":"/api-reference/endpoint/get-firewall-tags"},{"title":"Set firewall tags","openapi":"PUT /api/v1/security-groups/{id}/tags","href":"/api-reference/endpoint/set-firewall-tags"}]},{"group":"VM network attachments","pages":[{"title":"List VM network interfaces","openapi":"GET /api/v1/vms/{id}/networks","href":"/api-reference/endpoint/list-vm-networks"},{"title":"Attach VM to VPC","openapi":"POST /api/v1/vms/{id}/vpc","href":"/api-reference/endpoint/attach-vm-to-vpc"},{"title":"Detach VM from VPC","openapi":"DELETE /api/v1/vms/{id}/vpc/{nic_id}","href":"/api-reference/endpoint/detach-vm-from-vpc"},{"title":"Attach floating IP to VM","openapi":"POST /api/v1/vms/{id}/ip","href":"/api-reference/endpoint/attach-vm-ip"},{"title":"Detach floating IP from VM","openapi":"DELETE /api/v1/vms/{id}/ip/{nic_id}","href":"/api-reference/endpoint/detach-vm-ip"},{"title":"Attach firewall to VM NIC","openapi":"POST /api/v1/vms/{id}/security-groups","href":"/api-reference/endpoint/attach-vm-firewall"},{"title":"Detach firewall from VM NIC","openapi":"DELETE /api/v1/vms/{id}/security-groups/{sg_id}/{nic_id}","href":"/api-reference/endpoint/detach-vm-firewall"}]}]},{"group":"Volumes","pages":[{"title":"List Volumes","openapi":"GET /api/v1/volumes","href":"/api-reference/volumes/list-volumes"},{"title":"Create Volume","openapi":"POST /api/v1/volumes","href":"/api-reference/volumes/create-volume"},{"title":"Get Volume","openapi":"GET /api/v1/volumes/{id}","href":"/api-reference/volumes/get-volume"},{"title":"Delete Volume","openapi":"DELETE /api/v1/volumes/{id}","href":"/api-reference/volumes/delete-volume"},{"title":"Attach Volume","openapi":"POST /api/v1/volumes/{id}/attach","href":"/api-reference/volumes/attach-volume"},{"title":"Detach Volume","openapi":"POST /api/v1/volumes/{id}/detach","href":"/api-reference/volumes/detach-volume"},{"title":"Resize Volume","openapi":"PATCH /api/v1/volumes/{id}","href":"/api-reference/volumes/resize-volume"}]},{"group":"Kubernetes","pages":[{"group":"Clusters","pages":[{"title":"List Kubernetes Clusters","openapi":"GET /api/v1/k8s/clusters","description":"List clusters for the authenticated account, newest first.\n\nPass `X-Project-ID` to scope the list to a single project. When omitted, returns clusters across every project the API key has access to.\n","href":"/api-reference/kubernetes/list-clusters"},{"title":"Create Kubernetes Cluster","openapi":"POST /api/v1/k8s/clusters","href":"/api-reference/kubernetes/create-cluster"},{"title":"Get Kubernetes Cluster","openapi":"GET /api/v1/k8s/clusters/{cluster_id}","description":null,"href":"/api-reference/kubernetes/get-cluster"},{"title":"Rename Kubernetes Cluster","openapi":"PATCH /api/v1/k8s/clusters/{cluster_id}","href":"/api-reference/kubernetes/rename-cluster"},{"title":"Delete Kubernetes Cluster","openapi":"DELETE /api/v1/k8s/clusters/{cluster_id}","href":"/api-reference/kubernetes/delete-cluster"},{"title":"Get Kubeconfig","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/kubeconfig","href":"/api-reference/kubernetes/get-kubeconfig"},{"title":"Upgrade to HA Control Plane","openapi":"POST /api/v1/k8s/clusters/{cluster_id}/ha","href":"/api-reference/kubernetes/upgrade-to-ha"},{"title":"List Available Version Upgrades","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/upgrades","href":"/api-reference/kubernetes/get-cluster-upgrades"},{"title":"Upgrade Kubernetes Version","openapi":"POST /api/v1/k8s/clusters/{cluster_id}/upgrade","href":"/api-reference/kubernetes/upgrade-cluster-version"},{"title":"Set Upgrade Mode and Maintenance Window","openapi":"PATCH /api/v1/k8s/clusters/{cluster_id}/maintenance","href":"/api-reference/kubernetes/update-cluster-maintenance"},{"title":"List Kubernetes Versions","openapi":"GET /api/v1/k8s/versions","href":"/api-reference/kubernetes/list-kubernetes-versions"},{"title":"List Kubernetes Node Plans","openapi":"GET /api/v1/k8s/node-plans","href":"/api-reference/kubernetes/list-node-plans"}]},{"group":"Node pools","pages":[{"title":"List Node Pools","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/pools","href":"/api-reference/kubernetes/list-node-pools"},{"title":"Add Node Pool","openapi":"POST /api/v1/k8s/clusters/{cluster_id}/pools","href":"/api-reference/kubernetes/add-node-pool"},{"title":"Update Node Pool","openapi":"PATCH /api/v1/k8s/clusters/{cluster_id}/pools/{pool_id}","href":"/api-reference/kubernetes/update-node-pool"},{"title":"Scale Node Pool","openapi":"POST /api/v1/k8s/clusters/{cluster_id}/pools/{pool_id}/scale","href":"/api-reference/kubernetes/scale-node-pool"},{"title":"Delete Node Pool","openapi":"DELETE /api/v1/k8s/clusters/{cluster_id}/pools/{pool_id}","href":"/api-reference/kubernetes/delete-node-pool"}]},{"group":"Observability","pages":[{"title":"List Cluster Nodes","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/nodes","href":"/api-reference/kubernetes/list-cluster-nodes"},{"title":"List Cluster Events","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/events","href":"/api-reference/kubernetes/list-cluster-events"},{"title":"Get Cluster Metrics","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/metrics","href":"/api-reference/kubernetes/get-cluster-metrics"},{"title":"Get Cluster Utilization Stats","openapi":"GET /api/v1/k8s/clusters/stats","href":"/api-reference/kubernetes/get-cluster-stats"}]},{"group":"Networking","pages":[{"title":"Get Cluster Firewall","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/firewall","href":"/api-reference/kubernetes/get-cluster-firewall"},{"title":"Assign Cluster Firewall","openapi":"POST /api/v1/k8s/clusters/{cluster_id}/firewall","href":"/api-reference/kubernetes/assign-cluster-firewall"},{"title":"Reset Cluster Firewall","openapi":"DELETE /api/v1/k8s/clusters/{cluster_id}/firewall","href":"/api-reference/kubernetes/reset-cluster-firewall"},{"title":"Get MetalLB Address Pool","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/metallb-pool","href":"/api-reference/kubernetes/get-metallb-pool"},{"title":"Resize MetalLB Address Pool","openapi":"PUT /api/v1/k8s/clusters/{cluster_id}/metallb-pool","href":"/api-reference/kubernetes/update-metallb-pool"},{"title":"List TCP Port Forwards","openapi":"GET /api/v1/k8s/clusters/{cluster_id}/tcp-ports","href":"/api-reference/kubernetes/list-tcp-ports"},{"title":"Delete TCP Port Forward","openapi":"DELETE /api/v1/k8s/clusters/{cluster_id}/tcp-ports/{port}","href":"/api-reference/kubernetes/delete-tcp-port"}]}]},{"group":"Snapshots","pages":[{"title":"List Snapshots","openapi":"GET /api/v1/snapshots","href":"/api-reference/snapshots/list-snapshots"},{"title":"Create Snapshot","openapi":"POST /api/v1/snapshots","href":"/api-reference/snapshots/create-snapshot"},{"title":"Get Snapshot","openapi":"GET /api/v1/snapshots/{id}","href":"/api-reference/snapshots/get-snapshot"},{"title":"Delete Snapshot","openapi":"DELETE /api/v1/snapshots/{id}","href":"/api-reference/snapshots/delete-snapshot"},{"title":"Restore Snapshot","openapi":"POST /api/v1/snapshots/{id}/restore","href":"/api-reference/snapshots/restore-snapshot"},{"title":"Rename Snapshot","openapi":"PATCH /api/v1/snapshots/{id}/rename","href":"/api-reference/snapshots/rename-snapshot"}]},{"group":"Backups","pages":[{"group":"Backups","pages":[{"title":"List Backups","openapi":"GET /api/v1/backups","href":"/api-reference/backups/list-backups"},{"title":"Create Backup","openapi":"POST /api/v1/backups","href":"/api-reference/backups/create-backup"},{"title":"Get Backup","openapi":"GET /api/v1/backups/{id}","href":"/api-reference/backups/get-backup"},{"title":"Delete Backup","openapi":"DELETE /api/v1/backups/{id}","href":"/api-reference/backups/delete-backup"},{"title":"Delete Backup Series","openapi":"DELETE /api/v1/backups/{id}/chain","href":"/api-reference/backups/delete-backup-chain"},{"title":"Restore Backup","openapi":"POST /api/v1/backups/{id}/restore","href":"/api-reference/backups/restore-backup"},{"title":"Reset Backup Series","openapi":"POST /api/v1/vms/{id}/backups/reset-chain","href":"/api-reference/backups/reset-backup-chain"}]},{"group":"Schedules","pages":[{"title":"List Backup Schedules","openapi":"GET /api/v1/backup-schedules","href":"/api-reference/backups/schedules/list-backup-schedules"},{"title":"Create Backup Schedule","openapi":"POST /api/v1/backup-schedules","href":"/api-reference/backups/schedules/create-backup-schedule"},{"title":"Get Backup Schedule","openapi":"GET /api/v1/backup-schedules/{id}","href":"/api-reference/backups/schedules/get-backup-schedule"},{"title":"Update Backup Schedule","openapi":"PATCH /api/v1/backup-schedules/{id}","href":"/api-reference/backups/schedules/update-backup-schedule"},{"title":"Delete Backup Schedule","openapi":"DELETE /api/v1/backup-schedules/{id}","href":"/api-reference/backups/schedules/delete-backup-schedule"}]}]},{"group":"SSH Keys","pages":[{"title":"List SSH Keys","openapi":"GET /api/v1/ssh-keys","href":"/api-reference/ssh-keys/list-ssh-keys"},{"title":"Create SSH Key","openapi":"POST /api/v1/ssh-keys","href":"/api-reference/ssh-keys/create-ssh-key"},{"title":"Get SSH Key","openapi":"GET /api/v1/ssh-keys/{id}","href":"/api-reference/ssh-keys/get-ssh-key"},{"title":"Update SSH Key","openapi":"PUT /api/v1/ssh-keys/{id}","href":"/api-reference/ssh-keys/update-ssh-key"},{"title":"Delete SSH Key","openapi":"DELETE /api/v1/ssh-keys/{id}","href":"/api-reference/ssh-keys/delete-ssh-key"}]},{"group":"Team \u0026 Projects","pages":[{"group":"Members","pages":[{"title":"List Members","openapi":"GET /api/v1/members","href":"/api-reference/members/list-members"},{"title":"Add Member","openapi":"POST /api/v1/members","href":"/api-reference/members/add-member"},{"title":"Get Member","openapi":"GET /api/v1/members/{id}","href":"/api-reference/members/get-member"},{"title":"Update Member","openapi":"PATCH /api/v1/members/{id}","href":"/api-reference/members/update-member"},{"title":"Remove Member","openapi":"DELETE /api/v1/members/{id}","href":"/api-reference/members/remove-member"}]},{"group":"Project Members","pages":[{"title":"List Project Members","openapi":"GET /api/v1/projects/{id}/members","href":"/api-reference/project-members/list-project-members"},{"title":"Add Project Member","openapi":"POST /api/v1/projects/{id}/members","href":"/api-reference/project-members/add-project-member"},{"title":"Get Project Member","openapi":"GET /api/v1/projects/{id}/members/{member_id}","href":"/api-reference/project-members/get-project-member"},{"title":"Update Project Member","openapi":"PATCH /api/v1/projects/{id}/members/{member_id}","href":"/api-reference/project-members/update-project-member"},{"title":"Remove Project Member","openapi":"DELETE /api/v1/projects/{id}/members/{member_id}","href":"/api-reference/project-members/remove-project-member"}]},{"group":"Roles","pages":[{"title":"List Roles","openapi":"GET /api/v1/roles","href":"/api-reference/roles/list-roles"},{"title":"Create Role","openapi":"POST /api/v1/roles","href":"/api-reference/roles/create-role"},{"title":"Get Role","openapi":"GET /api/v1/roles/{id}","href":"/api-reference/roles/get-role"},{"title":"Update Role","openapi":"PATCH /api/v1/roles/{id}","href":"/api-reference/roles/update-role"},{"title":"Delete Role","openapi":"DELETE /api/v1/roles/{id}","href":"/api-reference/roles/delete-role"}]},{"group":"Permissions","pages":[{"title":"List Permissions","openapi":"GET /api/v1/permissions","href":"/api-reference/permissions/list-permissions"}]},{"group":"API Keys","pages":[{"title":"List API Keys","openapi":"GET /api/v1/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","openapi":"POST /api/v1/api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Get API Key","openapi":"GET /api/v1/api-keys/{id}","href":"/api-reference/api-keys/get-api-key"},{"title":"Update API Key","openapi":"PATCH /api/v1/api-keys/{id}","href":"/api-reference/api-keys/update-api-key"},{"title":"Revoke API Key","openapi":"DELETE /api/v1/api-keys/{id}","href":"/api-reference/api-keys/revoke-api-key"},{"title":"Regenerate API Key","openapi":"POST /api/v1/api-keys/{id}/regenerate","href":"/api-reference/api-keys/regenerate-api-key"}]},{"group":"Invitations","pages":[{"title":"Create Account Invitation","openapi":"POST /api/v1/invitations","href":"/api-reference/invitations/create-account-invitation"},{"title":"Create Project Invitation","openapi":"POST /api/v1/projects/{id}/invitations","href":"/api-reference/invitations/create-project-invitation"},{"title":"Cancel Invitation","openapi":"DELETE /api/v1/invitations/{id}","href":"/api-reference/invitations/cancel-invitation"}]}]}]},{"group":"CLI","pages":[{"title":"Raff CLI","href":"/reference/cli/introduction"},{"title":"Installing raff","href":"/reference/cli/install"},{"title":"raff configure","href":"/reference/cli/configure"},{"title":"raff vm","href":"/reference/cli/vm"},{"title":"raff kubernetes","href":"/reference/cli/kubernetes"},{"title":"raff database","href":"/reference/cli/database"},{"title":"raff apps","href":"/reference/cli/app"},{"title":"raff volume","href":"/reference/cli/volume"},{"title":"raff snapshot","href":"/reference/cli/snapshot"},{"title":"raff backup","href":"/reference/cli/backup"},{"title":"raff vpc","href":"/reference/cli/vpc"},{"title":"raff ip","href":"/reference/cli/ip"},{"title":"raff security-group","href":"/reference/cli/security-group"},{"title":"raff tag","href":"/reference/cli/tag"},{"title":"raff ssh-key","href":"/reference/cli/ssh-key"},{"title":"raff api-key","href":"/reference/cli/api-key"},{"title":"raff project","href":"/reference/cli/project"},{"title":"raff member","href":"/reference/cli/member"},{"title":"raff role","href":"/reference/cli/role"},{"title":"raff permission","href":"/reference/cli/permission"},{"title":"raff invitation","href":"/reference/cli/invitation"},{"title":"raff region","href":"/reference/cli/region"},{"title":"raff template","href":"/reference/cli/template"},{"title":"raff pricing","href":"/reference/cli/pricing"}]},{"group":"Terraform","pages":[{"title":"Raff Terraform Provider","href":"/reference/terraform/introduction"},{"title":"Install the Raff Terraform Provider","href":"/reference/terraform/install"},{"title":"raff_project","href":"/reference/terraform/raff_project"},{"title":"raff_vm","href":"/reference/terraform/raff_vm"},{"title":"raff_volume","href":"/reference/terraform/raff_volume"},{"title":"raff_snapshot","href":"/reference/terraform/raff_snapshot"},{"title":"raff_backup","href":"/reference/terraform/raff_backup"},{"title":"raff_backup_schedule","href":"/reference/terraform/raff_backup_schedule"},{"title":"raff_vpc","href":"/reference/terraform/raff_vpc"},{"title":"raff_ip","href":"/reference/terraform/raff_ip"},{"title":"raff_security_group","href":"/reference/terraform/raff_security_group"},{"title":"raff_tag","href":"/reference/terraform/raff_tag"},{"title":"raff_ssh_key","href":"/reference/terraform/raff_ssh_key"},{"title":"raff_api_key","href":"/reference/terraform/raff_api_key"},{"title":"raff_role","href":"/reference/terraform/raff_role"},{"title":"raff_member","href":"/reference/terraform/raff_member"},{"title":"raff_project_member","href":"/reference/terraform/raff_project_member"},{"title":"raff_k8s_cluster","href":"/reference/terraform/raff_k8s_cluster"},{"title":"raff_k8s_node_pool","href":"/reference/terraform/raff_k8s_node_pool"},{"title":"raff_database","href":"/reference/terraform/raff_database"},{"title":"raff_database_user","href":"/reference/terraform/raff_database_user"},{"title":"raff_app_service","href":"/reference/terraform/raff_app_service"},{"title":"raff_app_custom_domain","href":"/reference/terraform/raff_app_custom_domain"},{"title":"raff_app_database_link","href":"/reference/terraform/raff_app_database_link"},{"title":"Catalog data sources","href":"/reference/terraform/data-sources"}]}]}]},"basePath":"","title":"Create Kubernetes Cluster - Raff","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}