Skip to content

Commit

Permalink
Update pods.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jicowan authored May 21, 2020
1 parent e40e7bd commit 7a20111
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/security/docs/pods.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ spec:

This policy prevents pods from running as privileged or escalating privileges. It also restricts the types of volumes that can be mounted and the root supplemental groups that can be added.

Another, albeit similar, approach is to start with policy that locks everything down and incrementally add exceptions for applications that need looser restrictions such as logging agents which need the ability to mount a host path. You can learn more about this in a recent post on the [Square engineering blog](https://developer.squareup.com/blog/kubernetes-pod-security-policies/).

!!! attention
Fargate is a launch type that enables you to run "serverless" container(s) where the containers of a pod are run on infrastructure that AWS manages. With Fargate, you cannot run a privileged container or configure your pod to use hostNetwork or hostPort.

Expand Down

0 comments on commit 7a20111

Please sign in to comment.