gateway.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. kind: Deployment
  2. apiVersion: apps/v1
  3. metadata:
  4. name: data-collector-gateway
  5. namespace: proj-data-collector
  6. labels:
  7. app: data-collector-gateway
  8. annotations:
  9. deployment.kubernetes.io/revision: '6'
  10. kubesphere.io/creator: admin
  11. spec:
  12. replicas: 1
  13. selector:
  14. matchLabels:
  15. app: data-collector-gateway
  16. template:
  17. metadata:
  18. creationTimestamp: null
  19. labels:
  20. app: data-collector-gateway
  21. annotations:
  22. kubesphere.io/creator: admin
  23. spec:
  24. containers:
  25. - name: container-crarci
  26. image: >-
  27. dev.data-turing.cn:14443/dieteng/data-collector-gateway:20260624082520
  28. ports:
  29. - name: http-8000
  30. containerPort: 8000
  31. protocol: TCP
  32. - name: udp-47808
  33. containerPort: 47808
  34. protocol: UDP
  35. resources: {}
  36. terminationMessagePath: /dev/termination-log
  37. terminationMessagePolicy: File
  38. imagePullPolicy: IfNotPresent
  39. restartPolicy: Always
  40. terminationGracePeriodSeconds: 30
  41. dnsPolicy: ClusterFirst
  42. serviceAccountName: default
  43. serviceAccount: default
  44. securityContext: {}
  45. imagePullSecrets:
  46. - name: registry-harbor
  47. schedulerName: default-scheduler
  48. strategy:
  49. type: RollingUpdate
  50. rollingUpdate:
  51. maxUnavailable: 25%
  52. maxSurge: 25%
  53. revisionHistoryLimit: 10
  54. progressDeadlineSeconds: 600
  55. kind: Service
  56. apiVersion: v1
  57. metadata:
  58. name: data-collector-gateway-svc
  59. namespace: proj-data-collector
  60. labels:
  61. app: data-collector-gateway-svc
  62. annotations:
  63. kubesphere.io/creator: admin
  64. spec:
  65. ports:
  66. - name: http-8000
  67. protocol: TCP
  68. port: 8000
  69. targetPort: 8000
  70. nodePort: 49328
  71. selector:
  72. app: data-collector-gateway
  73. clusterIP: 10.233.53.204
  74. clusterIPs:
  75. - 10.233.53.204
  76. type: NodePort
  77. sessionAffinity: None
  78. externalTrafficPolicy: Cluster
  79. ipFamilies:
  80. - IPv4
  81. ipFamilyPolicy: SingleStack
  82. internalTrafficPolicy: Cluster
  83. kind: Service
  84. apiVersion: v1
  85. metadata:
  86. name: data-collector-gateway-udp-svc
  87. namespace: proj-data-collector
  88. annotations:
  89. kubesphere.io/creator: admin
  90. spec:
  91. ports:
  92. - name: udp-47808
  93. protocol: UDP
  94. port: 47808
  95. targetPort: 47808
  96. nodePort: 30730
  97. selector:
  98. app: data-collector-gateway
  99. clusterIP: 10.233.36.239
  100. clusterIPs:
  101. - 10.233.36.239
  102. type: NodePort
  103. sessionAffinity: None
  104. externalTrafficPolicy: Cluster
  105. ipFamilies:
  106. - IPv4
  107. ipFamilyPolicy: SingleStack
  108. internalTrafficPolicy: Cluster