id = "kind" name = "kind" description = "Run local Kubernetes clusters using Docker containers as nodes." homepage = "https://kind.sigs.k8s.io" executables = ["kind"] [commands] format = 1 label = "kind" description = "Manage local kind clusters: create, delete and list." quality = "ai-draft" base = "fig:kind" 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/kind.ts" license = "MIT" [[commands.field]] id = "quiet" label = "Quiet" description = "Silence all stderr output." type = "boolean" option = ["--quiet", "-q"] sources = ["fig"] [[commands.field]] id = "verbosity" label = "Log verbosity" type = "integer" option = ["--verbosity", "-v"] sources = ["fig"] [[commands.group]] id = "basic" label = "Basic" fields = [] [[commands.group]] id = "advanced" label = "Advanced" fields = ["quiet", "verbosity"] [[commands.subcommand]] path = ["create", "cluster"] label = "Create a cluster" description = "Create a local Kubernetes cluster." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kind.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Cluster name" type = "string" option = ["--name"] sources = ["fig"] [[commands.subcommand.field]] id = "config" label = "Config file" type = "path" option = ["--config"] path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "image" label = "Node image" type = "string" option = ["--image"] sources = ["fig"] [[commands.subcommand.field]] id = "wait" label = "Wait for control plane" description = "Duration such as 60s." type = "string" option = ["--wait"] sources = ["fig"] [[commands.subcommand.field]] id = "kubeconfig" label = "Kubeconfig path" type = "path" option = ["--kubeconfig"] path = { kind = "file", role = "output", must_exist = false } sources = ["fig"] [[commands.subcommand.field]] id = "retain" label = "Retain nodes on failure" type = "boolean" option = ["--retain"] sources = ["fig"] [[commands.subcommand.task]] id = "create" label = "Create cluster" fields = ["name", "config", "image", "wait"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name", "config", "image", "wait"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["kubeconfig", "retain"] [[commands.subcommand]] path = ["delete", "cluster"] label = "Delete a cluster" description = "Delete a kind cluster." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kind.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Cluster name" type = "string" option = ["--name"] effect = "delete" sources = ["fig"] [[commands.subcommand.task]] id = "delete" label = "Delete cluster" fields = ["name"] required = ["name"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name"] [[commands.subcommand]] path = ["get", "clusters"] label = "List clusters" description = "List existing kind clusters." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kind.ts" license = "MIT" [[commands.subcommand.group]] id = "basic" label = "Basic" fields = [] [[commands.subcommand]] path = ["get", "nodes"] label = "List nodes" description = "List the nodes of a cluster." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kind.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Cluster name" type = "string" option = ["--name"] sources = ["fig"] [[commands.subcommand.field]] id = "all" label = "All clusters" type = "boolean" option = ["--all", "-A"] sources = ["fig"] [[commands.subcommand.task]] id = "nodes" label = "List nodes" fields = ["name", "all"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name", "all"]