Programmatic resource management for Kubernetes.
Inspired by pulumi, but smaller...
Schema objects are generated for the latest three Patch Releases.
You'll need a service account token capable of managing resources in the cluster.
To generate typed bean resources for new K8S versions, use kubectl
to access Swagger definitions inside a running
MiniKube cluster:
$ kubectl proxy --port=8080
$ curl localhost:8080/openapi/v2 > tmp.json
$ jq ".definitions" tmp.json > k8s-swagger.json
Alternatively, fetch the definitions from Github: https://github.com/kubernetes/kubernetes/blob/v1.25.8/api/openapi-spec/swagger.json
For CI/CD servers, a base Docker image or Runtime environment must have the following tools installed:
- Gradle 7+