anti-design-patterns
Introduction: In addition to considering resource constraints, health probe settings are important to think about when migrating a service to Kubernetes. Unless they are enabled via configuration, Kubernetes applications do not automatically include health sensors. Health probes are as important to your Kubernetes installations as resource constraints. Consequently, whenever you distribute an application to a […]
Introduction: When using Kubernetes, applications have no constraints on the resources they can use. This gives your app the ability to possibly take over the entire cluster. Given that even a small memory leak or CPU hiccup can cause chaos for the rest of the applications, this is an issue in a staging cluster and […]
Introduction: Since Terraform’s introduction (along with other comparable tools like Pulumi), “infrastructure as code” has become a popular methodology for deploying systems. Even though technology can be deployed in a pipeline, that doesn’t mean it should be deployed alongside applications at the same time. Bad Practices in Deployment Many teams today use a unified workflow […]
Summary We discussed why you should not store configuration inside a container and why a container should not know anything about the cluster it is running on in the previous section. We can take this a step further by requiring each container to be unaware that it is running within Kubernetes at all. Unless you […]
Summary The images you produce ought to be universally deployable. This is a best practice that existed long before the advent of containers, and it’s already codified as part of the 12-factor app. You should only have to build your container images once before sharing them between different environments. The container itself should not have […]
Introduction Anti-Patterns helps you identify the problems and point out bad-practices in the implementation. we make sure to constantly link each anti-pattern with the appropriate solution. You will be able to truly check your own deployment procedure and correct any problems without having to hunt down additional information using this method. To prevent these issues, […]