[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Reference\n=========\n\nThis page describes the Gateway and Vendor extension resources.\n\nAPI Resources\n-------------\n\nWith Gateway for Mesh an xRoute typically uses a Kubernetes Service as the\n[`parentRef`](https://gateway-api.sigs.k8s.io/geps/gep-1426/#api). When used\nthis way, the parent Service becomes the \"service frontend\" for the client to\ncall where the service gets an automatically allocated DNS name\n(`name.namespace.svc.cluster.local`) and IP address (`ClusterIP`). A proxyless\ngRPC client then uses the channel URI to access the service at\n\n`xds:///`\u003cvar translate=\"no\"\u003eSERVICE_NAME\u003c/var\u003e`.`\u003cvar translate=\"no\"\u003eNAMESPACE_NAME\u003c/var\u003e`.svc.cluster.local:${PORT}`\n\n### HTTPRoute\n\nThe HTTPRoute API specification, a key component of the Kubernetes Gateway API,\ndefines a resource for routing HTTP traffic within Kubernetes. It allows users\nto specify fine-grained routing rules for HTTP traffic - based on attributes\nlike hostnames, paths, headers, and methods, determine how requests are directed\nwithin the cluster. HTTPRoute can also be attached to Gateways, which act as\nentry points for traffic into the cluster.\n\nFor more information, see [HTTPRoute](https://gateway-api.sigs.k8s.io/api-types/httproute/).\n\n### GRPCRoute\n\nThe GRPCRoute API specification is part of the Kubernetes Gateway API and\ndefines a resource for routing gRPC traffic within a Kubernetes cluster. It\nlets users specify how gRPC requests should be matched and directed to backend\nservices based on criteria like hostnames, gRPC methods, and headers. You can\nalso attach GRPCRoutes to Gateways which act as entry points for traffic into\nthe cluster. This specification enables fine-grained control over gRPC traffic\nrouting, making it a valuable tool for managing gRPC-based applications in\nKubernetes.\n\nFor more information, see\n[GRPCRoute](https://gateway-api.sigs.k8s.io/api-types/grpcroute/)."]]