名稱
kf target:設定要執行指令的預設工作區。
概要
kf target [flags]
範例
# See the current Space kf target # Target a Space kf target -s my-space
旗標
-h, --help指定目標的說明
-s, --target-space=string指定指定的聊天室。
繼承的標記
這些標記會繼承自父項指令。
--as=string要冒用來執行作業的使用者名稱。
--as-group=strings要冒用身分的群組。如要指定多個群組,請多次加入這個標記。
--config=string用於 CLI 要求的 Kf 設定檔路徑。
--kubeconfig=string用於 CLI 要求的 kubeconfig 檔案路徑。
--log-http將 HTTP 要求記錄到標準錯誤。
--space=string要執行指令的空間。這個標記會覆寫目前指定的空間。