What is pod security policy and why is it important?

0 votes
Why do we need a pod security policy in kubernetes?
Jul 17 in Kubernetes by Liana
26 views

1 answer to this question.

0 votes
  • In Kubernetes, Pod Security Policies consists of settings & strategies that control the security features a pod has access to. 

  • It is a type of cluster-level resource which helps in controlling security aspects of Pod.

  • Since the pod security policy API (policy/v1beta1/podsecuritypolicy) is enabled independently of the admission controller, for existing clusters it is recommended that policies are added and authorized before enabling the admission controller.

answered Jul 17 by Sirajul
• 40,990 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is it possible to force the pod to run on a specific node?

By default, anti-affinity is not attempted by ...READ MORE

answered Jul 15 in Kubernetes by Sirajul
• 40,990 points
64 views
0 votes
1 answer

What is the difference between config map and secret in kubernetes?

Config maps ideally stores application configuration in ...READ MORE

answered Jul 17 in Kubernetes by Sirajul
• 40,990 points
151 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
3,418 views
+3 votes
1 answer
0 votes
1 answer

What is pod affinity and node affinity?

Node Affinity ensures that pods are hosted ...READ MORE

answered Jul 17 in Kubernetes by Sirajul
• 40,990 points
258 views
0 votes
1 answer