id = "minikube" name = "minikube" homepage = "https://minikube.sigs.k8s.io" description = "minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows." # The apple-touch-icon from the project's homepage. icon = "https://minikube.sigs.k8s.io/favicons/apple-touch-icon-180x180.png" executables = ["minikube"] [dotfiles] # pkg/minikube/localpath/localpath.go: ConfigFile() returns # MakeMiniPath("config", "config.json"), and MiniPath() is $MINIKUBE_HOME # (defaulting to the home directory) plus ".minikube". This is the global # config the `minikube config set` command writes; # https://minikube.sigs.k8s.io/docs/handbook/config/ describes the precedence # around it. # # Nothing else under ~/.minikube is configuration: profiles/ is per-cluster # state, cache/ holds the downloaded ISO and preloaded images, machines/ is # libmachine's VM state and logs/ is the audit log. paths = ["~/.minikube/config/config.json"] exclude = [] # The cluster PKI minikube generates on first start. # pkg/minikube/bootstrapper/certs.go builds them from localpath.MiniPath(): # caKey = /ca.key and proxyKey = /proxy-client-ca.key, and # per profile localpath.ClientKey(name) = /profiles//client.key # with /client.key as the legacy location it still falls back to, # beside /proxy-client.key. Whoever holds ca.key can mint an admin # credential for the cluster. secret = [ "~/.minikube/ca.key", "~/.minikube/proxy-client-ca.key", "~/.minikube/client.key", "~/.minikube/profiles/*/client.key", "~/.minikube/profiles/*/proxy-client.key", ] # Read once per command by a CLI that then exits. side_effect = false # No machine_lines: config.json holds the defaults a user picked once — driver, # cpus, memory, kubernetes-version — and those are choices worth carrying, not # facts about one disk. [commands] format = 1 label = "minikube" description = "Manage local Kubernetes clusters. Pick start, status, stop or delete from the subcommand tabs; other subcommands are left out." quality = "ai-draft" base = "fig:minikube" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minikube.ts" license = "MIT" [[commands.subcommand]] path = ["start"] label = "Start a cluster" description = "Create or start a local Kubernetes cluster. Addons, networking and VM-driver specific flags are left out." parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minikube.ts" license = "MIT" [[commands.subcommand.field]] id = "driver" label = "Driver" type = "string" option = ["--driver"] suggestions = [{ value = "docker", label = "docker" }, { value = "podman", label = "podman" }, { value = "virtualbox", label = "virtualbox" }, { value = "vmware", label = "vmware" }, { value = "parallels", label = "parallels" }, { value = "hyperkit", label = "hyperkit" }] sources = ["fig"] [[commands.subcommand.field]] id = "cpus" label = "CPUs" type = "string" option = ["--cpus"] suggestions = [{ value = "max", label = "max" }] sources = ["fig"] [[commands.subcommand.field]] id = "memory" label = "Memory (e.g. 4g)" type = "string" option = ["--memory"] sources = ["fig"] [[commands.subcommand.field]] id = "kubernetes_version" label = "Kubernetes version" type = "string" option = ["--kubernetes-version"] sources = ["fig"] [[commands.subcommand.field]] id = "container_runtime" label = "Container runtime" type = "string" option = ["--container-runtime"] suggestions = [{ value = "docker", label = "docker" }, { value = "cri-o", label = "cri-o" }, { value = "containerd", label = "containerd" }] sources = ["fig"] [[commands.subcommand.field]] id = "cni" label = "CNI plug-in" type = "string" option = ["--cni"] suggestions = [{ value = "auto", label = "auto" }, { value = "bridge", label = "bridge" }, { value = "cilium", label = "cilium" }, { value = "flannel", label = "flannel" }, { value = "kindnet", label = "kindnet" }] sources = ["fig"] [[commands.subcommand.field]] id = "nodes" label = "Number of nodes" type = "integer" option = ["--nodes", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "dry_run" label = "Dry run (validate only)" type = "boolean" option = ["--dry-run"] sources = ["fig"] [[commands.subcommand.field]] id = "force" label = "Force possibly dangerous operations" type = "boolean" option = ["--force"] sources = ["fig"] [[commands.subcommand.task]] id = "start" label = "Start with defaults" fields = ["driver", "cpus", "memory"] required = [] [[commands.subcommand.task]] id = "preview" label = "Dry-run start" fields = ["driver", "dry_run"] required = [] set = { dry_run = [true] } [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["driver", "cpus", "memory", "kubernetes_version", "nodes"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["container_runtime", "cni", "dry_run", "force"] [[commands.subcommand]] path = ["status"] label = "Cluster status" description = "Show the status of the local cluster." parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minikube.ts" license = "MIT" [[commands.subcommand.field]] id = "output" label = "Output format" type = "string" option = ["--output", "-o"] suggestions = [{ value = "text", label = "text" }, { value = "json", label = "json" }] sources = ["fig"] [[commands.subcommand.field]] id = "node" label = "Node" type = "string" option = ["--node", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "watch" label = "Keep watching" type = "boolean" option = ["--watch", "-w"] sources = ["fig"] [[commands.subcommand.task]] id = "status" label = "Show status" fields = ["output", "node"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["output", "node", "watch"] [[commands.subcommand]] path = ["stop"] label = "Stop a cluster" description = "Stop the running local cluster without deleting it." parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minikube.ts" license = "MIT" [[commands.subcommand.field]] id = "all" label = "Stop all profiles" type = "boolean" option = ["--all"] sources = ["fig"] [[commands.subcommand.field]] id = "schedule" label = "Stop after a delay (e.g. 5m)" type = "string" option = ["--schedule"] sources = ["fig"] [[commands.subcommand.field]] id = "cancel" label = "Cancel a scheduled stop" type = "boolean" option = ["--cancel-scheduled"] sources = ["fig"] [[commands.subcommand.task]] id = "stop" label = "Stop" fields = ["all"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["all", "schedule", "cancel"] [[commands.subcommand]] path = ["delete"] label = "Delete a cluster" description = "Delete the local cluster." parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/minikube.ts" license = "MIT" [[commands.subcommand.field]] id = "all" label = "Delete all profiles" type = "boolean" option = ["--all"] effect = "delete" sources = ["fig"] [[commands.subcommand.field]] id = "purge" label = "Also delete the ~/.minikube folder" type = "boolean" option = ["--purge"] effect = "delete" sources = ["fig"] [[commands.subcommand.task]] id = "delete" label = "Delete" fields = ["all", "purge"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["all", "purge"]