Difference between revisions of "Minikube service"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{lc}}
+
{{lc}}<code>minikube service</code>
  
 +
[[minikube service list]]
 +
minikube service --all
  
  minikube service
+
  ❗  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.
  
 
   minikube service
 
   minikube service
Line 8: Line 10:
 
  ❌  Exiting due to MK_USAGE: You must specify service name(s) or --all  
 
  ❌  Exiting due to MK_USAGE: You must specify service name(s) or --all  
  
 +
<pre>
 +
minikube service --help
 +
Returns the Kubernetes URL(s) for service(s) in your local cluster. In the case of multiple URLs
 +
they will be printed one at a time.
 +
 +
Available Commands:
 +
  list          Lists the URLs for the services in your local cluster
 +
 +
Options:
 +
    --all=false:
 +
Forwards all services in a namespace (defaults to "false")
 +
 +
    --https=false:
 +
Open the service URL with https instead of http (defaults to "false")
 +
 +
    --interval=1:
 +
The initial time interval for each check that wait performs in seconds
 +
 +
    -n, --namespace='default':
 +
The service namespace
 +
 +
    --url=false:
 +
Display the Kubernetes service URL in the CLI instead of opening it in the default browser
 +
 +
    --wait=2:
 +
Amount of time to wait for a service in seconds
 +
 +
Usage:
 +
  minikube service [flags] SERVICE [options]
 +
 +
Use "minikube service <command> --help" for more information about a given command.
 +
Use "minikube options" for a list of global command-line options (applies to all commands).
 +
</pre>
  
 
  [[minikube ip]]
 
  [[minikube ip]]
  
 +
== See also ==
 +
* {{minikube}}
  
{{minikube}}
+
[[Category:minikube]]

Latest revision as of 07:40, 9 July 2024

minikube service

minikube service list
minikube service --all
❗  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.
 minikube service

❌  Exiting due to MK_USAGE: You must specify service name(s) or --all 
 minikube service --help
Returns the Kubernetes URL(s) for service(s) in your local cluster. In the case of multiple URLs
they will be printed one at a time.

Available Commands:
  list          Lists the URLs for the services in your local cluster

Options:
    --all=false:
	Forwards all services in a namespace (defaults to "false")

    --https=false:
	Open the service URL with https instead of http (defaults to "false")

    --interval=1:
	The initial time interval for each check that wait performs in seconds

    -n, --namespace='default':
	The service namespace

    --url=false:
	Display the Kubernetes service URL in the CLI instead of opening it in the default browser

    --wait=2:
	Amount of time to wait for a service in seconds

Usage:
  minikube service [flags] SERVICE [options]

Use "minikube service <command> --help" for more information about a given command.
Use "minikube options" for a list of global command-line options (applies to all commands).
minikube ip

See also[edit]

Advertising: