kr8 generate

Generate components

Synopsis

Generate components in clusters

kr8 generate [flags]

Examples

kr8 generate

Options

  -x, --clexcludes string      filter included cluster by excluding clusters with matching cluster parameters - comma separate list of key/value conditions separated by = or ~ (for regex match)
  -i, --clincludes string      filter included cluster by including clusters with matching cluster parameters - comma separate list of key/value conditions separated by = or ~ (for regex match)
  -p, --clusterparams string   provide cluster params as single file - can be combined with --cluster to override cluster
  -C, --clusters string        clusters to generate - comma separated list of cluster names and/or regular expressions 
  -c, --components string      components to generate - comma separated list of component names and/or regular expressions
  -o, --generate-dir string    output directory (default "generated")
  -h, --help                   help for generate

Options inherited from parent commands

  -B, --base string             kr8+ root configuration directory (default "./")
  -D, --clusterdir string       kr8+ cluster directory
      --color                   enable colorized output (default true)
  -d, --componentdir string     kr8+ component directory
      --config string           a single config file with kr8+ configuration
      --debug                   log additional information about what kr8+ is doing. Overrides --loglevel
      --ext-str-file key=file   set comma-separated jsonnet extVars from file contents in the format key=file
  -J, --jpath stringArray       additional jsonnet library directories
  -L, --loglevel string         set zerolog log level (default "info")
      --parallel int            parallelism - defaults to runtime.GOMAXPROCS(0) (default -1)
      --profiledir string       directory to write pprof profile data to

SEE ALSO

  • kr8 - A jsonnet-powered config management tool
Auto generated by spf13/cobra on 4-May-2025