轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥8起我的订单
文档
工具
提交工单页面收录
keda-external-scaler

selenium/keda-external-scaler

selenium

KEDA external scaler that scales Selenium Grid from live session and queue state

下载次数: 0状态:社区镜像维护者:selenium仓库类型:镜像最近更新:1 天前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这段话即可:

请先阅读并遵守:https://xuanyuan.cloud/agents.md

未读文档前不要生成 pull 命令或排错方案。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
轩辕镜像,让镜像更快,让人生更轻。
点击查看

Selenium Grid KEDA External Scaler

This image provides a standalone KEDA external scaler for Selenium Grid. It is a gRPC server that reads the Grid's GraphQL state and tells KEDA how many browser Nodes it should scale to.

It is a functional extraction of KEDA's built-in selenium-grid scaler, so that Selenium's autoscaling logic can be released on the docker-selenium cadence instead of KEDA's. The scaling algorithm — capability matching (mirroring the Grid's DefaultSlotMatcher), slot reservation and the on-going session count conventions — is ported verbatim from upstream and is covered by KEDA's own test table.

How it differs from the built-in scaler

The behaviour is identical. The only user-visible change is the trigger wiring:

Built-inThis external scaler
Trigger typeselenium-gridexternal
scalerAddressn/arequired — points at this scaler's Service
Grid URL / credentialsvia TriggerAuthentication authParamsvia trigger metadata, *FromEnv, or the scaler's own environment

The credential difference matters: KEDA does not forward TriggerAuthentication authParams to external scalers. The Grid URL and credentials therefore have to reach the scaler another way (see below).

Use trigger type external, not external-push — the Grid exposes no push signal, so StreamIsActive is deliberately unimplemented.

How to run this image

The Selenium Grid Helm chart wires this scaler up for you when autoscaling.enabled=true; see the chart https://github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/CONFIGURATION.md. To deploy it by hand:

bash
docker pull selenium/keda-external-scaler:4.48.0-20260905
yaml
# Deployment (excerpt) — the scaler serves gRPC on :8080
containers:
  - name: selenium-grid-scaler
    image: selenium/keda-external-scaler:4.48.0-20260905
    ports:
      - containerPort: 8080
    env:
      - name: SE_GRID_URL
        value: http://selenium-router:4444/graphql
    readinessProbe:
      grpc:
        port: 8080
yaml
# ScaledObject / ScaledJob trigger (excerpt)
triggers:
  - type: external
    metadata:
      scalerAddress: selenium-grid-scaler.selenium.svc.cluster.local:8080
      url: http://selenium-router:4444/graphql
      browserName: chrome
      nodeMaxSessions: "1"

Reference manifests for both ScaledObject and ScaledJob live in https://github.com/SeleniumHQ/docker-selenium/tree/trunk/.keda-external-scaler/deploy. The scaler exposes the standard gRPC health service (grpc.health.v1.Health), so Kubernetes grpc probes work out of the box.

Trigger metadata

All keys mirror the built-in scaler, plus scalerAddress, which KEDA consumes itself:

KeyDefaultNotes
scalerAddress—KEDA-side; host:port of this scaler's Service
url—Grid GraphQL endpoint; required (metadata, urlFromEnv, or SE_GRID_URL)
browserName""e.g. chrome, firefox, MicrosoftEdge
sessionBrowserName= browserNamee.g. msedge for Edge
browserVersion""prefix-matched against requests
platformName""platform-family aware
capabilities""JSON of extra required capabilities
nodeMaxSessions1slots per Node
enableManagedDownloadstrue
activationThreshold0scale-from-zero threshold
unsafeSslfalseskip Grid TLS verification
includeOngoingSessionstruecount on-going sessions toward the metric
authType""Basic (default) or a bearer scheme such as OAuth2 / Bearer
username / password—Grid basic auth
accessToken—Grid bearer token (with a non-Basic authType)

Any key may also be supplied as <key>FromEnv, which KEDA resolves from the scale target's container environment before sending it.

On-going sessions

The metric this scaler returns is the number of Nodes the Grid needs. On-going sessions are work the Grid is already serving, so whether they belong in that number depends on which count KEDA's executor already deducts for you:

ScaledJob strategyKEDA deductsincludeOngoingSessionsMetric emitted
defaultrunning Job counttrue (default)queued requests + on-going sessions
customcustomScalingRunningJobPercentage of running Job counttrue (default)queued requests + on-going sessions
accuratepending Job countfalsequeued requests only
eagerrunning + pending Job countfalsequeued requests only
ScaledObject (HPA)running replicas via HPAtrue (default)queued requests + on-going sessions

accurate and eager never re-add running work, so counting on-going sessions there double-counts sessions already in progress and produces runaway Node creation that never scales back down. The Selenium Grid Helm chart derives this for you from autoscaling.scaledJobOptions.scalingStrategy.strategy; set <node>.hpa.includeOngoingSessions to override it.

Authentication

Because authParams are not forwarded to external scalers, resolve the Grid URL and credentials by one of the following (highest precedence first, per key):

  1. Trigger metadata — url, username, password, accessToken directly in the trigger metadata. Visible in the ScaledObject, so fine for the URL, best avoided for secrets.
  2. *FromEnv metadata — for example usernameFromEnv: SE_ROUTER_USERNAME; KEDA resolves it from the scale target's container environment.
  3. Scaler environment — mount the secret into this Deployment as SE_GRID_URL, SE_GRID_AUTH_TYPE, SE_USERNAME, SE_PASSWORD, SE_ACCESS_TOKEN. This keeps secrets out of the ScaledObject entirely.

Runtime flags

FlagEnvironment variableDefault
--listen-addressLISTEN_ADDRESS:8080
--grid-http-timeoutSE_GRID_HTTP_TIMEOUT3s
--tls-cert-fileTLS_CERT_FILE—
--tls-key-fileTLS_KEY_FILE—

Setting both TLS flags serves the gRPC endpoint over TLS; KEDA connects with enableTLS / caCert on its side.

How to choose the correct tag for you

This image follows the same release convention as the other Grid components, so it is tagged with the Selenium Grid version:

selenium/keda-external-scaler-<Major>.<Minor>.<Patch>-<YYYYMMDD>

Example of a release with Selenium Grid Server 4.48.0, released on 20260909

    Selenium Server 4.48.0
    Release date 20260909


e126989f151e        selenium/keda-external-scaler   4
e126989f151e        selenium/keda-external-scaler   4.48
e126989f151e        selenium/keda-external-scaler   4.48.0
e126989f151e        selenium/keda-external-scaler   4.48.0-20260909

Besides that, you also can use image tag latest or nightly.

Further reading: the scaler's own https://github.com/SeleniumHQ/docker-selenium/blob/trunk/.keda-external-scaler/README.md and the Selenium Grid chart https://github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/CONFIGURATION.md.

Full documentation

The Docker-Selenium project in GitHub has an extensive https://github.com/SeleniumHQ/docker-selenium that will help you find the correct way to get this images up and running for your use case.

License

The project is made possible by volunteer contributors who have put in thousands of hours of their own time, and made the source code freely available under the https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/LICENSE.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 keda-external-scaler 镜像标签

docker pull docker.xuanyuan.run/selenium/keda-external-scaler:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull selenium/keda-external-scaler:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

爱快 4.0 · iKuai 镜像加速

宝塔面板

一键配置镜像源

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

专属域名用法

专属域名 · 开启停用 · 多仓库

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

docker.sock / daemon

账号

失败是否计费

manifest · blob · 计费

申请开票(企业 / 个人)

开票 · 发票 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
selenium/keda-external-scaler
定价查看流量套餐与价格
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥8/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 keda-external-scaler 镜像推荐

selenium/standalone-chrome logo

selenium/standalone-chrome

selenium
Selenium Grid的独立模式(Standalone mode)是一种集成了中心节点(hub)与执行节点(node)功能的简化测试部署方式,配合Chrome浏览器使用时,可在本地或小型测试环境中通过单一进程便捷启动,支持并行执行基于Selenium的自动化测试脚本,无需额外配置独立的中心节点与执行节点,有效简化测试环境搭建流程,提升测试效率,适用于快速验证测试用例或小规模自动化测试场景。
638 次收藏5亿+ 次下载
3 天前更新
selenium/hub logo

selenium/hub

selenium
Selenium Grid Hub模式镜像作为分布式测试中心节点,用于接收并分配测试请求至各执行节点,实现跨环境自动化测试任务的并行管理与执行。
463 次收藏1亿+ 次下载
3 天前更新
selenium/node-chrome logo

selenium/node-chrome

selenium
Selenium Grid节点模式(搭配Chrome浏览器)是一种分布式自动化测试组件,作为硒网格架构中的工作节点,可接收中心集线器(Hub)分配的测试任务,在本地Chrome浏览器环境中执行Web应用自动化测试,支持多版本Chrome浏览器配置与并行测试任务处理,能有效提升大规模测试场景下的执行效率与资源利用率,适用于跨环境、多任务的Web应用自动化测试流程。
271 次收藏1亿+ 次下载
3 天前更新
selenium/node-firefox logo

selenium/node-firefox

selenium
用于Selenium Grid的Firefox节点镜像,可与Selenium Grid Hub配合使用,支持远程运行WebDriver测试。
155 次收藏5000万+ 次下载
3 天前更新
selenium/standalone-firefox logo

selenium/standalone-firefox

selenium
Selenium网格独立模式镜像,集成Firefox浏览器,用于分布式Web自动化测试,支持单节点简化部署。
197 次收藏5000万+ 次下载
3 天前更新
selenium/node-edge logo

selenium/node-edge

selenium
带有Edge浏览器的Selenium Grid节点镜像,用于与Selenium Grid Hub配合,实现WebDriver测试的远程运行。
11 次收藏1000万+ 次下载
3 天前更新

查看更多 keda-external-scaler 相关镜像