kf service
姓名
kf service
- 打印有关给定 ServiceInstance 的信息
摘要
kf service NAME [flags]
示例
kf service my-service
标志
--allow-missing-template-keys
- 如果为 true,则当模板中缺少字段或映射键时,请忽略模板中的所有错误。仅适用于 golang 和 jsonpath 输出格式。(默认值:true)
-h, --help
- 有关 service 的帮助
-o, --output=string
- 输出格式。以下各项中的一项:go-template|go-template-file|json|jsonpath|jsonpath-file|name|template|templatefile|yaml.
--template=string
- 当 -o=go-template、-o=go-template-file 时要使用的模板字符串或模板文件的路径。模板格式为 golang 模板。
继承的标志
这些标志继承自父命令。
--config=string
- 配置文件(默认为 $HOME/.kf)
--kubeconfig=string
- Kubectl 配置文件(默认为 $HOME/.kube/config)
--log-http
- 将 HTTP 请求记录到 stderr
--space=string
- 用于对其运行命令的空间。这会覆盖当前目标空间
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-12 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]