Horizontal Autoscaling in Kubernetes
https://medium.com/@aharon.haravon/horizontal-autoscaling-in-kubernetes-b9ef7a9f067a
In this article I will write about the horizontal autoscaling in kubernetes. The intended audience is the software developers and devops/SRE engineers with at least some elementary background in kubernetes interested in learning about auto-scaling. When I was learning this topic, I didn’t find a single straightforward article that explains all the relveant concepts, so I took the challenge and rolled one myself.
https://medium.com/@aharon.haravon/horizontal-autoscaling-in-kubernetes-b9ef7a9f067a
Testing Service Mesh Performance in Multi-Cluster Scenario: Istio vs Kuma vs NSM
https://dev.to/pragmagic/testing-service-mesh-performance-in-multi-cluster-scenario-istio-vs-kuma-vs-nsm-4agj
This article may be useful for those who are aware of service meshes and probably trying to improve scalability and connectivity between applications in Kubernetes and other container orchestration systems, e.g., adding encryption and authorization for application connections.
https://dev.to/pragmagic/testing-service-mesh-performance-in-multi-cluster-scenario-istio-vs-kuma-vs-nsm-4agj
Maximizing the Utility of Scarce AI Resources: A Kubernetes Approach
https://towardsdatascience.com/maximizing-the-utility-of-scarce-ai-resources-a-kubernetes-approach-0230ba53965b
Optimizing the use of limited AI training accelerators
https://towardsdatascience.com/maximizing-the-utility-of-scarce-ai-resources-a-kubernetes-approach-0230ba53965b
Kubernetes — Cost optimisation and savings on AWS
https://medium.com/elmo-software/kubernetes-cost-optimisation-and-savings-on-aws-88a7cf8e7469
Around 4 years ago, the ELMO Infrastructure team began the Kubernetes journey which involved building out multiple production clusters across multiple AWS regions, across multiple AWS accounts. Since then we have been able to migrate almost all our applications into Kubernetes from various different places such as Amazon ECS, AWS Opsworks and datacenters. One of the biggest challenges we faced, and i’m sure everyone has faced, is ensuring that we didn’t blow out the AWS bill with our Kubernetes costs. The idea is to have the cheapest but highest performing cluster possible… it’s important to not compromise performance for cost.
https://medium.com/elmo-software/kubernetes-cost-optimisation-and-savings-on-aws-88a7cf8e7469
Whoami — The quest of understanding GKE Workload Identity Federation
https://medium.com/google-cloud/whoami-the-quest-of-understanding-gke-workload-identity-federation-e951e5e4a03f
If you’re anything like me then using product features that you don’t fully understand always leaves you with a feeling of unease. Sure, using the feature might even be easy and cheerful at least as long as everything works as expected. We could even leave it at that. However, somewhere in between intrinsic engineering curiosity and the life experience that at some point in the future a deeper understanding will come in handy, we still have the desire to understand and debunk the magic.
https://medium.com/google-cloud/whoami-the-quest-of-understanding-gke-workload-identity-federation-e951e5e4a03f
Kubernetes Pod Policies — imagePullPolicy
https://decisivedevops.com/kubernetes-pod-policies-imagepullpolicy-fd939057a93f
When a pod is launched in Kubernetes, it starts with several policies. In this series, we will understand these policies, starting with imagePullPolicy.
https://decisivedevops.com/kubernetes-pod-policies-imagepullpolicy-fd939057a93f
Kubernetes Pod Policies — terminationMessagePolicy
https://decisivedevops.com/kubernetes-pod-policies-terminationmessagepolicy-c073eb936ef2
Learn practical uses of terminationMessagePolicy in Kubernetes for efficient container debugging and error diagnostics.
https://decisivedevops.com/kubernetes-pod-policies-terminationmessagepolicy-c073eb936ef2
Kubernetes Pod Policies — dnsPolicy
https://decisivedevops.com/kubernetes-pod-policies-dnspolicy-1a70064ec590
Learn key aspects of Kubernetes Pod Policies, focusing on dnsPolicy, including practical insights into configurations like ClusterFirst, Default, and more.
https://decisivedevops.com/kubernetes-pod-policies-dnspolicy-1a70064ec590
Monitor your K8S Cluster costs with kubecost
https://medium.com/@chaisarfati/monitor-your-k8s-cluster-costs-with-kubecost-4a9d64050466
Let’s install kubecost in 1 minute and get a fine grain report of your K8S expenses
https://medium.com/@chaisarfati/monitor-your-k8s-cluster-costs-with-kubecost-4a9d64050466
Waiting for hooks in ArgoCD
https://systemweakness.com/waiting-for-hooks-in-argocd-e5329ec0436c
ArgoCD is a fantastic tool to deploy applications via GitOps. You can defined all your kubernetes manifests in git and have ArgoCD watch them for changes. It’s a very popular product used to manage resources in kubernetes.
There are a couple syncing options that you can use, automated, self health or manually sync. I would love to see some kind of approval process in the future. Let’s build one.
https://systemweakness.com/waiting-for-hooks-in-argocd-e5329ec0436c
podinfo
https://github.com/stefanprodan/podinfo
Podinfo is a tiny web application made with Go that showcases best practices of running microservices in Kubernetes. Podinfo is used by CNCF projects like Flux and Flagger for end-to-end testing and workshops.
https://github.com/stefanprodan/podinfo
kubemod
https://github.com/kubemod/kubemod
KubeMod is a universal Kubernetes mutating operator.
It introduces ModRule - a custom Kubernetes resource that can intercept the deployment of any Kubernetes object and apply targeted modifications to it, or reject it before it is deployed to the cluster.
https://github.com/kubemod/kubemod
How we cut costs by 70% by moving from GCP and CockroachDB into Hetzner and PostgreSQL
https://blog.mikoto.io/building-your-own-cloud-for-fun-and-profit
https://blog.mikoto.io/building-your-own-cloud-for-fun-and-profit
flox
https://github.com/flox/flox
Flox is a virtual environment and package manager all in one. With Flox you create environments that layer and replace dependencies just where it matters, making them portable across the full software lifecycle.
https://github.com/flox/flox
drawdb
https://github.com/drawdb-io/drawdb
DrawDB is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account.
https://github.com/drawdb-io/drawdb
redka
https://github.com/nalgeon/redka
Redka aims to reimplement the good parts of Redis with SQLite, while remaining compatible with Redis API.
https://github.com/nalgeon/redka
index_advisor
https://github.com/supabase/index_advisor
A PostgreSQL extension for recommending indexes to improve query performance.
https://github.com/supabase/index_advisor
Generating Infrastructure-as-Code From Existing Cloud Resources
https://www.massdriver.cloud/blogs/generating-infrastructure-as-code-from-existing-cloud-resources
Generating OpenTofu or Terraform from existing cloud resources is a tedious process fraught with gotchas. It's not a silver bullet for click-ops debt. This post will discuss caveats of tools and different approaches to generating IaC.
https://www.massdriver.cloud/blogs/generating-infrastructure-as-code-from-existing-cloud-resources
Lynx
https://github.com/Clivern/Lynx
Lynx is a Fast, Secure and Reliable Terraform Backend. It is built in Elixir with Phoenix framework.
https://github.com/Clivern/Lynx
Graceful shutdown in Kubernetes
https://learnk8s.io/graceful-shutdown
TL;DR: In this article, you will learn how to prevent broken connections when a Pod starts or shuts down. You will also learn how to shut down long-running tasks and connections gracefully.
https://learnk8s.io/graceful-shutdown