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-5auth.yaml 588 B

1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: ci4s-auth-deployment
  5. namespace: argo
  6. spec:
  7. replicas: 1
  8. selector:
  9. matchLabels:
  10. app: ci4s-auth
  11. template:
  12. metadata:
  13. labels:
  14. app: ci4s-auth
  15. spec:
  16. containers:
  17. - name: ci4s-auth
  18. image: 172.20.32.187/ci4s/ci4s-auth:20240401
  19. ports:
  20. - containerPort: 9200
  21. ---
  22. apiVersion: v1
  23. kind: Service
  24. metadata:
  25. name: ci4s-auth-service
  26. namespace: argo
  27. spec:
  28. type: NodePort
  29. ports:
  30. - port: 9200
  31. nodePort: 31206
  32. protocol: TCP
  33. selector:
  34. app: ci4s-auth