Downloads · 30 days
0
YsfMO98/k8s-enhancements-toolkit
k8s-enhancements-toolkit is a machine learning model from YsfMO98. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for go.
Go tooling for kubernetes/enhancements — validates, queries, and manages Kubernetes Enhancement Proposals (KEPs).
Downloads · 30 days
0
Access
Public
Updated Jul 15, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.sum224 KB · 40%
From the Hugging Face model README
Go tooling for kubernetes/enhancements — validates, queries, and manages Kubernetes Enhancement Proposals (KEPs).
api/ Core types: Proposal, KEPHandler, Stage, Status validation
cmd/ CLI entrypoints (kepctl, kepify)
pkg/ Libraries: repo operations, kepctl commands, YAML handling
hack/ CI scripts, verification, boilerplate
docs/ Graduation readiness documentation
keps/ KEP templates and prod-readiness metadata
git clone https://huggingface.co/YsfMO98/k8s-enhancements-toolkit
cd k8s-enhancements-toolkit
go test ./...
go build ./cmd/kepctl
package main
import (
"fmt"
"k8s.io/enhancements/api"
)
func main() {
proposal := &api.Proposal{
Stage: api.Alpha,
Status: api.Proposed,
PRRApprovals: []api.PRRApproval{
{Approver: "[email protected]"},
},
}
handler := api.NewKEPHandler(nil)
if err := handler.Validate(proposal); err != nil {
fmt.Printf("Validation failed: %v\n", err)
} else {
fmt.Println("KEP is valid!")
}
}
import "k8s.io/enhancements/pkg/repo"
opts := repo.QueryOpts{
Sig: "sig-network",
Stage: "beta",
}
keps, err := opts.Query(repoPath)
go test ./...
go test ./api/ -v # API validation tests
go test ./pkg/repo/ -v # Repository query tests
go vet ./... # Static analysis
| PR | Description | Status |
|---|---|---|
| #6240 | Graduation readiness docs + KEP template update | Open |
| #6241 | Proposal validation tests (6 functions, +303 lines) | Open |
| #6242 | Bug fixes: nil pointer, defer-in-loop, error wrapping, regex pre-compilation | Open |
repo.gocmd/kepify/main.go%s → %w across 6 filesgroups.go and output.goQueryOpts.Validate() for stage/status validationApache-2.0 (same as upstream kubernetes/enhancements)