名前
kf create-service
- マーケットプレイスのテンプレートからサービス インスタンスを作成します。
概要
kf create-service SERVICE PLAN SERVICE_INSTANCE [-c PARAMETERS_AS_JSON] [-b service-broker] [-t TAGS] [flags]
説明
サービスを作成し、マーケットプレイスのテンプレートを使用して新しい ServiceInstance を作成します。
例
# Creates a new instance of a db-service with the name mydb, plan silver, and provisioning configuration kf create-service db-service silver mydb -c '{"ram_gb":4}' # Creates a new instance of a db-service from the broker named local-broker kf create-service db-service silver mydb -c ~/workspace/tmp/instance_config.json -b local-broker # Creates a new instance of a db-service with the name mydb and override tags kf create-service db-service silver mydb -t "list, of, tags"
フラグ
--async
- サーバーでのアクションの完了を待たずに結果を返します。
-b, --broker=string
- インスタンスを作成するサービス ブローカーの名前。
-h, --help
- create-service のヘルプ
-t, --tags=string
- 挿入時にサービスを識別するためのユーザー定義のタグ。
継承されるフラグ
次のフラグは親コマンドから継承されます。
--config=string
- 構成ファイル(デフォルトは $HOME/.kf)
--kubeconfig=string
- Kubectl 構成ファイル(デフォルトは $HOME/.kube/config)
--log-http
- HTTP リクエストのログを stderr に出力します。
--space=string
- コマンドが実行されるスペース。これにより、現在のターゲット スペースがオーバーライドされます。