Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2093

openshift:application-create supports to create scaling application and support region feature

XMLWordPrintable

    • 0
    • 0% 0%
    • Todo

      User may want to create scaling application through fuse-client.It needs to add another option '--scaling'.
      openshift:application-create --server-url broker.example.com --login jia --password jia --gear-profile xpaas --scaling fusebuilder fuse-builder-1.0.0

      PS: OSE also supports region feature. If we want to make it in, please think about it. Currently OSE web-management-console don't support region feature.

      JBossFuse:admin@fuse> openshift:application-create --help
      DESCRIPTION
      openshift:application-create

      Creates an application

      SYNTAX
      openshift:application-create [options] application cartridge

      ARGUMENTS
      application
      The target application.
      cartridge
      The cartridge to use.

      OPTIONS
      --gear-profile
      Gear profile controls how much memory and CPU your cartridges can use.
      (defaults to small)
      --password
      The password to use.
      --login
      The login name to use.
      --domain
      Create applications on that domain.
      --help
      Display this help message
      --server-url
      The url to the openshift server.

      This is 'rhc app-create' man page:
      [root@broker ~]# rhc app-create -h
      Options
      -n, --namespace NAME Namespace for the application
      -g, --gear-size SIZE Gear size controls how much memory and CPU your cartridges can use.
      -s, --[no-]scaling Enable scaling for the web cartridge.
      -r, --repo DIR Path to the Git repository (defaults to ./$app_name)
      -e, --env VARIABLE=VALUE Environment variable(s) to be set on this app, or path to a file containing environment variables
      --from-app NAME Create based on another application. All content and configurations will be copied from the original app.
      --from-code URL URL to a Git repository that will become the initial contents of the application
      --region REGION The region where the application gears will be located
      --[no-]git Skip creating the local Git repository.
      --[no-]dns Skip waiting for the application DNS name to resolve. Must be used in combination with --no-git
      --enable-jenkins [NAME] Enable Jenkins builds for this application (will create a Jenkins application if not already available). The default name will be
      'jenkins' if not specified.
      -a, --app NAME Name for your application
      -t, --type CARTRIDGE The web framework this application should use

              hchirino Hiram Chirino
              xuanjia Xuan Jia (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: