mariadb-svc.yaml 331 B

1234567891011121314
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: mariadb
  5. spec:
  6. ipFamilyPolicy: PreferDualStack
  7. selector:
  8. name: mariadb
  9. ports:
  10. - protocol: TCP
  11. # The service listens to incoming requests on this port ...
  12. port: 3306
  13. # And forwards them to the container which listens on that port.
  14. targetPort: 3306