kf target

名稱

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

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