QuestionQ231Verified/Kubernetes FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhat is the difference between a security profile and a security context?ASecurity Contexts configure Clusters and Namespaces at runtime. Security profiles are control plane mechanisms to enforce specific settings in the Security Context.BSecurity Contexts configure Pods and Containers at runtime. Security profiles are control plane mechanisms to enforce specific settings in the Security Context.CSecurity Profiles configure Pods and Containers at runtime. Security Contexts are control plane mechanisms to enforce specific settings in the Security Profile.DSecurity Profiles configure Clusters and Namespaces at runtime. Security Contexts are control plane mechanisms to enforce specific settings in the Security Profile.Show AnswerAnswerExplanationA Kubernetes security context defines privilege and access-control settings for Pods and Containers, including user and group IDs, capabilities, privilege escalation, and kernel-security settings. Security profiles such as seccomp, SELinux, and AppArmor provide enforceable restrictions that are applied through those workload security settings.Learn moreConfigure a Security Context for a Pod or ContainerLinux kernel security constraints for Pods and containersShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion