Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc bug: incorrect example of a virtual workspace #2296

Open
MikeSpreitzer opened this issue Nov 3, 2022 · 0 comments
Open

doc bug: incorrect example of a virtual workspace #2296

MikeSpreitzer opened this issue Nov 3, 2022 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/documentation Categorizes issue or PR as related to documentation.

Comments

@MikeSpreitzer
Copy link
Contributor

Describe the bug

I am still learning about virtual workspaces. I read https://github.com/kcp-dev/kcp/blob/main/docs/content/en/main/concepts/virtual-workspaces.md . I looked at Example 1. I also downloaded and built and ran v0.9.1 of kcp and tried it out, passing -v=6 to kubectl to see the actual HTTP request(s) involved. Following is an example.

(base) mspreitz@mjs12 kcp % kubectl -v=6 get workspaces
I1102 23:59:46.101073   87303 loader.go:374] Config loaded from file:  /Users/mspreitz/go/src/github.com/kcp-dev/kcp/.kcp/admin.kubeconfig
I1102 23:59:46.115086   87303 round_trippers.go:553] GET https://192.168.1.51:6443/clusters/root:users:zu:yc/apis/tenancy.kcp.dev/v1beta1/workspaces?limit=500 200 OK in 10 milliseconds
NAME        TYPE   PHASE   URL
kcp-admin   home   Ready   https://192.168.1.51:6443/clusters/root:users:zu:yc:kcp-admin

This does not compare favorably to Example 1 in that doc, which cites a URL path of /services/workspaces/<org>/personal/apis/tenancy.kcp.dev/v1beta1/workspaces.

Steps To Reproduce

See above.

Expected Behaviour

I expected running code to be consistent with the documentation.

Additional Context

No response

@MikeSpreitzer MikeSpreitzer added the kind/bug Categorizes issue or PR as related to a bug. label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/documentation Categorizes issue or PR as related to documentation.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant