게이트웨이의 트래픽 규칙이 전파되는 동안 앱은 매핑되지 않은 경로에서 트래픽을 계속 수신할 수 있습니다.
경로는 해당 경로에 매핑된 다른 앱이 트래픽을 수신할 수 있도록 라우팅 가중치를 다시 조정합니다. 다른 앱이 결합되지 않은 경우 경로는 404 HTTP 상태 코드를 반환합니다.
예
# Unmap myapp.example.com from myapp in the targeted Space
kf unmap-route myapp example.com --hostname myapp
# Unmap the Route in a specific Space
kf unmap-route --space myspace myapp example.com --hostname myapp
# Unmap a Route with a path
kf unmap-route myapp example.com --hostname myapp --path /mypath
[[["이해하기 쉬움","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,["# kf unmap-route\n\n### Name\n\n`kf unmap-route` - Revoke an App's access to receive traffic from the Route.\n\n### Synopsis\n\n```\nkf unmap-route APP_NAME DOMAIN [--hostname HOSTNAME] [--path PATH] [flags]\n```\n\n### Description\n\nUnmapping an App from a Route will cause traffic matching the Route to no\nlonger be forwarded to the App.\n\nThe App may still receive traffic from an unmapped Route for a small period\nof time while the traffic rules on the gateways are propagated.\n\nThe Route will re-balance its routing weights so other Apps mapped to it\nwill receive the traffic. If no other Apps are bound the Route will return\na 404 HTTP status code.\n\n### Examples\n\n```\n# Unmap myapp.example.com from myapp in the targeted Space\nkf unmap-route myapp example.com --hostname myapp\n\n# Unmap the Route in a specific Space\nkf unmap-route --space myspace myapp example.com --hostname myapp\n\n# Unmap a Route with a path\nkf unmap-route myapp example.com --hostname myapp --path /mypath\n```\n\n### Flags\n\n`--async`\n\n: Do not wait for the action to complete on the server before returning.\n\n`--destination-port=`\u003cvar translate=\"no\"\u003eint32\u003c/var\u003e\n\n: Port on the App the Route will connect to.\n\n`-h, --help`\n\n: help for unmap-route\n\n`--hostname=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Hostname for the Route.\n\n`--path=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: URL path for the Route.\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]