PHP容器化demo
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.

24 lines
415 B

3 years ago
  1. # gq-hello-service.yaml
  2. #
  3. # @version 180719:1
  4. # @author zhangxuhong <zhangxuhong@xitu.io>
  5. kind: Service
  6. apiVersion: v1
  7. metadata:
  8. name: gq-hello
  9. labels:
  10. name: gq-hello
  11. role: backend
  12. pl: c
  13. application: nginx
  14. version: 1.14.0
  15. division: infrastructure
  16. spec:
  17. ports:
  18. - port: 9000
  19. targetPort: gq-hello
  20. protocol: TCP
  21. name: gq-hello
  22. selector:
  23. name: gq-hello