anitsh / til

Today I Learn (til) - Github `Issues` used as daily learning management system for taking notes and storing resource links.
https://anitshrestha.com.np
MIT License
76 stars 11 forks source link

Kubernetes Security #191

Open anitsh opened 3 years ago

anitsh commented 3 years ago

The 4C's of Cloud Native Security

image

How certificates are used by your cluster

Kubernetes requires PKI for the following operations: Client certificates for the kubelet to authenticate to the API server Server certificate for the API server endpoint Client certificates for administrators of the cluster to authenticate to the API server Client certificates for the API server to talk to the kubelets Client certificate for the API server to talk to etcd Client certificate/kubeconfig for the controller manager to talk to the API server Client certificate/kubeconfig for the scheduler to talk to the API server. Client and server certificates for the front-proxy

Resource

anitsh commented 3 years ago

Admissions Controllers

Note from one of the event about Admissions controller:

Admissions controllers play an important role in providing security and governance for Kubernetes. In this webinar, we will outline the Kubernetes Admission Controller architecture, and look in particular at the Validating Admission Controller function, along with the associated Open Policy Agent and Rego language components.

Having established the underlying infrastructure, we will look at several scenarios involving either misconfiguration or (potential) malice, and demonstrate appropriate admission control policies to combat them.

At the end of this talk, you will leave with: An overview of object creation in Kubernetes The basics of the Rego language (for writing admission controller policies) Sample admission controller policies for security and IT governance