KusionStack / KusionStack/kusion
Feat: Kusion watch & healthcheck for K8s CR
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 108
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
## Feature Request
**Is your feature request related to a problem? Please describe:**
No
**Describe the feature you'd like:**
Currently, Kusion can only watch & healthcheck some k8s native resources, we need to extend the scope of supported resources to K8s CR.
Users can write the CR healthcheck scripts in Konfig with KCL and Kusion will check this kind of resource's health after they are applied with customized CR healthcheck scripts.
**Describe alternatives you've considered:**
KCL healthcheck scripts is recommended, maybe we can support other scripts like Python or Lua
**Teachability, Documentation, Adoption, Migration Strategy:**
Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/health/
Contributor guide
Research direction
Start by reviewing the issue's Kubernetes custom-resource watch and healthcheck request alongside the linked Argo CD health documentation. Investigate how Kusion currently handles native-resource health checks and how Konfig could provide KCL scripts. Done means supported CRs can be watched and evaluated using customized KCL healthchecks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100