subresource

A Kubernetes API endpoint under an object, such as a pod's exec, log or status, with its own permissions.

In more detail

Its path adds a name after the object, such as /pods/web/exec. Audit queries select objectRef.subresource == "exec" to find shells opened inside pods, and RBAC can grant pods/exec separately from pods.

Related terms

Taught in

References

Certification courses