user-mysql-service.yaml 188 B

123456789101112
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: user-mysql-service
  5. spec:
  6. selector:
  7. name: user-mysql
  8. ports:
  9. - protocol: TCP
  10. port: 3306
  11. targetPort: 3306
  12. name: user-mysql-tcp