github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/staging/selenium/selenium-hub-deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: selenium-hub
     5    labels:
     6      app: selenium-hub
     7  spec:
     8    replicas: 1
     9    selector:
    10      matchLabels:
    11        app: selenium-hub
    12    template:
    13      metadata:
    14        labels:
    15          app: selenium-hub
    16      spec:
    17        containers:
    18        - name: selenium-hub
    19          image: selenium/hub:3.141
    20          ports:
    21            - containerPort: 4444
    22          resources:
    23            limits:
    24              memory: "1000Mi"
    25              cpu: ".5"
    26          livenessProbe:
    27            httpGet:
    28              path: /wd/hub/status
    29              port: 4444
    30            initialDelaySeconds: 30
    31            timeoutSeconds: 5
    32          readinessProbe:
    33            httpGet:
    34              path: /wd/hub/status
    35              port: 4444
    36            initialDelaySeconds: 30
    37            timeoutSeconds: 5