~/talk

How to Secure Your Node.js Containers on Kubernetes With Best Practices

Talkat DevOps.js Conf 2022 · 2022-03-24..03-25· [security, nodejs]
slides:none on file

Enforces concrete steps: enable RBAC on the API server (authorization-mode flag), use OIDC via kubelogin to get tokens, store secrets (not plain text) and restrict them with roles, run Node.js containers as non‑root using the official node user and set NODE_ENV=production, scan images in CI/CD with Clair/Anchore/Snyk and run Docker Bench, apply PodSecurityAdmission, network policies, namespaces, resource quotas and audit logging, protect etcd with TLS, avoid SSH for nodes, and use dumb-init and .dockerignore for safer images.

AI-written summary · about

  1. 0:00Securing Node.js on Kubernetes
  2. 2:32Kubernetes RBAC
  3. 5:19OpenID Connect auth
  4. 7:28Kubernetes secrets
  5. 9:12Keeping Kubernetes and dependencies up to date
  6. 9:54Restricting cluster access
  7. 10:36Network policies
  8. 11:19Namespace isolation
  9. 12:00Resource limits vs DoS
  10. 12:40Monitoring & auditing clusters
  11. 13:44Control plane & metadata security
  12. 14:05Container security best practices
  13. 14:47Node.js without root
  14. 15:08Minimal base images
  15. 15:50Prevent kernel module loading
  16. 16:33Image vulnerability scanning
  17. 16:55Docker Bench auditing
  18. 17:38Pod Security Admission
  19. 18:21Node.js security practices
  20. 19:48Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.