kunobi-ninja/Kobe Cluster
Claim a Kubernetes cluster from a Kobe pool. Auto-releases on job exit.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| endpoint | Kobe API endpoint URL | yes | — |
| pool | Pool name to claim from (e.g. ci-small) | yes | — |
| ttl | Lease TTL (e.g. 1h, 30m) | no | 1h |
| audience | OIDC token audience | no | kobe-system |
| timeout | Max time to wait for the lease to become Bound (e.g. 5m) | no | 5m |
| wait-for-ready | After lease is Bound, also wait until cluster nodes report Ready. Defaults to false for backward compatibility — set true to block until the cluster is fully usable for tests. | no | false |
| min-ready-nodes | Minimum non-control-plane nodes that must be Ready (only used when wait-for-ready=true). Default 0 — single-node k3s/k0s server pools (the common CI shape) pass without further config since the server itself is labeled control-plane. Set to 1 or higher for multi-node setups that require a worker. | no | 0 |
| ready-timeout | Max time to wait for cluster readiness after Bound (only used when wait-for-ready=true). Independent from `timeout`, which gates the Bound transition. | no | 2m |
Outputs
| name | description |
|---|---|
| kubeconfig-path | Path to the kubeconfig file |
| lease-id | Lease ID |
| cluster-name | Name of the claimed cluster |
| cluster-backend | Auto-detected cluster backend: k3s | k0s | kubernetes | unknown. Always set when kubectl is on PATH; useful for backend-aware downstream steps. The `kubernetes` value is a generic bucket covering vanilla, kind, capi-managed, EKS/GKE/AKS, and vcluster (vcluster reports the underlying distro's gitVersion — typically k3s). |