Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Expose a deployment

In order to expose a service we will issue the expose command:

> kubectl expose deployment <service> --type=<type> --name=<exposed_service_name>

...

We can now open our exposed service in a browser by issuing the following command:

> minikube service cloud


NOTE: A LoadBalancer type would refer to a load balancer running in a cloud provider's environment.

>> Should use in ingress.