Skip to main content

CLI for KAOS (K8s Agent Orchestration System)

Project description

KAOS CLI

Command-line interface for KAOS (K8s Agent Orchestration System).

Installation

cd kaos-cli
uv sync
source .venv/bin/activate

Usage

Start UI Proxy

Start a CORS-enabled proxy to the Kubernetes API server:

kaos ui

This starts a local proxy on port 8080 that:

  • Proxies requests to the Kubernetes API using your kubeconfig credentials
  • Adds CORS headers to enable browser-based access
  • Exposes the mcp-session-id header for MCP protocol support

Options:

  • --k8s-url: Override the Kubernetes API URL (default: from kubeconfig)
  • --expose-port: Port to expose the proxy on (default: 8080)

Example:

# Use default settings
kaos ui

# Custom port
kaos ui --expose-port 9000

# Custom K8s URL
kaos ui --k8s-url https://my-cluster:6443

Version

kaos version

Development

# Run tests
pytest

# Run directly
python -m kaos_cli.main ui

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaos_cli-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaos_cli-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file kaos_cli-0.1.0.tar.gz.

File metadata

  • Download URL: kaos_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for kaos_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25082b9ce4005e312448bc22d8e922e70d84fd0e6e785e3d30702bd12072904c
MD5 250fc91159e674b1842f7c3e35629d82
BLAKE2b-256 aa451e7606b8f45f52235d6b500756280450a9cb8bd53b6598a582d1553b00ff

See more details on using hashes here.

File details

Details for the file kaos_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kaos_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for kaos_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57a942af384381a84e003ff08b996b2fc9ad19838071ccf798969cb27066d94f
MD5 ff28b67ddb04af26414458e2f2b74d22
BLAKE2b-256 f60ea2011e7c7f9b596eb439b5df145142e210640f999cc0eb83d83f3b74128f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page