Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement/Review the official K8s cluster security guide #22

Open
TAnas0 opened this issue Nov 28, 2020 · 0 comments
Open

Implement/Review the official K8s cluster security guide #22

TAnas0 opened this issue Nov 28, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation infrastructure For infrastructure related tasks

Comments

@TAnas0
Copy link

TAnas0 commented Nov 28, 2020

Goals:

  1. Go over the K8s guide Securing a cluster
  2. Implement/check them in the K8s cluster, when possible.
  3. Identify how they relate to the DO recommended steps to secure a K8s cluster tackled in Implement/Review the official DO recommended K8s cluster configuration #21
  4. Identify what falls under our security responsibility vs. what falls under DO's responsibility

For the sake of reference and high-level view, here is the Table of Contents of the article:

  1. Controlling access to the Kubernetes API
    1.1 Use Transport Layer Security (TLS) for all API traffic
    1.2 API Authentication
    1.3 API Authorization
  2. Controlling access to the Kubelet
  3. Controlling the capabilities of a workload or user at runtime
    3.1 Limiting resource usage on a cluster
    3.2 Controlling what privileges containers run with
    3.3 Preventing containers from loading unwanted kernel modules
    3.4 Restricting network access
    3.5 Restricting cloud metadata API access
    3.6 Controlling which nodes pods may access
  4. Protecting cluster components from compromise
    4.1 Restrict access to etcd
    4.2 Enable audit logging
    4.3 Restrict access to alpha or beta features
    4.4 Rotate infrastructure credentials frequently
    4.5 Review third party integrations before enabling them
    4.6 Encrypt secrets at rest
    4.7 Receiving alerts for security updates and reporting vulnerabilities

Things to keep in mind:

Please detail, in a PR, all the steps followed and keep track of all the commands/manipulations performed.

@TAnas0 TAnas0 added documentation Improvements or additions to documentation infrastructure For infrastructure related tasks labels Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation infrastructure For infrastructure related tasks
Projects
None yet
Development

No branches or pull requests

1 participant