# Create gateway

# usage

Usage: oredge gateway create [OPTIONS]

OPTIONS:
    --name string                      name.
    --tag integer                      tag, can add mutilple times.
    --partition integer                partition id.
    --map-to-k8s bool                  true or false.
    --k8s integer                      k8s id.
    --is-gray-partition bool           is gray partition, true or false.


GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. create gateway.
# oredge gateway create --name test --partition 1
ID: 1
  1. create gateway map to k8s.
# oredge gateway create --name test-k8s --partition 1 --map-to-k8s true --k8s 1
ID: 2