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-7management.yaml 843 B

1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: ci4s-management-platform-deployment
  5. namespace: argo
  6. spec:
  7. replicas: 1
  8. selector:
  9. matchLabels:
  10. app: ci4s-management-platform
  11. template:
  12. metadata:
  13. labels:
  14. app: ci4s-management-platform
  15. spec:
  16. containers:
  17. - name: ci4s-management-platform
  18. image: 172.20.32.187/ci4s/ci4s-managent:202409181159
  19. ports:
  20. - containerPort: 9213
  21. env:
  22. - name: http_proxy
  23. value: "http://172.20.32.253:3128"
  24. - name: https_proxy
  25. value: "http://172.20.32.253:3128"
  26. ---
  27. apiVersion: v1
  28. kind: Service
  29. metadata:
  30. name: ci4s-management-platform-service
  31. namespace: argo
  32. spec:
  33. type: NodePort
  34. ports:
  35. - port: 9213
  36. nodePort: 31208
  37. protocol: TCP
  38. selector:
  39. app: ci4s-management-platform