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

21 lines
409 B

3 years ago
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: gva-web
  5. annotations:
  6. flipped-aurora/gin-vue-admin: ui
  7. github: "https://github.com/flipped-aurora/yibu.git"
  8. app.kubernetes.io/version: 0.0.1
  9. labels:
  10. app: gva-web
  11. version: gva-vue3
  12. spec:
  13. type: NodePort
  14. # type: ClusterIP
  15. ports:
  16. - name: http
  17. port: 8080
  18. targetPort: 8080
  19. selector:
  20. app: gva-web
  21. version: gva-vue3