Authentication
- k8s does not support user authentication by default (except service accounts)
TLS in k8s
k8s uses TLS to secure communication between components
user can grouped by certificate’s
Common Name
orOrganization
fieldnode’s group name is
system:nodes
kube config file
~/.kube/config
file is used to store k8s cluster informationkubectl
uses this file to connect to the cluster- clusters, users, context
image security
if you use private image registry, you need to create secret object 1. create docker-registry
type secret 2. add imagePullSecrets
field in the pod spec