...

Text file src/edge-infra.dev/config/pallets/sds/daemonsetdns/base/manifests.yaml

Documentation: edge-infra.dev/config/pallets/sds/daemonsetdns/base

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: daemonsetdns
     5  labels:
     6    app: daemonsetdns
     7    platform.edge.ncr.com/component: daemonsetdns
     8spec:
     9  selector:
    10    matchLabels:
    11      app: daemonsetdns
    12  template:
    13    metadata:
    14      labels:
    15        app: daemonsetdns
    16        platform.edge.ncr.com/component: daemonsetdns
    17    spec:
    18      serviceAccountName: daemonsetdns
    19      automountServiceAccountToken: true
    20      priorityClassName: edge-p4-operability-services
    21      containers:
    22      - name: daemonsetdns
    23        image: bzl://cmd/sds/daemonsetdns:container_push
    24        ports:
    25        - name: daemonsetdns
    26          protocol: UDP
    27          containerPort: 5353
    28        - name: daemonsetdnstcp
    29          protocol: TCP
    30          containerPort: 5353
    31        env:
    32        - name: GOMAXPROCS
    33          value: "1"
    34        resources:
    35          limits:
    36            cpu: "20m"
    37            memory: "20Mi"
    38          requests:
    39            cpu: "10m"
    40            memory: "10Mi"
    41        imagePullPolicy: IfNotPresent
    42      imagePullSecrets:
    43      - name: edge-docker-pull-secret
    44---
    45apiVersion: v1
    46kind: Service
    47metadata:
    48  name: daemonsetdns
    49spec:
    50  type: ClusterIP
    51  selector:
    52    app: daemonsetdns
    53  ports:
    54  - name: daemonsetdns
    55    protocol: UDP
    56    port: 53
    57    targetPort: daemonsetdns
    58  - name: daemonsetdnstcp
    59    protocol: TCP
    60    port: 53
    61    targetPort: daemonsetdnstcp

View as plain text