Container and Pod Security

Part of K8s Module 08 - Security · Kubernetes Curriculum.

Learning goal

Use securityContext, non-root execution, capability restrictions, and Pod Security admission.

Practice

  • Harden a demo workload and record any incompatibilities with the selected security profile.
  • Save the command/manifests or diagram, expected result, actual observation, and cleanup steps.

Recall

How do securityContext and namespace admission policy differ?

Notes

Stub: add your explanation, useful commands, mistakes, and observations while studying.

References

Use current Pod Security Standards/admission rather than removed PodSecurityPolicy. The source roadmap repeats this topic; one note covers both occurrences.