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 8010 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: 8010)
  • --namespace, -n: Initial namespace to display in the UI (default: "default")
  • --no-browser: Don't automatically open the browser

Example:

# Use default settings
kaos ui

# Custom port
kaos ui --expose-port 9000

# Start with a specific namespace
kaos ui --namespace kaos-system

# 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.1.tar.gz (5.5 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.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kaos_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 719499646a428c36613a72a2b89ffb3bbfc318fa12496d94719f143e51a85504
MD5 155b8c7554b36d254ad4a110629b7af9
BLAKE2b-256 db877a66cc370f94b93c24dac8b58b92588f9eb1bcb704f20d1c3e0acaf0fe09

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kaos_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a941710f61fe7d77b2102b2bdce4edc8a4e3349e802786d46e9b36b5324b351c
MD5 a3f0f110479edab9940551e566e9d7b2
BLAKE2b-256 86f6c7f27923674fcbe9ed12104a281a2c6883331ab94927a58ae2d66228c261

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