Skip to content
CAI
Software that uses CAICheck a score

joan38/kubernetes-client

53.9

Adequate · 7 November 2026

2.4k

lines of production code

Scala

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Kubernetes client library for Scala that provides typed APIs for managing core resources such as Pods, Deployments, and Services. It supports standard configuration loading, resource watching, and operations like pod execution and file transfers. The project has migrated its build infrastructure from SBT to Mill and includes comprehensive integration tests against a live cluster to validate CRUD operations and caching behavior.

Features

Initial project scaffolding with Mill build, Apache 2.0 license, and strict code style

The repository is initialized with a Mill 1.1.0 build system (build.mill, mill launcher) supporting Scala 3.3.4, 2.13.16, and 2.12.20, replacing previous build tooling. An Apache 2.0 license file is added, and the project adopts strict code quality rules via Scalafmt 3.10.6 and Scalafix (disabling vars, nulls, returns, etc.). The README documents usage with http4s and Circe, and the .gitignore is updated to exclude Mill, Scala, and IDE artifacts.

(repo-wide) · high confidence

Initial release of the Kubernetes client library

This change introduces the core components of the Kubernetes client library, including the \KubernetesClient\ entry point, \KubeConfig\ for standard configuration loading (from environment, home directory, or cluster), and a comprehensive set of typed APIs for managing Kubernetes resources such as Pods, Deployments, Services, ConfigMaps, Secrets, Ingresses, and Custom Resources. It also provides utilities for watching resource changes, executing commands in pods, and handling file uploads/downloads.

kubernetes-client · high confidence

Removals

Removal of legacy Kubernetes client implementation

The legacy Kubernetes client implementation located in src/main/scala/com/goyeau/kubernetesclient has been completely removed. This deletion eliminates the previous Akka HTTP-based operations for managing Pods, Deployments, Jobs, CronJobs, and Services, along with the associated KubeConfig parsing and request utilities. Users relying on this specific client package will no longer have access to these Kubernetes resource interactions.

src/main/scala · high confidence

Test coverage

Added integration tests for Kubernetes API resources using mUnit; Added integration tests for Kubernetes resource operations; Added test utilities for Kubernetes client testing; Added tests for AuthorizationCache token retrieval and expiration handling.

Dependencies

Migrate build system from SBT to Mill

The project has switched its build tool from SBT to Mill. This migration replaces the SBT configuration files (build.properties, plugins.sbt) with Mill-specific build definitions (Dependencies.mill, SwaggerModelGenerator.mill, model.mill, package.mill). The build logic for dependency management and the Swagger model code generator has been rewritten in Mill's DSL, and the legacy Scala-based build definitions (Definition.scala, SwaggerModelGenerator.scala) have been removed.

project · high confidence

Migration from SBT to Mill build tool

The project has switched its build system from SBT to Mill. This change removes the SBT build configuration files (build.sbt and project/build.sbt), which previously defined dependencies for Circe, Akka HTTP, and other libraries, in favor of the new Mill-based build structure.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 54 (-1.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 99 → 99 (+0.0)
  • Architecture 82 → 82 (+0.0)
  • Maturity 45 → 41 (-4.0)
  • Readiness 51 → 51 (+0.0)
  • Security 72 → 72 (+0.0)

Findings

  • No change — the same findings as the prior survey.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

joan38/kubernetes-client was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 934552c001888f929e86cb61090322d6046ec38d — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-c34be012586e.