---
title: "How does the Bitnami kubectl deprecation affect ITRS Analytics deployments?"
description: "Learn how the deprecation of the Bitnami kubectl image impacts ITRS Analytics deployments and discover essential migration steps to ensure seamless upgrades."
url: "https://docs.itrsgroup.com/docs/itrs-analytics/latest/faqs/bitnami-kubectl-image-migration/index.html"
---
This FAQ provides guidance on migrating from the deprecated `bitnami/kubectl` image to supported alternatives to prevent deployment issues in ITRS Analytics online installations.


**Important**


ITRS Analytics versions prior to 2.15.4 will fail to deploy on online installations due to `bitnami/kubectl` image deprecation. Air-gapped deployments are unaffected. To prevent deployment failures, you must upgrade to version 2.15.4 or later. This release includes updates that replace `bitnami/kubectl` with `chainguard/kubectl`

Instances running ITRS Analytics 2.12.0+1 or later (up to 2.15.x) can upgrade directly to version 2.15.4. This is the recommended upgrade path. For instances running versions earlier than 2.12.0+1, the [workaround](#how-to-work-around-online-deployment-limitations-before-itrs-analytics-2154) must still be applied prior to upgrading. Version 2.12.0+1 is a required release in the upgrade sequence, and skipping it may result in encountering the issue.



## What is happening with the bitnami/kubectl image?

Bitnami announced that all images in their public catalog will be migrated to a legacy repository on September 2025. After this date, images can no longer be retrieved via `docker.io/bitnami`. This means the `bitnami/kubectl` image will no longer be accessible through the standard Docker Hub registry path.

See the official [Bitnami announcement](https://github.com/bitnami/containers/issues/83267) for details.

## Why does this affect my deployments?

If your deployments, Kubernetes manifests, or ITRS Analytics packages reference `bitnami/kubectl` images, they will fail to pull the image. This affects:

- All deployment types using the `bitnami/kubectl` image.
- All Kubernetes distributions that reference these images.
- Installation packages that include `bitnami/kubectl` dependencies.
- Any automation or CI/CD pipelines using these images.

## How does this affect ITRS Analytics packages?

ITRS Analytics utilizes `kubectl/bitnami` images as part of packages prior to version 2.15.4. This creates critical issues:

- Customers upgrading to versions before 2.15.4 on online installations will experience deployment failures. Air-gapped deployments are unaffected by this issue.
- The `kubectl` image pull will fail during package installation.
- This affects both new installations and upgrades of older package versions.

**Which versions are affected?**

- All ITRS Analytics packages using versions prior to 2.15.4.
- Starting with version 2.15.4, ITRS Analytics uses alternative `kubectl` images. This makes `2.15.4` a required release.
- The upcoming 2.15.4 release replaces the deprecated `bitnami/kubectl` with `chainguard/kubectl`.

## What should I do if I'm using an affected version?

1. **Immediate action:**
   - Audit your current deployments to identify `bitnami/kubectl` usage.
   - Plan migration to ITRS Analytics version 2.15.4 or later.
   - There may be required intermediate releases before 2.15.4 depending on your current version. Please contact [ITRS Support](https://support.itrsgroup.com/hc/en-us) to determine the proper upgrade path for your specific deployment.

2. **For new deployments:**
   - **Do not install any ITRS Analytics version below 2.15.4** - these versions will fail due to the deprecated `bitnami/kubectl` dependency.
   - We strongly recommend making it a standard rule for fresh installations to always use version 2.15.4 or later.
   - Ensure your package manifests reference `chainguard/kubectl` or approved alternatives.

## How to work around online deployment limitations before ITRS Analytics 2.15.4?

If you need to install ITRS Analytics online deployments that don't come with the Chainguard image, you can use the following workaround procedure. This allows you to install older versions of ITRS Analytics by redirecting the deprecated `bitnami/kubectl` image to a supported alternative.


**Note**


Workaround applicability and notes:

- Works for both new installations and upgrades.
- Only needs to be done once; remains effective for future upgrades.
- During upgrades, you may need to:
  - Delete the job.
  - Redeploy the instance to apply image redirection.

This is a temporary workaround and should only be used until you can upgrade to ITRS Analytics version 2.15.4 or later.



### Installing ITRS Analytics on BYO online deployments 

#### Prerequisites

- Ensure you have a cluster ready and perform the necessary preparations.
- Verify you have administrative access to the Kubernetes cluster.

1. Install the latest release of Gatekeeper.
   
   ```bash
   kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.20.1/deploy/gatekeeper.yaml
   ```
   
   For detailed installation instructions, refer to [Gatekeeper's documentation](https://open-policy-agent.github.io/gatekeeper/website/docs/install/).

2. Download and apply the [assignImage.yaml](/itrs-analytics-meta/downloads/assignImage.yaml "Download assignImage YAML file") manifest file:

   ```bash
   kubectl apply -f assignImage.yaml
   ```
   
   This manifest will redirect `bitnami/kubectl` image references to the supported alternative.

3. Apply this patch to ensure the manifest does not interfere with upgrades.

   ```
   kubectl patch -p '{"spec":{"minAvailable":0}}' -n gatekeeper-system pdb/gatekeeper-controller-manager
   ```

4. Deploy ITRS Analytics.
   
   Proceed with your normal deployment process. The image redirection will ensure that any references to the deprecated `bitnami/kubectl` image will be automatically redirected to the supported alternative.

5. If you have already upgraded to the version 2.15.4 after installing Gatekeeper, you can safely uninstall it by running the following commands:

   ```
   kubectl delete -f assignImage.yaml
   kubectl delete -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper/v3.20.1/deploy/gatekeeper.yaml
   ```

### Installing ITRS Analytics on Embedded Cluster online deployments 

#### Prerequisites

- Ensure you have a cluster ready and perform the necessary preparations.
- Verify you have administrative access to the Kubernetes cluster.
- You must have the `itrs-analytics` file available.

Perform these steps after the cluster becomes available and before deploying ITRS Analytics through the KOTS Admin console.

1. Start a shell with access to the itrs-analytics cluster.

   ```
   sudo ./itrs-analytics shell
   ```

2. Pull the `bitnamilegacy/kubectl` image and tag it so that `bitnami/kubectl` references point to the `bitnamilegacy/kubectl` path.

   ```
   k0s ctr image pull docker.io/bitnamilegacy/kubectl:1.29.4
   k0s ctr image tag docker.io/bitnamilegacy/kubectl:1.29.4 docker.io/bitnami/kubectl:1.29.4
   k0s ctr image pull docker.io/bitnamilegacy/kubectl:1.32.2
   k0s ctr image tag docker.io/bitnamilegacy/kubectl:1.32.2 docker.io/bitnami/kubectl:1.32.2
   ```

   
**Note**


You don’t need to delete these images manually, as the container runtime will automatically remove them once a certain threshold is reached.  




