Skip to content

Onit add app

onit add app

Add an app to the test cluster

Synopsis

Add an app to the test cluster

onit add app [args] [flags]

Options

  -d, --debug                      enable debug mode
  -e, --env stringToString         set environment variables (default [])
  -h, --help                       help for app
  -i, --image string               the image to deploy
      --image-pull-policy string   the Docker image pull policy (default "IfNotPresent")
  -n, --name string                the name of the app to add
  -p, --port stringToInt           ports to expose (default [])
      --privileged                 run the application in privileged mode
  -r, --replicas int               the number of replicas to deploy (default 1)
  -s, --secret stringToString      secrets to add to the application (default [])
  -u, --user int                   set the user with which to run the application (default -1)

Options inherited from parent commands

  -c, --cluster string   the cluster on which to execute the command
  -v, --verbose          Enable verbose output

SEE ALSO

  • onit add - Add resources to the cluster
Auto generated by spf13/cobra on 11-Dec-2019