...

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

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  labels:
    20    platform.edge.ncr.com/component: data-sync-messaging
    21  name: data-sync-messaging
    22  namespace: 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  internalTrafficPolicy: Local
    32  ports:
    33  - name: grpc
    34    port: 9092
    35    protocol: TCP
    36    targetPort: 9092
    37  - name: http
    38    port: 80
    39    protocol: TCP
    40    targetPort: 80
    41  - name: prometheus
    42    port: 8082
    43    protocol: TCP
    44    targetPort: 8082
    45  selector:
    46    platform.edge.ncr.com/component: data-sync-messaging
    47  type: ClusterIP
    48---
    49apiVersion: apps/v1
    50kind: StatefulSet
    51metadata:
    52  name: data-sync-messaging
    53  namespace: data-sync-messaging
    54  labels:
    55    platform.edge.ncr.com/component: data-sync-messaging
    56  annotations:
    57    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
    58    pallet.edge.ncr.com/name: chirp
    59    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
    60    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
    61    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
    62    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
    63spec:
    64  replicas: 1
    65  template:
    66    spec:
    67      containers:
    68      - name: data-sync-messaging
    69        image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/data-sync-messaging@sha256:855d26ac7317bded9f5e95d4a6799798d87de92c575e0b44a537439b0690b8ce
    70        ports:
    71        - name: grpc
    72          protocol: TCP
    73          containerPort: 9092
    74        - name: http
    75          protocol: TCP
    76          containerPort: 80
    77        - name: healthz
    78          protocol: TCP
    79          containerPort: 8080
    80        - name: readiness
    81          protocol: TCP
    82          containerPort: 8081
    83        - name: metrics
    84          protocol: TCP
    85          containerPort: 8082
    86        env:
    87        - name: ENTERPRISE_UNIT
    88          value: "1"
    89        - name: TENANT
    90          value: "ghq_lab"
    91        - name: MESSAGE_ROUTING
    92          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"}]}'
    93        - name: TARGET_SETTINGS
    94          value: '{"kafka_endpoint":"redpanda.redpanda.svc.cluster.local:9092","security_protocol":"none"}'
    95        - name: GRPC_PORT
    96          value: "9092"
    97        - name: MSG_SERVICE_PORT
    98          value: "80"
    99        - name: LIVENESS_PORT
   100          value: "8080"
   101        - name: READINESS_PORT
   102          value: "8081"
   103        - name: PROMETHEUS_PORT
   104          value: "8082"
   105        - name: OUTBOX_PATH
   106          value: "/app/cmd/data-sync-messaging/outbox"
   107        - name: PARTITIONS
   108          value: "5"
   109        resources:
   110          limits:
   111            cpu: "500m"
   112            memory: 400Mi
   113          requests:
   114            cpu: 250m
   115            memory: 200Mi
   116        volumeMounts:
   117        - name: outbox
   118          mountPath: /app/cmd/data-sync-messaging/outbox
   119        livenessProbe:
   120          httpGet:
   121            port: 8080
   122            path: /healthz
   123          initialDelaySeconds: 5
   124          periodSeconds: 5
   125        readinessProbe:
   126          httpGet:
   127            port: 8081
   128            path: /readiness
   129          periodSeconds: 5
   130        imagePullPolicy: "IfNotPresent"
   131      imagePullSecrets:
   132      - name: edge-docker-pull-secret
   133      affinity:
   134        nodeAffinity:
   135          preferredDuringSchedulingIgnoredDuringExecution:
   136          - weight: 100
   137            preference:
   138              matchExpressions:
   139              - key: node.ncr.com/class
   140                operator: In
   141                values:
   142                - server
   143    metadata:
   144      labels:
   145        platform.edge.ncr.com/component: data-sync-messaging
   146      annotations:
   147        pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   148        pallet.edge.ncr.com/name: chirp
   149        pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   150        pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   151        pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
   152        pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   153  volumeClaimTemplates:
   154  - metadata:
   155      name: outbox
   156      labels:
   157        platform.edge.ncr.com/component: data-sync-messaging
   158    spec:
   159      resources:
   160        requests:
   161          storage: "10Gi"
   162      accessModes:
   163      - "ReadWriteOnce"
   164  serviceName: data-sync-messaging
   165  updateStrategy: {}
   166  selector:
   167    matchLabels:
   168      platform.edge.ncr.com/component: data-sync-messaging
   169---
   170apiVersion: edge.ncr.com/v1alpha1
   171kind: Persistence
   172metadata:
   173  name: data-sync-messaging
   174  namespace: data-sync-messaging
   175  annotations:
   176    pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
   177    pallet.edge.ncr.com/name: chirp
   178    pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
   179    pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
   180    pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-data-sync'
   181    pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
   182  labels: {}
   183spec:
   184  statefulSet:
   185    apiVersion: apps/v1
   186    kind: StatefulSet
   187    metadata:
   188      name: data-sync-messaging
   189      namespace: data-sync-messaging
   190      labels:
   191        platform.edge.ncr.com/component: data-sync-messaging
   192    spec:
   193      replicas: 1
   194      selector:
   195        matchLabels:
   196          platform.edge.ncr.com/component: data-sync-messaging
   197      template:
   198        metadata:
   199          labels:
   200            platform.edge.ncr.com/component: data-sync-messaging
   201        spec:
   202          containers:
   203          - name: data-sync-messaging
   204            image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads/data-sync-messaging@sha256:855d26ac7317bded9f5e95d4a6799798d87de92c575e0b44a537439b0690b8ce
   205            ports:
   206            - name: grpc
   207              protocol: TCP
   208              containerPort: 9092
   209            - name: http
   210              protocol: TCP
   211              containerPort: 80
   212            - name: healthz
   213              protocol: TCP
   214              containerPort: 8080
   215            - name: readiness
   216              protocol: TCP
   217              containerPort: 8081
   218            - name: metrics
   219              protocol: TCP
   220              containerPort: 8082
   221            env:
   222            - name: ENTERPRISE_UNIT
   223              value: "1"
   224            - name: TENANT
   225              value: "ghq_lab"
   226            - name: MESSAGE_ROUTING
   227              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"}]}'
   228            - name: TARGET_SETTINGS
   229              value: '{"kafka_endpoint":"redpanda.redpanda.svc.cluster.local:9092","security_protocol":"none"}'
   230            - name: GRPC_PORT
   231              value: "9092"
   232            - name: MSG_SERVICE_PORT
   233              value: "80"
   234            - name: LIVENESS_PORT
   235              value: "8080"
   236            - name: READINESS_PORT
   237              value: "8081"
   238            - name: PROMETHEUS_PORT
   239              value: "8082"
   240            - name: OUTBOX_PATH
   241              value: "/app/cmd/data-sync-messaging/outbox"
   242            - name: PARTITIONS
   243              value: "5"
   244            resources:
   245              limits:
   246                cpu: "500m"
   247                memory: 400Mi
   248              requests:
   249                cpu: 250m
   250                memory: 200Mi
   251            volumeMounts:
   252            - name: outbox
   253              mountPath: /app/cmd/data-sync-messaging/outbox
   254            livenessProbe:
   255              httpGet:
   256                port: 8080
   257                path: /healthz
   258              initialDelaySeconds: 5
   259              periodSeconds: 5
   260            readinessProbe:
   261              httpGet:
   262                port: 8081
   263                path: /readiness
   264              periodSeconds: 5
   265            imagePullPolicy: "IfNotPresent"
   266          imagePullSecrets:
   267          - name: edge-docker-pull-secret
   268      volumeClaimTemplates:
   269      - metadata:
   270          name: outbox
   271          labels:
   272            platform.edge.ncr.com/component: data-sync-messaging
   273        spec:
   274          resources:
   275            requests:
   276              storage: "10Gi"
   277          accessModes:
   278          - "ReadWriteOnce"
   279      serviceName: data-sync-messaging
   280      updateStrategy: {}

View as plain text