k8s-pilot

by bourbonkk

pod_create

Create and deploy Kubernetes pods with customizable configurations such as container image, labels, commands, arguments, and environment variables using k8s-pilot's pod creation tool.

Instructions

Create a new pod in the specified namespace.

Args: context_name: The Kubernetes context name namespace: The Kubernetes namespace name: The name for the new pod image: The container image to use labels: Optional dictionary of pod labels command: Optional command to run in the container args: Optional arguments for the command env_vars: Optional environment variables for the container

Returns: Information about the created pod

Input Schema

NameRequiredDescriptionDefault
argsNo
commandNo
context_nameYes
env_varsNo
imageYes
labelsNo
nameYes
namespaceYes

Input Schema (JSON Schema)

{ "properties": { "args": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Args" }, "command": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Command" }, "context_name": { "title": "Context Name", "type": "string" }, "env_vars": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Env Vars" }, "image": { "title": "Image", "type": "string" }, "labels": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Labels" }, "name": { "title": "Name", "type": "string" }, "namespace": { "title": "Namespace", "type": "string" } }, "required": [ "context_name", "namespace", "name", "image" ], "title": "pod_createArguments", "type": "object" }
ID: varavj97rf