apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: selenium-router
    component: selenium-grid-4
    name: selenium-router
  name: selenium-router-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: selenium-router
  template:
    metadata:
      labels:
        app: selenium-router
        component: selenium-grid-4
        name: selenium-router
    spec:
      containers:
      - env:
        - name: SE_DISTRIBUTOR_HOST
          value: selenium-distributor
        - name: SE_DISTRIBUTOR_PORT
          value: "5553"
        - name: SE_SESSIONS_MAP_HOST
          value: selenium-sessions
        - name: SE_SESSIONS_MAP_PORT
          value: "5556"
        - name: SE_SESSION_QUEUE_HOST
          value: selenium-session-queue
        - name: SE_SESSION_QUEUE_PORT
          value: "5559"
        image: selenium/router:4.1.1-20220121
        name: selenium-router
        ports:
        - containerPort: 4444
          protocol: TCP
