kubernetes/kubernetes

Harden addons & system pods

Open

#38,541 opened on Dec 10, 2016

View on GitHub
 (14 comments) (5 reactions) (0 assignees)Go (122,268 stars) (43,066 forks)batch import
area/securityhelp wantedkind/cleanuplifecycle/frozenpriority/important-longtermsig/auth

Description

Our system pods should run using security best practices, both to enhance cluster security and serve as examples of best practices to users. We should audit all our system pod Dockerfiles, and make sure all security features are enabled with custom profiles when possible.

Low hanging fruit:

  • Run as non-root (& disallow privilege escalation)
  • Run with the default seccomp profile
  • ReadOnlyRootFilesystem
  • Avoid unnecessary HostPath volumes
  • Don't mount service account token (unless required)

More advanced:

/cc @kubernetes/sig-auth @kubernetes/sig-cluster-lifecycle

Contributor guide

Harden addons & system pods · kubernetes/kubernetes#38541 | Good First Issue