Skip to content

[BUG]: KubeloginInstaller fails with Kubelogin version v0.x.x was not found #21324

@PentlandOperations

Description

@PentlandOperations

New issue checklist

Task name

KubeloginInstaller@0

Task version

0.259.2

Issue Description

We recently introduced the KubeloginInstaller task in our Azure DevOps pipelines.
In the beginning it seemed to run without issues, then people started to report problems that the KubeloginInstaller task failed and they had to re-run the pipeline. In the meanwhile this issue occurs more often and became an annoying issue because it seems to occur randomly and there's no meaningful error message in the logs.

As a workaround I added retryCountOnTaskFailure: "10", but this does not really help, only in rare situations.
Furthermore to avoid connection rate limits, I added a GiHub service connection, but still no luck, does not improve anything.

kublogin versions v0.2.8 and 'v0.2.10'.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Linux

Relevant log output

2025-09-15T15:26:53.0403912Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:26:53.0453320Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 10 out of 10) after 100000 ms

Full task logs with system.debug enabled

 2025-09-15T15:22:06.0438873Z ##[section]Starting: Install kubelogin
2025-09-15T15:22:06.0444195Z ==============================================================================
2025-09-15T15:22:06.0444357Z Task         : Kubelogin tool installer
2025-09-15T15:22:06.0444458Z Description  : Helps to install kubelogin
2025-09-15T15:22:06.0444558Z Version      : 0.259.2
2025-09-15T15:22:06.0444648Z Author       : Microsoft Corporation
2025-09-15T15:22:06.0444750Z Help         : https://azure.github.io/kubelogin/index.html
2025-09-15T15:22:06.0444861Z ==============================================================================
2025-09-15T15:22:06.2788530Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:22:06.2837881Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 1 out of 10) after 1000 ms
2025-09-15T15:22:07.4648616Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:22:07.4694601Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 2 out of 10) after 4000 ms
2025-09-15T15:22:11.6545825Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:22:11.6597754Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 3 out of 10) after 9000 ms
2025-09-15T15:22:20.8399534Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:22:20.8458357Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 4 out of 10) after 16000 ms
2025-09-15T15:22:37.0216709Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:22:37.0271844Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 5 out of 10) after 25000 ms
2025-09-15T15:23:02.2136356Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:23:02.2187310Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 6 out of 10) after 36000 ms
2025-09-15T15:23:38.4088442Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:23:38.4134237Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 7 out of 10) after 49000 ms
2025-09-15T15:24:27.5821528Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:24:27.5877009Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 8 out of 10) after 64000 ms
2025-09-15T15:25:31.7644147Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:25:31.7694223Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 9 out of 10) after 81000 ms
2025-09-15T15:26:53.0403912Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:26:53.0453320Z ##[warning]RetryHelper encountered task failure, will retry (attempt #: 10 out of 10) after 100000 ms
2025-09-15T15:28:33.2370556Z ##[error]Kubelogin version v0.2.10 was not found
2025-09-15T15:28:33.2425780Z ##[section]Finishing: Install kubelogin 

Repro steps

- task: KubeloginInstaller@0
  inputs:
    kubeloginVersion: 'v0.2.10'
    gitHubConnection: "GitHub-connection-name"
  displayName: 'Install kubelogin'
  retryCountOnTaskFailure: "10"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions