appctl db create

Create a database

Synopsis

Create a database

appctl db create

Examples

 appctl db create pg -c cluster-name -n service-name --sku=DB-PG-BASIC -v 9.5
 appctl db create es -c cluster-name -n service-name --sku=DB-ES-DURABLE-BETA -v 2.3.1 -p 20
 appctl db create influx -c cluster-name -n service-name --sku=DB-INFLUX-BASIC -v 1.0.0

Options

  -a, --auth-secret-name string   Authentication Secret
  -c, --cluster string            Cluster Name
  -H, --hostname string           Host name
  -I, --ignore-validation         Ignore validation
  -n, --name string               Database name
  -p, --pv-size-gb int32          Persistence Volume Size in gb
      --size int32                Number of Node (default 1)
      --sku string                Database Sku
  -s, --snapshot-phid string      Snapshot phid to restore
  -S, --storage-class string      Storage class
      --version string            Database Version

Options inherited from parent commands

      --allow_verification_with_non_compliant_keys   Allow a SignatureVerifier to use keys which are technically non-compliant with RFC6962.
      --alsologtostderr                              log to standard error as well as files
      --log_backtrace_at traceLocation               when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                               If non-empty, write log files in this directory
      --logtostderr                                  log to standard error instead of files (default true)
      --stderrthreshold severity                     logs at or above this threshold go to stderr (default 2)
  -v, --v Level                                      log level for V logs
      --vmodule moduleSpec                           comma-separated list of pattern=N settings for file-filtered logging

SEE ALSO



Subscribe to our free technical newsletter!

Join thousands of subscribers and stay up-to-date on AppsCode.