> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Kube-upgrade-check Identifies Kubernetes Upgrade Issues
- URL: https://www.stirup.si/kube-upgrade-check-identifies-kubernetes-upgrade-issues-4ef7f2e4/
- Published: 2026-11-04T15:34:54.000Z
- Updated: 2026-11-04T15:34:54.000Z
- Description: Kube-upgrade-check is a tool that identifies potential issues before upgrading a Kubernetes cluster by analyzing the current state and highlighting risks such as removed APIs, incompatible settings, and add-on compatibility problems.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Overview and Functionality

Kube-upgrade-check is a tool designed to identify potential issues before upgrading a Kubernetes cluster. By analyzing the current state of a cluster, it highlights what might break during an upgrade, such as removed APIs still in use, control-plane and kubelet settings incompatible with the new version, and in-tree volume plugins that may stop functioning. It also checks for node-level changes and whether add-ons support the target version. The tool leverages 449 rules to assess control-plane and kubelet settings, 17 rules for feature gates, and 422 rules for add-on compatibility. These rules help users understand the impact of an upgrade and prepare accordingly. Kube-upgrade-check also reports on vendor support dates and extended-support costs, providing a comprehensive overview of what could go wrong. This level of detail is crucial for ensuring a smooth and successful Kubernetes upgrade.

## Installation and Usage

Installation of *kube-upgrade-check* is straightforward and supports multiple platforms. Users can install it via `kubectl krew install upgrade-check` or using `brew install runtimez-com/tap/kube-upgrade-check` on macOS and Linux. For those preferring manual installation, a script is available via `curl` from the project’s GitHub repository. The tool can also be installed on Windows using `scoop`, with binaries provided for macOS, Linux, and Windows on both `amd64` and `arm64` architectures. Once installed, the tool can be run with commands like `kube-upgrade-check` to check the current context or `kube-upgrade-check --target 1.35` to analyze compatibility with a specific Kubernetes version. Additional options, such as specifying a kubeconfig context or outputting results in JSON format, provide flexibility for integration with automation workflows.

## Machine-Readable Output and Exit Codes

The `kube-upgrade-check` tool provides machine-readable output and exit codes to help users identify potential issues before upgrading a Kubernetes cluster. In CI pipelines, users can gate on severity using flags like `--fail-on high`, which ensures that high-severity findings prevent the upgrade from proceeding. Exit codes are clearly defined, with code 0 indicating a successful scan with no issues, and code 4 signaling that findings reached the specified failure threshold or that a check could not be completed. According to [Hacker News Show](https://github.com/runtimez-com/kube-upgrade-check?ref=stirup.si), an unknown `--fail-on` value is rejected rather than ignored, ensuring clarity in the upgrade process. Additionally, the tool explicitly lists every check that could not run, along with the reason and a command to run it manually, as noted in [Hacker News Show](https://github.com/runtimez-com/kube-upgrade-check?ref=stirup.si). [Hacker News Show](https://github.com/runtimez-com/kube-upgrade-check?ref=stirup.si) highlights that the tool also prints specific gaps at the end of a run, such as managed control planes, and provides commands to check them manually.

## Comparison with Similar Tools

Compared to similar tools like Pluto, kubent, and KubePug, kube-upgrade-check offers unique capabilities in identifying potential issues before a Kubernetes upgrade. While Pluto checks for removed and deprecated APIs and scans manifests, it does not read stored Helm 3 release manifests, which can lead to missed issues if an upgrade fails due to an API that is no longer supported. KubePug focuses on control-plane and kubelet settings, but it has fewer rules compared to kube-upgrade-check, which includes 422 rules for add-on compatibility and 449 rules for managed-fields evidence. Kube-upgrade-check also provides detailed reports on what it could not check, ensuring users are aware of potential blind spots. This tool fills a critical gap by analyzing Helm release manifests directly, making it a more comprehensive solution for preflight checks before an upgrade.

## Catalog Management and Validation

The **Kube-upgrade-check** tool introduces a structured approach to managing and validating Kubernetes add-on compatibility during upgrades. Each add-on's breaking changes are defined as release-note rules within the `catalog/k8s-rules/<addon>/` directory, with one file per add-on minor version. These rules operate based on the add-on's own version range, not the Kubernetes version, ensuring precise validation. Users can list the catalog's contents with `kube-upgrade-check catalog list` to understand what is covered. Before submitting changes, developers can validate their edits using `kube-upgrade-check catalog validate`, which ensures that rules reference implemented checks, findings include vendor quotes or source URLs, and add-ons have version anchors. This approach enhances reliability and transparency in upgrade planning.

## Sources and reporting notes

- [Hacker News Show](https://github.com/runtimez-com/kube-upgrade-check?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.