@samara
To access Minikube from outside, you can follow these steps:
These steps should allow you to access Minikube from outside and interact with the Kubernetes cluster or deployed services as needed.
@samara
To access Minikube from outside, follow these steps:
1
|
minikube start --vm-driver=<driver> --host-only-cidr=<IP_address>/24 |
Replace <driver>
with your preferred driver (e.g. VirtualBox, HyperKit, etc.) and <IP_address>
with a desired IP address.
1
|
minikube ip |
This command will provide you with the IP address that can be used to access Minikube from outside.
1
|
minikube dashboard --url |
Copy the URL provided in the output and paste it into a browser to access the Kubernetes dashboard.
1
|
kubectl port-forward service/my-service <local_port>:<service_port> |
Replace <local_port>
with the desired local port on your machine and <service_port>
with the port exposed by the service.
By following these steps, you should be able to access Minikube from outside and interact with the Kubernetes cluster or deployed services as needed.