Files
kagent-oci-devops-demo/k8s/oke-remediator-multi-check/README.md
Oracle Public Cloud User 8b3cc8dd10 adding files 2
2026-09-04 13:54:16 +00:00

25 lines
1.0 KiB
Markdown

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