Skip to content

[πŸ› Bug]: selenium-grid-selenium-patch-scaledobjects-deletion pod fails to start and hangs in 'Pending' status because of the issue with pulling of "bitnami/kubectl:latest" imageΒ #2967

@vlistratenko

Description

@vlistratenko

What happened?

Helm charts fails to successfully complete installation because selenium-grid-selenium-patch-scaledobjects-deletion pod never starts up if autoscaling with KEDA is enabled.

Command used to start Selenium Grid with Docker (or Kubernetes)

1. Start minikube
2. Create a namespace: 'kubectl create namespace selenium-grid'
3. Install helm chart: 'helm install selenium-grid docker-selenium/selenium-grid  --version 0.46.0   -n selenium-grid --set isolateComponents=true --set autoscaling.enabled=true'
4. Verify if installation completes successfully

Actual:
* installation never completes because of the following pod which fails to pull the image

Relevant log output

vitalii@localhost:~$ kubectl get events -n selenium-grid --field-selector involvedObject.name=selenium-grid-selenium-patch-scaledobjects-deletion-sztsg --sort-by='.metadata.creationTimestamp'
LAST SEEN   TYPE      REASON             OBJECT                                                          MESSAGE
5m57s       Normal    Scheduled          pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Successfully assigned selenium-grid/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg to minikube
60s         Normal    Pulling            pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Pulling image "bitnami/kubectl:latest"
59s         Warning   Failed             pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Failed to pull image "bitnami/kubectl:latest": Error response from daemon: manifest for bitnami/kubectl:latest not found: manifest unknown: manifest unknown
59s         Warning   Failed             pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Error: ErrImagePull
72s         Normal    BackOff            pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Back-off pulling image "bitnami/kubectl:latest"
72s         Warning   Failed             pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Error: ImagePullBackOff
56s         Normal    DeadlineExceeded   pod/selenium-grid-selenium-patch-scaledobjects-deletion-sztsg   Pod was active on the node longer than the specified deadline

Operating System

minikube intsalled on Ubuntu 22.04.5 LTS (Jammy Jellyfish)

Docker Selenium version (image tag)

4.35.0-20250808

Selenium Grid chart version (chart version)

0.46.0

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