apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: selenium-distributor
    component: selenium-grid-4
    name: selenium-distributor
  name: selenium-distributor-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: selenium-distributor
  template:
    metadata:
      labels:
        app: selenium-distributor
        component: selenium-grid-4
        name: selenium-distributor
    spec:
      containers:
      - env:
        - name: SE_EVENT_BUS_HOST
          value: selenium-event-bus
        - name: SE_EVENT_BUS_PUBLISH_PORT
          value: "4442"
        - name: SE_EVENT_BUS_SUBSCRIBE_PORT
          value: "4443"
        - 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/distributor:4.1.1-20220121
        name: selenium-distributor
        ports:
        - containerPort: 5553
          protocol: TCP
