kf delete-route

姓名

kf delete-route - 删除目标空间中的路由

摘要

kf delete-route DOMAIN [--hostname HOSTNAME] [--path PATH] [flags]

示例

  # Delete the Route myapp.example.com
  kf delete-route example.com --hostname myapp
  # Delete a Route on a path myapp.example.com/mypath
  kf delete-route example.com --hostname myapp --path /mypath

标志

--async
返回之前,请勿等待服务器上的操作完成
-h, --help
有关 delete-route 的帮助
--hostname=string
路由的主机名
--path=string
路由的网址路径

继承的标志

这些标志继承自父命令。

--config=string
配置文件(默认为 $HOME/.kf)
--kubeconfig=string
Kubectl 配置文件(默认为 $HOME/.kube/config)
--log-http
将 HTTP 请求记录到 stderr
--space=string
用于对其运行命令的空间。这会覆盖当前目标空间