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

Official documentation on the usage of kind List #984

Closed
vio-f opened this issue Nov 30, 2020 · 18 comments
Closed

Official documentation on the usage of kind List #984

vio-f opened this issue Nov 30, 2020 · 18 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@vio-f
Copy link

vio-f commented Nov 30, 2020

What would you like to be added:
Could official documentation be created on the usage of kind List?

Why is this needed:
While brianpursley's comment on issue #837 kind of explained it, that does not represent official documentation, plus it does not properly address the purpose of it (only some use cases). Is it just a custom resource list? More explanation and examples are needed.
NOTE - this is a request for a documentation update, so please don't close it like #837 was. That being said, explanations, use cases, examples are welcome.

I would be happy to do it myself if someone points me to the right direction.

@vio-f vio-f added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 30, 2020
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 30, 2020
@eddiezane
Copy link
Member

This issue is scoped beyond kubectl and probably belongs elsewhere.

Leaving this open until I chat with sig-apimachinery.

@eddiezane
Copy link
Member

/assign

@brianpursley
Copy link
Member

@viorelflorian When you say official documentation, can you clarify what are you referring to? Are you asking for something to be added to https://kubernetes.io?

@eddiezane
Copy link
Member

@brianpursley I Googled and followed the tree of linked issues for #837 (especially the Helm one - helm/helm#8615) and kind: List seems to be a source of confusion for folks all around.

We should probably have some actual info about it since it only appears in that example and not in the the main docs or the API Reference.

I put in on the agenda for apimachinery tomorrow to get their take.

@eddiezane
Copy link
Member

I checked in with apimachinery and kind: List is more of an internal resource that wasn't meant to be exposed. We currently use this inside kubectl when dealing with lists of mixed resources.

How to proceed is currently being discussed.

@vio-f
Copy link
Author

vio-f commented Dec 13, 2020

I found usages of it in third party helm charts (traefik v2.3) and i was wondering what is the original intended usage of such a thing (it's not a resource, is it?)
For the record yes kubernetes.io sounds like a good place to document it. I believe there is a mention of it in the custom resources section.

@eddiezane
Copy link
Member

@viorelflorian we're still not sure about the proper solution as this internal type was not meant to be exposed.

For now though we'd gladly accept documentation on it to https://github.com/kubernetes-sigs/cli-experimental/tree/master/site if you're still interested.

https://kubectl.docs.kubernetes.io/

@vio-f
Copy link
Author

vio-f commented Dec 18, 2020

Sure. I would love to as soon as someone assigns this to me.

@eddiezane eddiezane removed their assignment Dec 18, 2020
@eddiezane
Copy link
Member

You should be able to /assign yourself. GitHub doesn't let us assign folks out of the org.

(Unless this works because you opened the issue)

/assign @viorelflorian

@eddiezane
Copy link
Member

/triage accepted
/priority backlog

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/backlog Higher priority than priority/awaiting-more-evidence. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 18, 2020
@sftim
Copy link
Contributor

sftim commented Jan 4, 2021

I'd be happy to move this issue to k/website but only a few people have access to move issues between repos.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 4, 2021
@vio-f
Copy link
Author

vio-f commented Apr 27, 2021

/remove-lifecycle stale

@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 27, 2021
@azhurbilo
Copy link

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label May 27, 2021
@eddiezane
Copy link
Member

Let's track this over at kubernetes/website#25944

/close

@k8s-ci-robot
Copy link
Contributor

@eddiezane: Closing this issue.

In response to this:

Let's track this over at kubernetes/website#25944

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zmquan
Copy link

zmquan commented Aug 26, 2021

https://kubernetes.io/zh/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/

使用 CustomResourceDefinition 扩展 Kubernetes API , kubectl get $CRDRESOURCESNAME -o yaml
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

8 participants