Studying Affinity and AntiAffinity can be challenging due to the length of the official documentation. This post is not intended to replace the official docs but to provide a bird’s-eye view of the structure.
- affinity is a sub section of pod’s spec
- The diagram as follow:
- The full diagram as follow:
Please ignore the root node (green). I don’t know how to remove it in Xmind.
The diagram looks complicated. However, if you look closely, there is a lot of duplication. For example, the block with
values appears many times.
operator can be one of the following values:
values are string and array of string accordingly.
You can always refer to the official documentation here for examples.
I build softwares that solve problems. I also love writing/documenting things I learn/want to learn.