adding files 2
This commit is contained in:
24
k8s/oke-remediator-multi-check/README.md
Normal file
24
k8s/oke-remediator-multi-check/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# OKE Remediator Multi-Check
|
||||
|
||||
This workload runs every 3 minutes and performs three independent kagent checks as separate MCP interactions:
|
||||
|
||||
1. Business application health for Orders
|
||||
2. HPA autoscaling analysis for `order-service`
|
||||
3. ImagePull analysis for application deployments
|
||||
|
||||
Each result is normalized to a structured JSON shape. The worker stores one state entry per `error_code` in a Kubernetes ConfigMap and only sends one email plus one remediation deployment trigger per active incident signature.
|
||||
|
||||
## Deploy
|
||||
|
||||
```bash
|
||||
kubectl apply -f k8s/oke-remediator-multi-check/serviceaccount.yaml
|
||||
kubectl apply -f k8s/oke-remediator-multi-check/role.yaml
|
||||
kubectl apply -f k8s/oke-remediator-multi-check/rolebinding.yaml
|
||||
kubectl apply -f k8s/oke-remediator-multi-check/cronjob.yaml
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- The remediation pipelines must include approval stages.
|
||||
- The notification email includes the remediation deployment approval link when the deployment is created successfully.
|
||||
- The worker is intended for OKE Workload Identity.
|
||||
Reference in New Issue
Block a user