apiVersion: v1 kind: Service metadata: name: phpmyadmin spec: ipFamilyPolicy: PreferDualStack selector: name: phpmyadmin ports: - protocol: TCP # The service listens to incoming requests on this port ... port: 50003 # And forwards them to the container which listens on that port. targetPort: 80