1
0

service-mysql-for-apollo-test-beta-env.yaml 500 B

12345678910111213141516171819202122232425262728
  1. ---
  2. kind: Service
  3. apiVersion: v1
  4. metadata:
  5. namespace: sre
  6. name: service-mysql-for-apollo-test-beta-env
  7. labels:
  8. app: service-mysql-for-apollo-test-beta-env
  9. spec:
  10. ports:
  11. - protocol: TCP
  12. port: 3306
  13. targetPort: 3306
  14. type: ClusterIP
  15. sessionAffinity: None
  16. ---
  17. kind: Endpoints
  18. apiVersion: v1
  19. metadata:
  20. namespace: sre
  21. name: service-mysql-for-apollo-test-beta-env
  22. subsets:
  23. - addresses:
  24. - ip: your-mysql-addresses
  25. ports:
  26. - protocol: TCP
  27. port: 3306