From 32e941fd57a19abdfb5d259fa8c037bed92f72c3 Mon Sep 17 00:00:00 2001 From: Flash Date: Fri, 10 Apr 2026 20:51:05 +0000 Subject: [PATCH] fix selenium deployment --- k8s.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/k8s.yaml b/k8s.yaml index 27baa00..faf9167 100644 --- a/k8s.yaml +++ b/k8s.yaml @@ -56,6 +56,8 @@ spec: image: selenium/hub:4.16.1 ports: - containerPort: 4444 + - containerPort: 4442 + - containerPort: 4443 --- apiVersion: v1 kind: Service @@ -65,9 +67,15 @@ spec: selector: app: selenium-hub ports: - - protocol: TCP + - name: hub port: 4444 targetPort: 4444 + - name: publish + port: 4442 + targetPort: 4442 + - name: subscribe + port: 4443 + targetPort: 4443 --- apiVersion: apps/v1 kind: Deployment