google / google/slo-generator

💡 [REQUEST] - kubernetes operator

Open
#524 0 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
564
Forks
88
PR merge metrics
No merged PRs in 30d

Description

### Summary

Hello,

Having a kubernetes operator could be nice to leverage the already defined SLO crd that are defined in this repo.

Particularly to :

1. get an updated status inside the ServiceLevelObjective CR directly ( deployed, error ... ).
2. Leverage mutating/validation webhook feature for some usecases.

Is it something already existing from your knowledge ?
I can do it if needed by creating a new repository, wdyt ?

### Basic Example

1. Users leverage the already existing CRD to define SLO.
2. The operator can validate some minimal SLO threshold policy.
3. The operator create the SLO.
4. The operator update the status in the SLO CR.

### Screenshots

_No response_

### Drawbacks

more code than just using kubernetes cronjob.

### Unresolved questions

Do you have recommendations of doing the operator in golang versus python?

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.