-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
area/kubectlkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.
Milestone
Description
Without --api-prefix
, kubectl proxy
works just fine,
$ curl localhost:8001/api/
{
"versions": [
"v1beta1",
"v1beta2",
"v1beta3"
]
}
With '--api-prefix=xxx-api', it stops work:
$ curl localhost:8001/xxx-api/
404 page not found
My kubectl
version:
$ kubectl version
Client Version: version.Info{Major:"0", Minor:"17+", GitVersion:"v0.17.1-878-g851f6b754241c0-dirty", GitCommit:"851f6b754241c01f30c43cddd2f9ca8c7c3f42f5", GitTreeState:"dirty"}
Server Version: version.Info{Major:"0", Minor:"17+", GitVersion:"v0.17.1-893-g58b683fe296da8-dirty", GitCommit:"58b683fe296da870fdbc6eb1a32dcf50ed94a8e3", GitTreeState:"dirty"}
@jlowdermilk, could you take a look? Thanks.
Metadata
Metadata
Assignees
Labels
area/kubectlkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.Categorizes issue or PR as related to documentation.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.