...

Text file src/edge-infra.dev/test/fixtures/warehouse/layout/blobs/sha256/762827d3ac9e2fa994fd4b292a17f7924b6c84d86ec5761f4ce22e65b46b41e1

Documentation: edge-infra.dev/test/fixtures/warehouse/layout/blobs/sha256

     1apiVersion: v1
     2kind: Namespace
     3metadata:
     4  name: data-sync-messaging
     5  labels:
     6    workload.edge.ncr.com: platform
     7    platform.edge.ncr.com/component: data-sync-messaging
     8  annotations:
     9    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
    10    pallet.edge.ncr.com/name: chirp
    11    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
    12    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
    13    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
    14    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
    15---
    16apiVersion: v1
    17kind: Service
    18metadata:
    19  name: data-sync-messaging
    20  namespace: data-sync-messaging
    21  labels:
    22    platform.edge.ncr.com/component: data-sync-messaging
    23  annotations:
    24    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
    25    pallet.edge.ncr.com/name: chirp
    26    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
    27    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
    28    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
    29    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
    30spec:
    31  type: ClusterIP
    32  ports:
    33  - name: grpc
    34    protocol: TCP
    35    port: 9092
    36    targetPort: 9092
    37  - name: http
    38    protocol: TCP
    39    port: 80
    40    targetPort: 80
    41  - name: prometheus
    42    protocol: TCP
    43    port: 8082
    44    targetPort: 8082
    45  selector:
    46    platform.edge.ncr.com/component: data-sync-messaging
    47---
    48apiVersion: apps/v1
    49kind: StatefulSet
    50metadata:
    51  name: data-sync-messaging
    52  namespace: data-sync-messaging
    53  labels:
    54    platform.edge.ncr.com/component: data-sync-messaging
    55  annotations:
    56    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
    57    pallet.edge.ncr.com/name: chirp
    58    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
    59    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
    60    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
    61    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
    62spec:
    63  replicas: 1
    64  template:
    65    spec:
    66      containers:
    67      - name: data-sync-messaging
    68        image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/data-sync-messaging@sha256:855d26ac7317bded9f5e95d4a6799798d87de92c575e0b44a537439b0690b8ce
    69        ports:
    70        - name: grpc
    71          protocol: TCP
    72          containerPort: 9092
    73        - name: http
    74          protocol: TCP
    75          containerPort: 80
    76        - name: healthz
    77          protocol: TCP
    78          containerPort: 8080
    79        - name: readiness
    80          protocol: TCP
    81          containerPort: 8081
    82        - name: metrics
    83          protocol: TCP
    84          containerPort: 8082
    85        env:
    86        - name: ENTERPRISE_UNIT
    87          value: "1"
    88        - name: TENANT
    89          value: "ghq_lab"
    90        - name: MESSAGE_ROUTING
    91          value: '{"routes":[{"id":"tlog", "topic":"tlog", "bulk_size": 10}, {"id":"public", "topic":"public", "bulk_size": 20}], "messages":[{"type": "tlog", "compression": false, "signing": false, "route": "tlog"}, {"type": "audit", "compression": false, "signing": false, "route": "public"}, {"type": "*", "compression": false, "signing": false, "route": "public"}]}'
    92        - name: TARGET_SETTINGS
    93          value: '{"kafka_endpoint":"redpanda.redpanda.svc.cluster.local:9092","security_protocol":"none"}'
    94        - name: GRPC_PORT
    95          value: "9092"
    96        - name: MSG_SERVICE_PORT
    97          value: "80"
    98        - name: LIVENESS_PORT
    99          value: "8080"
   100        - name: READINESS_PORT
   101          value: "8081"
   102        - name: PROMETHEUS_PORT
   103          value: "8082"
   104        - name: OUTBOX_PATH
   105          value: "/app/cmd/data-sync-messaging/outbox"
   106        - name: PARTITIONS
   107          value: "5"
   108        resources:
   109          limits:
   110            cpu: "500m"
   111            memory: 400Mi
   112          requests:
   113            cpu: 250m
   114            memory: 200Mi
   115        volumeMounts:
   116        - name: outbox
   117          mountPath: /app/cmd/data-sync-messaging/outbox
   118        livenessProbe:
   119          httpGet:
   120            port: 8080
   121            path: /healthz
   122          initialDelaySeconds: 5
   123          periodSeconds: 5
   124        readinessProbe:
   125          httpGet:
   126            port: 8081
   127            path: /readiness
   128          periodSeconds: 5
   129        imagePullPolicy: "IfNotPresent"
   130      imagePullSecrets:
   131      - name: edge-docker-pull-secret
   132      affinity:
   133        nodeAffinity:
   134          preferredDuringSchedulingIgnoredDuringExecution:
   135          - weight: 100
   136            preference:
   137              matchExpressions:
   138              - key: node.ncr.com/class
   139                operator: In
   140                values:
   141                - server
   142    metadata:
   143      labels:
   144        platform.edge.ncr.com/component: data-sync-messaging
   145      annotations:
   146        pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   147        pallet.edge.ncr.com/name: chirp
   148        pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   149        pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   150        pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
   151        pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   152  volumeClaimTemplates:
   153  - metadata:
   154      name: outbox
   155      labels:
   156        platform.edge.ncr.com/component: data-sync-messaging
   157    spec:
   158      resources:
   159        requests:
   160          storage: "10Gi"
   161      accessModes:
   162      - "ReadWriteOnce"
   163  serviceName: data-sync-messaging
   164  updateStrategy: {}
   165  selector:
   166    matchLabels:
   167      platform.edge.ncr.com/component: data-sync-messaging

View as plain text