Загрузка данных


dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/it-invest/backoffice/myinvestment/depo-invoice$ kubectl --context devstbl -n isys-myinvestment-dev-links \
>   get pods -l app=adapter-myinvestment-peinvest-appfarm-kafka -o wide
NAME                                                           READY   STATUS    RESTARTS   AGE   IP               NODE             NOMINATED NODE   READINESS GATES
adapter-myinvestment-peinvest-appfarm-kafka-6689765f4d-22sll   2/2     Running   0          20h   100.68.147.203   afs1app-wl-103   <none>           <none>
adapter-myinvestment-peinvest-appfarm-kafka-6689765f4d-94k7g   2/2     Running   0          20h   100.68.148.46    afs1app-wl-175   <none>           <none>
adapter-myinvestment-peinvest-appfarm-kafka-6689765f4d-k9w7r   2/2     Running   0          20h   100.68.153.16    afs1app-wl-171   <none>           <none>
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/it-invest/backoffice/myinvestment/depo-invoice$ kubectl --context devstbl -n isys-myinvestment-dev-links \
>   get deploy adapter-myinvestment-peinvest-appfarm-kafka -o yaml | \
>   grep -Ei -C 5 '9092|9093|9094|9095|kafka|bootstrap|security|ssl|sasl'
metadata:
  annotations:
    adapter-version: v4.0.1
    ci/commithash: 434062b6
    deployment.kubernetes.io/revision: "6"
    platformOperatorLastApplied: '{"metadata":{"name":"adapter-myinvestment-peinvest-appfarm-kafka","namespace":"isys-myinvestment-dev-links","creationTimestamp":null,"labels":{"adapter":"kafka-adapter","adapter-mode":"internal-access","app":"adapter-myinvestment-peinvest-appfarm-kafka","environment":"DEV","operator":"platform-operator"},"annotations":{"adapter-version":"v4.0.1","ci/commithash":"434062b6"}},"spec":{"replicas":3,"selector":{"matchLabels":{"adapter":"kafka-adapter","adapter-mode":"internal-access","app":"adapter-myinvestment-peinvest-appfarm-kafka","environment":"DEV","operator":"platform-operator"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"adapter":"kafka-adapter","adapter-mode":"internal-access","app":"adapter-myinvestment-peinvest-appfarm-kafka","environment":"DEV","operator":"platform-operator"},"annotations":{"adapter-version":"v4.0.1","ci/commithash":"434062b6","prometheus.io/path":"/metrics","prometheus.io/port":"8080","prometheus.io/scrape":"true","sidecar.istio.io/proxyCPU":"100m","sidecar.istio.io/proxyCPULimit":"500m","sidecar.istio.io/proxyMemory":"128Mi","sidecar.istio.io/proxyMemoryLimit":"512Mi"}},"spec":{"volumes":[{"name":"links-data","configMap":{"name":"adapter-myinvestment-peinvest-appfarm-kafka-data","defaultMode":420}},{"name":"oidc-secret","secret":{"secretName":"adapter-myinvestment-peinvest-appfarm-kafka-oidc-secret","defaultMode":420}}],"containers":[{"name":"adapter","image":"registry.rshbdev.ru/appfarm/platform/adapters/kafka-adapter:v4.0.1","ports":[{"name":"broker-9093","containerPort":9093},{"name":"broker-9094","containerPort":9094},{"name":"broker-9095","containerPort":9095},{"name":"http","containerPort":8080},{"name":"kafka","containerPort":9092}],"env":[{"name":"ADAPTER_HOST","value":"adapter-myinvestment-peinvest-appfarm-kafka.isys-myinvestment-dev-links"},{"name":"ADAPTER_NAME","value":"adapter-myinvestment-peinvest-appfarm-kafka"},{"name":"APP_ADAPTER_MODE","value":"link-proxy"},{"name":"APP_DYNAMIC_ADVERTISED_LISTENER","value":"adapter-myinvestment-peinvest-appfarm-kafka.isys-myinvestment-dev-links.svc.cluster.local"},{"name":"APP_DYNAMIC_SEQUENTIAL_MIN_PORT","value":"9093"},{"name":"APP_ENABLE_REQUEST_FILTERS","value":"false"},{"name":"APP_ENVIRONMENT","value":"DEV"},{"name":"APP_HOST_IP","valueFrom":{"fieldRef":{"fieldPath":"status.hostIP"}}},{"name":"APP_KAFKA_AUTH_ENABLED","value":"true"},{"name":"APP_KAFKA_BOOTSTRAP_SERVER","value":"kafka.peinvest-appfarm-kafka.isys-myinvestment-dev.rshbdev.ru:9092"},{"name":"APP_LOG_FORMAT","value":"json"},{"name":"APP_OIDC_CONFIG_PATH","value":"/oidc/oidc-credentials.json"},{"name":"APP_TRANSPORT_LOG_LEVEL","value":"off"},{"name":"APP_TRANSPORT_LOG_OUTPUT","value":"off"},{"name":"HTTP_LOG_FORWARDER_HOST","value":"$(APP_HOST_IP)"},{"name":"HTTP_LOG_FORWARDER_URL","value":"http://$(HTTP_LOG_FORWARDER_HOST):9000/"},{"name":"NODE_NAME","valueFrom":{"fieldRef":{"fieldPath":"spec.nodeName"}}},{"name":"POD_IP","valueFrom":{"fieldRef":{"fieldPath":"status.podIP"}}},{"name":"POD_NAME","valueFrom":{"fieldRef":{"fieldPath":"metadata.name"}}},{"name":"POD_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"TCP_LOG_FORWARDER_DESTINATION","value":"$(APP_HOST_IP):9010"},{"name":"UDP_LOG_FORWARDER_HOST","value":"$(APP_HOST_IP)"},{"name":"UDP_LOG_FORWARDER_PORT","value":"20001"}],"resources":{"limits":{"cpu":"2","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}},"volumeMounts":[{"name":"links-data","mountPath":"/links"},{"name":"oidc-secret","mountPath":"/oidc"}],"livenessProbe":{"httpGet":{"path":"/health/liveness","port":8080,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":1,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/health/readiness","port":8080,"scheme":"HTTP"},"initialDelaySeconds":15,"timeoutSeconds":1,"periodSeconds":5,"successThreshold":1,"failureThreshold":3},"imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["ALL"]},"privileged":false,"runAsUser":1001,"runAsGroup":1001,"runAsNonRoot":true,"readOnlyRootFilesystem":false,"allowPrivilegeEscalation":false,"procMount":"Default"}}],"nodeSelector":{"workload.topology.app.farm/zone":"rumsk1"},"securityContext":{"runAsUser":1001,"runAsGroup":1001,"runAsNonRoot":true,"fsGroup":1001,"fsGroupChangePolicy":"OnRootMismatch"},"tolerations":[{"key":"workload.topology.app.farm/zone","operator":"Exists","effect":"NoSchedule"}],"priorityClassName":"platform-critical"}},"strategy":{"type":"RollingUpdate"}},"status":{}}'
  creationTimestamp: "2026-01-22T08:54:28Z"
  generation: 6
  labels:
    adapter: kafka-adapter
    adapter-mode: internal-access
    app: adapter-myinvestment-peinvest-appfarm-kafka
    environment: DEV
    operator: platform-operator
  name: adapter-myinvestment-peinvest-appfarm-kafka
  namespace: isys-myinvestment-dev-links
  resourceVersion: "25528780500"
  uid: 99754aa0-ec22-477f-b53b-884afdb0c7c4
spec:
  progressDeadlineSeconds: 600
  replicas: 3
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      adapter: kafka-adapter
      adapter-mode: internal-access
      app: adapter-myinvestment-peinvest-appfarm-kafka
      environment: DEV
      operator: platform-operator
  strategy:
    rollingUpdate:
      maxSurge: 25%
--
        sidecar.istio.io/proxyCPULimit: 500m
        sidecar.istio.io/proxyMemory: 128Mi
        sidecar.istio.io/proxyMemoryLimit: 512Mi
      creationTimestamp: null
      labels:
        adapter: kafka-adapter
        adapter-mode: internal-access
        app: adapter-myinvestment-peinvest-appfarm-kafka
        environment: DEV
        operator: platform-operator
    spec:
      containers:
      - env:
        - name: ADAPTER_HOST
          value: adapter-myinvestment-peinvest-appfarm-kafka.isys-myinvestment-dev-links
        - name: ADAPTER_NAME
          value: adapter-myinvestment-peinvest-appfarm-kafka
        - name: APP_ADAPTER_MODE
          value: link-proxy
        - name: APP_DYNAMIC_ADVERTISED_LISTENER
          value: adapter-myinvestment-peinvest-appfarm-kafka.isys-myinvestment-dev-links.svc.cluster.local
        - name: APP_DYNAMIC_SEQUENTIAL_MIN_PORT
          value: "9093"
        - name: APP_ENABLE_REQUEST_FILTERS
          value: "false"
        - name: APP_ENVIRONMENT
          value: DEV
        - name: APP_HOST_IP
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: status.hostIP
        - name: APP_KAFKA_AUTH_ENABLED
          value: "true"
        - name: APP_KAFKA_BOOTSTRAP_SERVER
          value: kafka.peinvest-appfarm-kafka.isys-myinvestment-dev.rshbdev.ru:9092
        - name: APP_LOG_FORMAT
          value: json
        - name: APP_OIDC_CONFIG_PATH
          value: /oidc/oidc-credentials.json
        - name: APP_TRANSPORT_LOG_LEVEL
--
          value: $(APP_HOST_IP):9010
        - name: UDP_LOG_FORWARDER_HOST
          value: $(APP_HOST_IP)
        - name: UDP_LOG_FORWARDER_PORT
          value: "20001"
        image: registry.rshbdev.ru/appfarm/platform/adapters/kafka-adapter:v4.0.1
        imagePullPolicy: Always
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /health/liveness
--
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 1
        name: adapter
        ports:
        - containerPort: 9093
          name: broker-9093
          protocol: TCP
        - containerPort: 9094
          name: broker-9094
          protocol: TCP
        - containerPort: 9095
          name: broker-9095
          protocol: TCP
        - containerPort: 8080
          name: http
          protocol: TCP
        - containerPort: 9092
          name: kafka
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /health/readiness
--
            cpu: "2"
            memory: 2Gi
          requests:
            cpu: 100m
            memory: 512Mi
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          privileged: false
--
      nodeSelector:
        workload.topology.app.farm/zone: rumsk1
      priorityClassName: platform-critical
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext:
        fsGroup: 1001
        fsGroupChangePolicy: OnRootMismatch
        runAsGroup: 1001
        runAsNonRoot: true
        runAsUser: 1001
--
        key: workload.topology.app.farm/zone
        operator: Exists
      volumes:
      - configMap:
          defaultMode: 420
          name: adapter-myinvestment-peinvest-appfarm-kafka-data
        name: links-data
      - name: oidc-secret
        secret:
          defaultMode: 420
          secretName: adapter-myinvestment-peinvest-appfarm-kafka-oidc-secret
status:
  availableReplicas: 3
  conditions:
  - lastTransitionTime: "2026-08-27T10:02:28Z"
    lastUpdateTime: "2026-08-27T10:02:28Z"
--
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2026-01-22T08:54:29Z"
    lastUpdateTime: "2026-09-17T16:12:41Z"
    message: ReplicaSet "adapter-myinvestment-peinvest-appfarm-kafka-6689765f4d" has
      successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 6
dmitriev-aal@VDI-Dmitriev-A:~/Desktop/rshbintech/it-invest/backoffice/myinvestment/depo-invoice$