...

Text file src/edge-infra.dev/config/pallets/edge/lighthouse/base/deployment.yaml

Documentation: edge-infra.dev/config/pallets/edge/lighthouse/base

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: lighthouse
     5  labels:
     6    app: lighthouse
     7    deployment-type: application
     8    platform.edge.ncr.com/component: lighthouse
     9    release: lighthouse
    10spec:
    11  replicas: 1
    12  selector:
    13    matchLabels:
    14      app: lighthouse
    15      pod-type: application
    16      release: lighthouse
    17  template:
    18    metadata:
    19      name: lighthouse
    20      labels:
    21        app: lighthouse
    22        pod-type: application
    23        release: lighthouse
    24    spec:
    25      restartPolicy: Always
    26      dnsPolicy: ClusterFirst
    27      serviceAccountName: lighthouse-sa
    28      containers:
    29      - name: lighthouse
    30        image: bzl://cmd/edge/lighthouse:container_push
    31        ports:
    32        - name: http
    33          protocol: TCP
    34          containerPort: 8080
    35        envFrom:
    36        - configMapRef:
    37            name: lighthouse
    38        resources:
    39          limits:
    40            cpu: "1"
    41            memory: 1Gi
    42          requests:
    43            cpu: 150m
    44            memory: 250Mi
    45        imagePullPolicy: IfNotPresent
    46  strategy:
    47    type: RollingUpdate
    48    rollingUpdate:
    49      maxSurge: 25%
    50      maxUnavailable: 25%

View as plain text