NixOS Kubernetes release update schedule

Hello, I’m wondering if there’s a decided policy/plan around when the kubernetes packages are updated to the latest release version? I see a commit from a few days ago that updates the patch version, but there is also a new minor version available that is already on it’s own third patch release.


I was recently doing some testing around kind and podman rootless clusters when I ran in to the issue that kubectl didn’t have the create token command available. This is because the kubectl I pulled from nixpkgs used version 1.23.x rather than 1.24. I updated it using an overlay, but that still leaves me wondering how long I’ll need to keep it around.

workaround overlay for reference:

(final: prev: {
  kubernetes = (prev.kubernetes.override {
    buildGoModule = prev.buildGo118Module;
  }).overrideAttrs (oldAttrs: rec {
    version = "1.24.3";
    src = prev.fetchFromGitHub {
      owner = "kubernetes";
      repo = "kubernetes";
      rev = "v${version}";
      sha256 = "sha256-O/wZv8plaUKLJXVBKCms8joeoY/Abje5mZ1+wBKOQG8=";

Great question, which I’d like to know the answer to, as well.

1 Like