You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

k8s-6system.yaml 879 B

1 year ago
1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: ci4s-system-deployment
  5. namespace: argo
  6. spec:
  7. replicas: 1
  8. selector:
  9. matchLabels:
  10. app: ci4s-system
  11. template:
  12. metadata:
  13. labels:
  14. app: ci4s-system
  15. spec:
  16. containers:
  17. - name: ci4s-system
  18. image: ${k8s-6system-image}
  19. ports:
  20. - containerPort: 9201
  21. env:
  22. - name: TZ
  23. value: Asia/Shanghai
  24. - name: JAVA_TOOL_OPTIONS
  25. value: "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005"
  26. ---
  27. apiVersion: v1
  28. kind: Service
  29. metadata:
  30. name: ci4s-system-service
  31. namespace: argo
  32. spec:
  33. type: NodePort
  34. ports:
  35. - name: http
  36. port: 9201
  37. nodePort: 31207
  38. protocol: TCP
  39. - name: debug
  40. nodePort: 31220
  41. port: 5005
  42. protocol: TCP
  43. targetPort: 5005
  44. selector:
  45. app: ci4s-system