From what I saw, a "Stack" (in OpenStack) is a collection of resources. But I don't understand how it is "delimited".
There are multiple questions, but I think they could be answered easily answered together as they are all linked.
First of all, what is a resource ?
PoolMember
s as a specific kind of resource ?Now for the real question, is a stack:
Any links to official documentation that clearly explains the answer would be appreciated.
The term "stack" refers to a Heat stack. This is a collection of OpenStack managed resources assembled by the execution of a Heat template. So to answer your question:
Is a stack the collection of resources made from one YAML file?
Yes, modulo that a HOT template may be expressed in other formats, and that a HOT template can include other files.
Is a stack all the resources on an OpenStack instance
Assuming that you mean an OpenStack instance (i.e. a "server"), No. A stack can consist of multiple instances, and other things that are not instances; e.g. network resources, storage resources, etcetera. And if by "on", you really mean "in", then No again. The software, data, etc resources in an instance are typically not under direct OpenStack management.
You just decide how it is delimited (it could be a three-tier application, so the 3 server plus load balancer, or all the stacks on the instance, or just one server ..)?
Sort of yes. If a single HOT template can be used to configure all of those resources, then you could refer to the whole lot as a stack.
For more information, on Heat stacks, read:
Note:
I have not found any references that explain the choice of the name OpenStack, and hence the meaning of the Stack
in OpenStack
is debatable.