Setting the right requests and limits in Kubernetes
TL;DR: In Kubernetes resource constraints are used to schedule the Pod in the right node, and it also affects which Pod is killed or starved at times of high load. In this blog, you will explore setting resource limits for a Flask web service automatically using the Vertical Pod Autoscaler and the metrics server.https://learnk8s.io/setting-cpu-memory-limits-requests
QuakeKube
QuakeKube is a Kubernetes-ified version of QuakeJS that runs a dedicated Quake 3 server in a Kubernetes Deployment, and then allow clients to connect via QuakeJS in the browser.
https://github.com/criticalstack/quake-kubekube-prometheus-stack
Installs the kube-prometheus stack, a collection of Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack
Note: This chart was formerly named prometheus-operator chart, now renamed to more clearly reflect that it installs the kube-prometheus project stack, within which Prometheus Operator is only one component.
How to track costs in multi-tenant Amazon EKS clusters using Kubecost
https://aws.amazon.com/blogs/containers/how-to-track-costs-in-multi-tenant-amazon-eks-clusters-using-kubecost
https://aws.amazon.com/blogs/containers/how-to-track-costs-in-multi-tenant-amazon-eks-clusters-using-kubecost
hyscale
This project is aimed at building an abstraction framework over K8s (for app deployments) in the same vein as jQuery over Javascript or Spring over servlets.https://github.com/hyscale/hyscale
HyScale takes a simple, short Declarative definition of your service config, given the config it generates Dockerfile, Container Image, Kubernetes Manifests (YAMLs) and deploys to any Kubernetes Cluster returning back the app URL. Also it abstracts & simplifies Deployment Troubleshooting and Runtime Ops.
Create a Custom Annotation for the Kubernetes ingress-nginx Controller
https://medium.com/better-programming/creating-a-custom-annotation-for-the-kubernetes-ingress-nginx-controller-444e9d486192
https://medium.com/better-programming/creating-a-custom-annotation-for-the-kubernetes-ingress-nginx-controller-444e9d486192
Kubernetes Examples
A reference repository of YAML with canonical and as-simple-as-possible demonstrations of kubernetes functionality and features.https://github.com/ContainerSolutions/kubernetes-examples
K8s Certification: Everything you need to know about k8s and CKAD!
https://medium.com/takeaway-tech/k8s-certification-everything-you-need-to-know-about-k8s-and-ckad-afa04e267ffe
https://medium.com/takeaway-tech/k8s-certification-everything-you-need-to-know-about-k8s-and-ckad-afa04e267ffe
What you need to know about Kubernetes CKA Exam Updated Syllabus(September 2020)?
https://monicabhartiya.com/posts/kubernetes-syllabus-update
https://monicabhartiya.com/posts/kubernetes-syllabus-update
Kubernetes Scripts
A collection of scripts for various Kubernetes taskshttps://github.com/eldada/kubernetes-scripts
- Get all cluster nodes IPs and names
- See all cluster nodes CPU and Memory requests and limits
- Get all labels attached to all pods in a namespace
- Extract and decode a secret's value
- Copy secret from namespace1 to namespace2
- Get formatted list of container images in pods
- etc
Performance Benchmark Analysis of Egress Filtering on Linux
https://kinvolk.io/blog/2020/09/performance-benchmark-analysis-of-egress-filtering-on-linux
https://kinvolk.io/blog/2020/09/performance-benchmark-analysis-of-egress-filtering-on-linux
Things I Learned to Become a Senior Software Engineer
https://neilkakkar.com/things-I-learned-to-become-a-senior-software-engineer.html
https://neilkakkar.com/things-I-learned-to-become-a-senior-software-engineer.html
Continuous Blue-Green Deployments With Kubernetes
https://semaphoreci.com/blog/continuous-blue-green-deployments-with-kubernetes
https://semaphoreci.com/blog/continuous-blue-green-deployments-with-kubernetes
PostgreSQL Node Metrics: Don't Fly Blind
https://info.crunchydata.com/blog/postgresql-node-metrics-pgnodemx
https://info.crunchydata.com/blog/postgresql-node-metrics-pgnodemx
Docker best practices with Node.js
https://dev.to/nodepractices/docker-best-practices-with-node-js-4ln4
https://dev.to/nodepractices/docker-best-practices-with-node-js-4ln4
Kubernetes: PersistentVolume and PersistentVolumeClaim — an overview with examples
https://itnext.io/kubernetes-persistentvolume-and-persistentvolumeclaim-an-overview-with-examples-3c5688222f99
https://itnext.io/kubernetes-persistentvolume-and-persistentvolumeclaim-an-overview-with-examples-3c5688222f99
Discovering Running Pods By Using DNS and Headless Services in Kubernetes
https://medium.com/swlh/discovering-running-pods-by-using-dns-and-headless-services-in-kubernetes-7002a50747f4
https://medium.com/swlh/discovering-running-pods-by-using-dns-and-headless-services-in-kubernetes-7002a50747f4
externalTrafficPolicy=local on Kubernetes
How to preserve the source IP in Kuberneteshttps://blog.getambassador.io/externaltrafficpolicy-local-on-kubernetes-e66e498212f9
How to Build Your SRE Team
As you implement SRE practices and culture at your organization, you’ll realize everyone has a part to play. From engineers setting SLOs, to management upholding the virtue of blamelessness, to marketing teams conducting retrospectives on email campaigns, there’s no part of an organization that doesn’t benefit from the SRE mentality.https://www.blameless.com/blog/how-to-build-an-sre-team
However, while it’s not necessarily to have people with the title of ‘SRE’ in order to successfully adopt the best practices of SRE, having people who are dedicated to stewardship of SRE practices is important to achieve reliability excellence. In this blog post, we’ll look at some of the many roles an SRE can play, and how to find people with those skill sets.