2. Enable ingress-controller in minikube by ```minikube addons enable ingress```
3. Have gone through the below solution
3.1 official solution: https://minikube.sigs.k8s.io/docs/tutorials/nginx_tcp_udp_ingress/
3.2 Solutions provided by the commentators
https://github.com/kubernetes/minikube/issues/2840
3. Run ```minikube tunnel``` to enable the access
4. Connect mysql through localhost:3306
5. Cannot connect
What Happened?
Description: Ingress is not natively support routing of udp/tcp, so need to handle another way. But this is not work in minikube of below procedure.
Procedure of reproduce the issue:
apiVersion: v1 kind: Service metadata: name: mysql-service namespace: my-test-app spec: type: ClusterIP selector: app: my-mysql ports:
Attach the log file
1
Operating System
macOS (Default)
Driver
Docker