This checklist provides actionable best practices for deploying secure, scalable, and resilient services on Kubernetes.
Topics
A checklist of Kubernetes best practices to help you release to production
Home Page: https://learnk8s.io/production-best-practices
License: MIT License
This checklist provides actionable best practices for deploying secure, scalable, and resilient services on Kubernetes.
Topics
In Liveness probes values aren't the same as the Readiness:
When Liveness and Readiness probes are pointing to the same endpoint, the effects of the probes are combined.
I think the title is correct, and the task body should be updated to reflect that it's generally fine to have the same endpoint called from liveness and readiness probes, as long as the values are different (and those for liveness are more tolerant than those for readiness).
Referenced article Liveness probes are dangerous:
if you use Liveness Probe, don’t set the same specification for Liveness and Readiness Probe
- you can use a Liveness Probe with the same health check, but a higher failureThreshold (e.g. mark as not-ready after 3 attempts and fail Liveness Probe after 10 attempts)
➡️ Contributions are welcome! Just add your ideas to this issue. ⬅️
Please review my blog about Kubernetes Resources Management:
I think you should adjust the "Resources utilization" section.
“Injected environment variables are always present and may become artifacts in logs for the entire system”
Secret-based environment variables should be sourced from a separate file (volume) in such a way they’re only available to the desired process/container. Not the whole pod.
Source: https://twitter.com/jeyfelbrandauer/status/1194752211366088704
@ipedrazas has just presented at Cloud Native Wales and he has a "must-have" list which looks quite interesting.
We might need to borrow a few items.
thanks for this awesome resource!
the text on learnk8s.io says the repo is open source - could you perhaps add a license?
This checklist:
Disable metadata cloud providers metada[sic] API
In AWS, this advice precludes containerized applications from using for example AWS IAM role based authentication, a security best practice: credentials are not hard coded, are automatically rotated, and will likely never leave the cluster itself. For more information on this best practice, read here: https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html#use-roles
As a best practice to use this, I would recommend using kube2iam (https://github.com/jtblin/kube2iam) -- this allows you to control which roles a pod is allowed to assume based on namespace, but also allows the pod to see itself as having the role vs requiring it to assume such a role.
In our setup we use kube2iam and assign nodes their IAM role - this IAM role is allowed to assume other roles. With kube2iam, we assign the role through a pod annotation, so the pod sees itself as having that role. Additionally we use namespace restrictions to control access to which roles a pod is allowed to assume.
@kaihendry suggested a different format: https://webconverger.com/faq/
Perhaps we could think about including a table of content.
From kube-score readme:
More: https://github.com/zegl/kube-score/blob/master/README_CHECKS.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.