0

I am new to kuberenetes and cannot find any information about how secure is the communication between pods. Is it encrypted or not? Is there any mechanism that would block a potential attacker from listening in?

CodeSamurai777
  • 3,285
  • 2
  • 24
  • 42

2 Answers2

3

There are mechanisms to introduce the SSL certificates for communication, generally by design interpod communication is kept unencrypted only, as clusters are under a VPN itself of the provider.

For security perspective there are pod security policies which helps user to mention whether the user is root user or non-root user etc. and other capabilities for operations like chown etc.

Lastly there are provisions for Role based access control where you can create the service accounts for communication in different namespaces and can set different levels of read, write permissions for those respectively.

Tushar Mahajan
  • 2,044
  • 1
  • 7
  • 18
0

There are pod security policies, the most common is RBAC (Role-Based User Access Control) authorization.

You can learn more about it here.

Peter Csala
  • 17,736
  • 16
  • 35
  • 75