Agent-Hellboy / Agent-Hellboy/mcp-runtime

fix(k8s): add PodDisruptionBudgets for api, ingest, and operator

Đang mở
#306 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
6
Fork
1
Merge trung bình
11 giờ 33 phút
Pull request đã merge (30 ngày)
13

Mô tả

## Problem
No `PodDisruptionBudget` exists anywhere in the platform. A node drain during a rolling upgrade or maintenance window can simultaneously evict all replicas of api, ingest, or the operator, causing a complete control-plane outage.

## Fix
Add PDB manifests with `minAvailable: 1` for each multi-replica service:

```yaml
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: mcp-api
spec:
minAvailable: 1
selector:
matchLabels:
app: mcp-api
```

Apply the same pattern for `ingest`, `processor`, and the operator.

## Files
- `k8s/08-api.yaml`
- `k8s/06-ingest.yaml`
- `k8s/07-processor.yaml`
- `config/` (operator deployment)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.