So, what do we have to understand about the security context for the exam?
So, first of all, the security context lets you provide privilege and access control for
containers.
We can set the security context on the pod level or the container level.
Keep in mind that the pod level definition applies to all containers within that pod,
whereas the container level only applies to that one specific container.
If you were to define both levels or an attribute for both levels, the container level would
take precedence.
It's important to understand where to find those attributes.
You will notice that the pod level and the container level definition will have some
overlapping attributes.
However, there are some unique ones that you can only find on the pod or the container
level.
The main entry point here for looking up those attributes is the Kubernetes API documentation.
It will spell out each of those attributes and explain what their purposes are.