Agent-Hellboy / Agent-Hellboy/mcp-runtime

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

Ouverte
#306 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
6
Forks
1
Merge moyen
11 h 33 min
PR mergées (30 j)
13

Description

## 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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.