• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

karellen / kubernator / 24375642090
82%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 02:24AM UTC
Jobs 5
Files 24
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2026 01:17AM UTC coverage: 76.951% (+0.07%) from 76.88%
24375642090

push

github

web-flow
Add k3d plugin for local k3s-in-Docker clusters (#101)

## Summary

- Adds a `k3d` plugin that mirrors the `kind` plugin at feature parity:
same lifecycle verbs (`start_fresh`, `keep_running`), same context
shape, same `_wait_for_apiserver` post-resume TLS probe, same
cluster-config generation pattern. Defaults node image to
`rancher/k3s:v<k8s_version>-k3s1` (multi-arch, upstream Rancher).
- Uses k3d's native `cluster start` / `cluster stop` subcommands rather
than orchestrating `docker start/stop` ourselves (the kind plugin has
to, because kind lacks those).
- Strips the k3s `+k3sN` version suffix (and simplifies the always-true
EKS/GKE guard) in `plugins/k8s.py` so that `server_git_version` points
at a valid upstream `kubernetes/kubernetes` release tag for the OpenAPI
spec download.
- Adds `k3d_smoke` and `k3d_multi_node` integration tests mirroring
`minikube_smoke` / `multi_node`, and 13 new unit tests covering config
generation, validation, provider detection, and latest-tag parsing.

## Test plan

- [x] `pyb run_unit_tests` — 30 unit tests pass (13 new).
- [x] `pyb run_integration_tests -P
integrationtest_file_glob='k3d_*_tests.py'` — smoke + multi-node pass
against real Docker.
- [ ] README plugin table row, kubeconfig note, and new `k3d Plugin`
section read consistently.

593 of 966 branches covered (61.39%)

Branch coverage included in aggregate %.

214 of 269 new or added lines in 2 files covered. (79.55%)

2976 of 3672 relevant lines covered (81.05%)

4.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
55
77.46
src/main/python/kubernator/plugins/k3d.py
Jobs
ID Job ID Ran Files Coverage
1 24375642090.1 14 Apr 2026 02:24AM UTC 24
76.91
GitHub Action Run
2 24375642090.2 14 Apr 2026 02:26AM UTC 24
76.91
GitHub Action Run
3 24375642090.3 14 Apr 2026 02:27AM UTC 24
76.91
GitHub Action Run
4 24375642090.4 14 Apr 2026 02:28AM UTC 24
76.91
GitHub Action Run
5 24375642090.5 14 Apr 2026 02:29AM UTC 24
76.89
GitHub Action Run
Source Files on build 24375642090
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fc7d4d75 on github
  • Prev Build on master (#24366161103)
  • Next Build on master (#24580658204)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc