github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/test/integration/config/prow/cluster/gangway_deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: gangway
     5    namespace: default
     6    labels:
     7      app: gangway
     8  spec:
     9    replicas: 1
    10    selector:
    11      matchLabels:
    12        app: gangway
    13    template:
    14      metadata:
    15        labels:
    16          app: gangway
    17      spec:
    18        terminationGracePeriodSeconds: 30
    19        serviceAccountName: gangway
    20        containers:
    21        - name: gangway
    22          image: localhost:5001/gangway
    23          args:
    24          - --config-path=/etc/config/config.yaml
    25          - --job-config-path=/etc/job-config
    26          - --grace-period=110s
    27          - --dry-run=false
    28          - --moonraker-address=http://moonraker.default
    29          ports:
    30          - name: grpc
    31            containerPort: 32000
    32          - name: metrics
    33            containerPort: 9090
    34          volumeMounts:
    35          - name: config
    36            mountPath: /etc/config
    37            readOnly: true
    38          - name: job-config
    39            mountPath: /etc/job-config
    40            readOnly: true
    41          resources:
    42            requests:
    43              cpu: "1"
    44              memory: "2Gi"
    45          livenessProbe:
    46            httpGet:
    47              path: /healthz
    48              port: 8081
    49            initialDelaySeconds: 3
    50            periodSeconds: 3
    51          readinessProbe:
    52            httpGet:
    53              path: /healthz/ready
    54              port: 8081
    55            initialDelaySeconds: 10
    56            periodSeconds: 3
    57            timeoutSeconds: 600
    58        volumes:
    59        - name: config
    60          configMap:
    61            name: config
    62        - name: job-config
    63          configMap:
    64            name: job-config
    65        tolerations:
    66        - key: "prowcomponent"
    67          operator: "Equal"
    68          value: "true"
    69          effect: "NoSchedule"