-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Glossary: Add a definition for "resource" #30092
Comments
@stefanlasiewski: This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The 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. |
From the description, I fail to see which usage is confusing. Within a context, the user knows what the word is referring to, right? |
We use the word “resource” in several places within the documention. There are generic meanings and also at least two Kubernetes-specific meanings. I'm sure a glossary definition to explain some of these different meanings would help newcomers. This looks to me like a duplicate of issue #20074 though. |
Hey @sftim I would like to contribute to the issue, however, I'm very new to Kubernetes, I understand that a resource would be something like a Deployment or pod as the OP said or it can also be something like a CPU resource limit(Please correct me if I'm wrong). I'm still confused as to what is the primary definition and how to find the other definitions, any hints would be appreciated. searching online leads me to articles like this. |
I'd be fine with moving this question into #20074, although unfortunately that issue is stale and I don't want this issue to get lost. I do think that newcomers, including people who are experienced with other systems outside of kubernetes, may find parts of the documentation confusing. The context in much of the conversation is not clear. Here's another example from
I'm not actually sure what "resources" means in this context. Is that text trying to say that an Kubernetes objects have access to Kubernetes resources? If that's the case, what's the relationship between an Object and a Resource? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
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. |
/reopen |
@sftim: Reopened this issue. In response to this:
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. |
/triage duplicate See #25903 |
@sftim: Closing this issue. In response to this:
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. |
I just learned about https://kubernetes.io/docs/reference/glossary and I think it's a great tool that will help provide a common language for the community, and also for our team where we struggle often over simple definitions.
I was reading through different definitions, and that many definitions refer to the term "resource", but the term itself is not defined. Some of the usage is confusing. It would be great to define the term resource, and since it's used in different contexts, clarify the usage for those contexts.
Here's a few quotes from the Glossary.
From the following 3 definitions, we know that a "resource" is something like a Deployment or a Pod. A command like
kubectl get pods
will return a list of pod resources and their names. In the API, I can refer to that resource at/api/v1/pods/some-name
. Although, is object actually the correct term here and not resource? If not, what is the difference between the term resource used here and an object?The page also uses resource to refer to things in a host context, such as the following definitions. I might call these node resources.
The text was updated successfully, but these errors were encountered: