Difference between revisions of "Minikube config"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 +
[[minikube config set]] vm-driver kvm2
 +
 +
[[minikube config view]]
 +
(no output)
 +
 +
minikube config view --help
 +
Display values currently set in the minikube config file.
 +
 +
Options:
 +
      --format='- {{.ConfigKey}}: {{.ConfigValue}}
 +
': Go template format string for the config view output.  The format for Go templates can be found here:
 +
https://golang.org/pkg/text/template/
 +
For the list of accessible variables for the template, see the struct values here:
 +
https://godoc.org/k8s.io/minikube/cmd/minikube/cmd/config#ConfigViewTemplate
 +
 +
Usage:
 +
  minikube config view [flags] [options]
 +
 +
Use "minikube options" for a list of global command-line options (applies to all commands).
 +
  
  
minikube config set vm-driver kvm2
 
  
minikube config view
 
(no output)
 
  
 
  minikube config view
 
  minikube config view
Line 17: Line 35:
 
  F0324 14:41:37.524649  36642 root.go:71] unknown command "config" for "minikube"
 
  F0324 14:41:37.524649  36642 root.go:71] unknown command "config" for "minikube"
  
 
+
== Related terms ==
 +
* <code>[[minikube start]]</code>
 +
* <code>[[minikube options]]</code>
 +
* <code>[[~/.minikube/config/config.json]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{minikube config}}
 
* {{minikube}}
 
* {{minikube}}
  
 
[[Category:Minikube]]
 
[[Category:Minikube]]

Latest revision as of 13:34, 17 January 2024

minikube config set vm-driver kvm2
minikube config view 
(no output)
minikube config view --help
Display values currently set in the minikube config file.

Options:
      --format='- Template:.ConfigKey: Template:.ConfigValue
': Go template format string for the config view output.  The format for Go templates can be found here:
https://golang.org/pkg/text/template/
For the list of accessible variables for the template, see the struct values here:
https://godoc.org/k8s.io/minikube/cmd/minikube/cmd/config#ConfigViewTemplate

Usage:
  minikube config view [flags] [options]

Use "minikube options" for a list of global command-line options (applies to all commands).



minikube config view
Error: unknown command "config" for "minikube"
Run 'minikube --help' for usage.
F0324 14:32:38.181245   20683 root.go:71] unknown command "config" for "minikube"


minikube config set vm-driver kvm
Error: unknown command "config" for "minikube"
Run 'minikube --help' for usage.
F0324 14:41:37.524649   36642 root.go:71] unknown command "config" for "minikube"

Related terms[edit]

See also[edit]

Advertising: