Mesh 用ゲートウェイでは、xRoute は通常、Kubernetes Service を parentRef として使用します。この方法で使用すると、親サービスはクライアントが呼び出す「サービス フロントエンド」になり、サービスは自動的に割り振られた DNS 名(name.namespace.svc.cluster.local)と IP アドレス(ClusterIP)を取得します。プロキシレスの gRPC クライアントは、チャネル URI を使用して次の場所にあるサービスにアクセスします。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[],[],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/)."]]