create_k8s_cluster
Создаёт новый Kubernetes-кластер. Обязательные параметры: name, k8s_version, network_driver. Для мастер-ноды укажи либо preset_id, либо configuration (взаимоисключающе). Опционально задай worker_groups, OIDC, зону, ingress.
This record as markdown: /tools/timeweb-mcp/create-k8s-cluster.md
What create_k8s_cluster does on Timeweb
AI agents use create_k8s_cluster to create or update resources in Timeweb, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Timeweb environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - название кластера |
preset_id | integer | — | ID тарифа мастер-ноды (взаимоисключающе с configuration) |
is_ingress | boolean | — | Включить Ingress-контроллер |
network_id | string | — | ID приватной сети (VPC) |
project_id | integer | — | ID проекта |
description | string | — | Описание кластера |
k8s_version | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - версия Kubernetes (получить через list_k8s_versions) |
configuration | object | — | Параметры конфигурации мастер-ноды (нельзя передавать вместе с preset_id) |
worker_groups | array | — | Группы воркер-нод |
network_driver | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - сетевой драйвер: kuberouter, calico, flannel, cilium |
is_k8s_dashboard | boolean | — | Включить Kubernetes Dashboard |
availability_zone | string | — | Зона доступности: spb-3, msk-1, ams-1, fra-1 |
Parameters from the server's own tool schema.
Why create_k8s_cluster is rated Medium
This tool creates a new infrastructure resource (Kubernetes cluster) which is a reversible Write operation. While cluster creation has significant blast radius (high severity) due to resource provisioning costs and potential operational impact, it does not directly move money (Financial), execute arbitrary code (Execute), or permanently delete data (Destructive).
From the tool's definition Tool name: create_k8s_cluster; description states 'Создаёт новый Kubernetes-кластер' (Creates a new Kubernetes cluster) with parameters for cluster configuration including name, k8s_version, network_driver, master node configuration, and optional worker…
Risk signalsHigh parameter count (33 properties)
Attacks that exploit this kind of access
The rule that runs create_k8s_cluster safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Timeweb, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_k8s_cluster, this is the rule to start with:
create_k8s_cluster stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Timeweb, apply this rule, and every create_k8s_cluster call is checked against it from then on.
Questions about create_k8s_cluster
Создаёт новый Kubernetes-кластер. Обязательные параметры: name, k8s_version, network_driver. Для мастер-ноды укажи либо preset_id, либо configuration (взаимоисключающе). Опционально задай worker_groups, OIDC, зону, ingress. It is categorised as a Write tool in the Timeweb MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_k8s_cluster accepts 12 parameters: name, preset_id, is_ingress, network_id, project_id, description, k8s_version, configuration, worker_groups, network_driver, is_k8s_dashboard, availability_zone. Required: name, k8s_version, network_driver. The full parameter table on this page comes from the server's own tool schema.
Register the Timeweb MCP server in PolicyLayer and add a rule for create_k8s_cluster: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Timeweb. Nothing to install.
create_k8s_cluster is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_k8s_cluster rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for create_k8s_cluster. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
create_k8s_cluster is provided by the Timeweb MCP server (timeweb-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Timeweb, and thousands of servers like it.
This server
Across the catalogue