Metadata-Version: 2.4
Name: kubernetitz
Version: 0.1.0
Summary: Mock Kubernetes orchestration with Linear issue tracking integration.
Project-URL: Homepage, https://github.com/jonbesga/kubernetitz
License: MIT
Keywords: devops,kubernetes,linear,mock,orchestration
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# kubernetitz

Mock Kubernetes orchestration with Linear issue tracking integration.

Simulate clusters, deployments, and pod failures — and automatically route cluster events to Linear issues.

## Installation

```bash
pip install kubernetitz
```

## Quick Start

```python
from kubernetitz import Cluster, Deployment, LinearBridge

# Create a cluster
cluster = Cluster("production")
cluster.create_namespace("backend")

# Attach Linear integration (mock mode)
bridge = LinearBridge(team="ENG", mock=True)
cluster.attach(bridge)

# Deploy something
dep = Deployment("api", image="myapp:v2", replicas=3)
for event in cluster.deploy("backend", dep):
    print(event)

# Simulate a pod failure — automatically creates a Linear issue
for event in cluster.simulate_failure("backend", "api"):
    print(event)

print(bridge.list_issues())
```
