使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
服务路由设置指南概览
本指南概述了在使用新的服务路由 API 在 Compute Engine 上设置 Traffic Director 之前要阅读的文档和要完成的任务。
- 如果您要在 Google Kubernetes Engine 上设置 Traffic Director,请参阅网关 API 的文档,而不是服务路由 API 的文档。
- 如果您要使用旧版 API 设置 Traffic Director,请参阅设置指南概览。
准备工作
在使用新 API 配置 Traffic Director 之前,请阅读初步设置的文档,具体取决于您是使用 Envoy 代理还是无代理 gRPC 服务进行部署:
前提条件
您的部署必须满足以下前提条件:
- 最低 Envoy 版本 1.20.0
- gRPC 引导生成器最低版本 v0.13.0。
启用 API
启用以下其他 API。
gcloud services enable \
osconfig.googleapis.com \
trafficdirector.googleapis.com \
compute.googleapis.com \
networkservices.googleapis.com
后续步骤
按照设置指南中的说明执行所需的配置:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-04-05。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"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":"其他"
}]