You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/config/open.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ You can add one by annotating a service with the label {{.labelName}}:{{.addonNa
94
94
}
95
95
96
96
iflen(urlString) !=0 {
97
-
out.T(out.Celebrate, "Opening kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...", out.V{"namespace_name": namespace, "service_name": svc})
97
+
out.T(out.Celebrate, "Opening Kubernetes service {{.namespace_name}}/{{.service_name}} in default browser...", out.V{"namespace_name": namespace, "service_name": svc})
98
98
for_, url:=rangeurlString {
99
99
iferr:=browser.OpenURL(url); err!=nil {
100
100
exit.WithError(fmt.Sprintf("browser failed to open url %s", url), err)
@@ -106,7 +106,7 @@ You can add one by annotating a service with the label {{.labelName}}:{{.addonNa
106
106
}
107
107
108
108
funcinit() {
109
-
addonsOpenCmd.Flags().BoolVar(&addonsURLMode, "url", false, "Display the kubernetes addons URL in the CLI instead of opening it in the default browser")
109
+
addonsOpenCmd.Flags().BoolVar(&addonsURLMode, "url", false, "Display the Kubernetes addons URL in the CLI instead of opening it in the default browser")
110
110
addonsOpenCmd.Flags().BoolVar(&https, "https", false, "Open the addons URL with https instead of http")
111
111
addonsOpenCmd.Flags().IntVar(&wait, "wait", service.DefaultWait, "Amount of time to wait for service in seconds")
112
112
addonsOpenCmd.Flags().IntVar(&interval, "interval", service.DefaultInterval, "The time interval for each check that wait performs in seconds")
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/config/profile.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ import (
30
30
// ProfileCmd represents the profile command
31
31
varProfileCmd=&cobra.Command{
32
32
Use: "profile [MINIKUBE_PROFILE_NAME]. You can return to the default minikube profile by running `minikube profile default`",
33
-
Short: "Profile gets or sets the current minikube profile",
33
+
Short: "Get or list the the current profiles (clusters)",
34
34
Long: "profile sets the current minikube profile, or gets the current profile if no arguments are provided. This is used to run and manage multiple minikube instance. You can return to the default minikube profile by running `minikube profile default`",
RootCmd.PersistentFlags().StringP(config.ProfileName, "p", constants.DefaultClusterName, `The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently.`)
166
-
RootCmd.PersistentFlags().StringP(configCmd.Bootstrapper, "b", "kubeadm", "The name of the cluster bootstrapper that will set up the kubernetes cluster.")
166
+
RootCmd.PersistentFlags().StringP(configCmd.Bootstrapper, "b", "kubeadm", "The name of the cluster bootstrapper that will set up the Kubernetes cluster.")
@@ -101,7 +101,7 @@ You may select another namespace by using 'minikube service {{.service}} -n <nam
101
101
102
102
funcinit() {
103
103
serviceCmd.Flags().StringVarP(&namespace, "namespace", "n", "default", "The service namespace")
104
-
serviceCmd.Flags().BoolVar(&serviceURLMode, "url", false, "Display the kubernetes service URL in the CLI instead of opening it in the default browser")
104
+
serviceCmd.Flags().BoolVar(&serviceURLMode, "url", false, "Display the Kubernetes service URL in the CLI instead of opening it in the default browser")
105
105
serviceCmd.Flags().BoolVar(&https, "https", false, "Open the service URL with https instead of http")
106
106
serviceCmd.Flags().IntVar(&wait, "wait", service.DefaultWait, "Amount of time to wait for a service in seconds")
107
107
serviceCmd.Flags().IntVar(&interval, "interval", service.DefaultInterval, "The initial time interval for each check that wait performs in seconds")
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/start_flags.go
+4-4
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ func initMinikubeFlags() {
131
131
startCmd.Flags().String(criSocket, "", "The cri socket path to be used.")
132
132
startCmd.Flags().String(networkPlugin, "", "The name of the network plugin.")
133
133
startCmd.Flags().Bool(enableDefaultCNI, false, "Enable the default CNI plugin (/etc/cni/net.d/k8s.conf). Used in conjunction with \"--network-plugin=cni\".")
134
-
startCmd.Flags().StringSlice(waitComponents, kverify.DefaultWaitList, fmt.Sprintf("comma separated list of kubernetes components to verify and wait for after starting a cluster. defaults to %q, available options: %q . other acceptable values are 'all' or 'none', 'true' and 'false'", strings.Join(kverify.DefaultWaitList, ","), strings.Join(kverify.AllComponentsList, ",")))
134
+
startCmd.Flags().StringSlice(waitComponents, kverify.DefaultWaitList, fmt.Sprintf("comma separated list of Kubernetes components to verify and wait for after starting a cluster. defaults to %q, available options: %q . other acceptable values are 'all' or 'none', 'true' and 'false'", strings.Join(kverify.DefaultWaitList, ","), strings.Join(kverify.AllComponentsList, ",")))
135
135
startCmd.Flags().Duration(waitTimeout, 6*time.Minute, "max time to wait per Kubernetes core services to be healthy.")
136
136
startCmd.Flags().Bool(nativeSSH, true, "Use native Golang SSH client (default true). Set to 'false' to use the command line 'ssh' command when accessing the docker machine. Useful for the machine drivers when they will not start with 'Waiting for SSH'.")
137
137
startCmd.Flags().Bool(autoUpdate, true, "If set, automatically updates drivers to the latest version. Defaults to true.")
@@ -142,16 +142,16 @@ func initMinikubeFlags() {
142
142
startCmd.Flags().Bool(forceSystemd, false, "If set, force the container runtime to use sytemd as cgroup manager. Currently available for docker and crio. Defaults to false.")
143
143
}
144
144
145
-
// initKubernetesFlags inits the commandline flags for kubernetes related options
145
+
// initKubernetesFlags inits the commandline flags for Kubernetes related options
146
146
funcinitKubernetesFlags() {
147
-
startCmd.Flags().String(kubernetesVersion, "", fmt.Sprintf("The kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for %s, 'latest' for %s). Defaults to 'stable'.", constants.DefaultKubernetesVersion, constants.NewestKubernetesVersion))
147
+
startCmd.Flags().String(kubernetesVersion, "", fmt.Sprintf("The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for %s, 'latest' for %s). Defaults to 'stable'.", constants.DefaultKubernetesVersion, constants.NewestKubernetesVersion))
startCmd.Flags().String(featureGates, "", "A set of key=value pairs that describe feature gates for alpha/experimental features.")
154
-
startCmd.Flags().String(dnsDomain, constants.ClusterDNSDomain, "The cluster dns domain name used in the kubernetes cluster")
154
+
startCmd.Flags().String(dnsDomain, constants.ClusterDNSDomain, "The cluster dns domain name used in the Kubernetes cluster")
155
155
startCmd.Flags().Int(apiServerPort, constants.APIServerPort, "The apiserver listening port")
156
156
startCmd.Flags().String(apiServerName, constants.APIServerName, "The authoritative apiserver hostname for apiserver certificates and connectivity. This can be used if you want to make the apiserver available from outside the machine")
157
157
startCmd.Flags().StringArrayVar(&apiServerNames, "apiserver-names", nil, "A set of apiserver names which are used in the generated certificate for kubernetes. This can be used if you want to make the apiserver available from outside the machine")
Copy file name to clipboardExpand all lines: cmd/minikube/cmd/tunnel.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ var cleanup bool
42
42
// tunnelCmd represents the tunnel command
43
43
vartunnelCmd=&cobra.Command{
44
44
Use: "tunnel",
45
-
Short: "tunnel makes services of type LoadBalancer accessible on localhost",
45
+
Short: "Connect to LoadBalancer services",
46
46
Long: `tunnel creates a route to services deployed with type LoadBalancer and sets their Ingress to their ClusterIP. for a detailed example see https://minikube.sigs.k8s.io/docs/tasks/loadbalancer`,
0 commit comments