kf update-autoscaling-limits

名稱

kf update-autoscaling-limits - 更新應用程式的自動調度資源限制。

概要

kf update-autoscaling-limits APP_NAME MIN_INSTANCE_LIMIT MAX_INSTANCE_LIMIT [flags]

範例

# Set min instances to 1, max instances to 3 for myapp
kf update-autoscaling-limits myapp 1 3

旗標

--async

請勿等待伺服器上的動作完成,再傳回結果。

-h, --help

update-autoscaling-limits 的說明

繼承的標記

這些標記會繼承自父項指令。

--as=string

要冒用來執行作業的使用者名稱。

--as-group=strings

要冒用身分的群組。如要指定多個群組,請多次加入這個標記。

--config=string

用於 CLI 要求的 Kf 設定檔路徑。

--kubeconfig=string

用於 CLI 要求的 kubeconfig 檔案路徑。

--log-http

將 HTTP 要求記錄到標準錯誤。

--space=string

要執行指令的空間。這個標記會覆寫目前指定的空間。