Kubernetes-Volume-Autoscaler
Chalice-PynamoDB-Docker-Starter-Kit
Kubernetes-Volume-Autoscaler | Chalice-PynamoDB-Docker-Starter-Kit | |
---|---|---|
16 | 5 | |
248 | 7 | |
1.2% | - | |
7.1 | 1.5 | |
7 months ago | 12 months ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Kubernetes-Volume-Autoscaler
- Toyota blames factory shutdown in Japan on ‘insufficient disk space’
-
[AWS] EKS vs Self managed HA k3s running on 1x2 ec2 machines, for medium production workload
Additionally if you don't know, Kubernetes freshly setup, especially AWS's EKS is largely useless after you first set it up. You need to then install roughly a dozen other services into it to make it "do all the magic automatically". Services such as aws-ebs-csi-driver, (optional) aws-efs-csi-driver, (optional) aws-fsx-csi-driver, aws-load-balancer-controller, (optional) aws-node-termination-handler, cluster-autoscaler, (optional) external-dns, logs cascading engine (eg: fluentd-elasticsearch / fluent-bit-elasticsearch / datadog), grafana, prometheus, your ingress controller of choice (I prefer and recommend ingress-nginx), and the Kubernetes Volume Autoscaler to auto-scale up EBS volumes. (shameless plug: I wrote the volume-autoscaler)
-
Monitoring many cluster k8s
Shameless Plug: Here's one of my dashboards I made for Ingress-Nginx, which is my recommended border router/gateway into all the services. It adds deep robust metrics and configurability, and if you've got years of experience with Nginx also, it allows you rich complex customization via nginx's configuration structure via kubernetes annotations. Besides that I have open-source helm charts which are easy to use, boilerplates showing how to use them, a volume autoscaler to automatically resize your disks as they get full, and a blog where I share various of my experience which is a companion blog to my upcoming book of the same name. Hope this helps! Feel free to ask if you have any further questions.
-
QUESTION: What is the best way to learn kubernetes?
Do not waste your timesetting up your own Kubernetes cluster; use any cloud provider's fully managed Kubernetes cluster, and then learn how to configure everything on it to do everything you want. Typically, there are anywhere between 10-30 foundational services you'll want to install on it to make everything work. Things such as Cluster-Autoscaler, an ingress controller, a mesh network technology, various CSI volume provisioners, a runner for your chosen CI/CD platform, a disk volume autoscaler (shameless plug I wrote this) etc. Learn to deploy Helm charts on it, and learn to deploy some of your services onto it, exposing them to the internet. Learn to install and use Prometheus and Grafana on it to get in-depth metrics and visualization. Learn how to use Prometheus Alertmanager to trigger alerts to your email, webhooks, slack, etc. There's a lot to learn, and it may feel intimidating, but get the ball rolling and incrementally improve/expand your experience.
-
How do you guys on Mac M1's get around the annoying port forwarding issues with k8s + docker?
References: I use docker and Kubernetes daily. I currently manage numerous clusters and maintain pipelines for hundreds of microservices as I type this. I've been converting microservices into Docker images for companies hundreds if not thousands of times by now over the last bunches of years. I am also an avid and passionate open-source evangelist and Kubernetes/DevOps consultant. I author some Kubernetes controllers such as the Volume Autoscaler and have a set of Open Source Helm Charts and I love to contribute code/fixes wherever I run into issues.
-
Accessing the Underlying Node
Old justifications for this were to resize drives but all major cloud providers support handling the resizing operation for you now. You still need to trigger the resize. But with a controller like the Kubernetes Volume Autoscaler you don’t even need to do that!
-
Monthly 'Shameless Self Promotion' thread - 2023/01
An new open-source Kubernetes controller, the Kubernetes Volume Autoscaler, which auto-resizes your Persistent Volumes when they get almost full
-
Monthly 'Shameless Self Promotion' thread - 2022/11
Kubernetes Volume Autoscaler - An Kubernetes Controller to automatically scale up volumes (disks). I just recently released an update based on some feedback, adding Prometheus metrics support and fixing a few bugs
-
How do you prevent overprovisioning
Autoscale everything. There’s no over provisioning if it just provisions as needed. HPA and Cluster Autoscaler and for disks I wrote and use the Volume Autoscaler. Nodes disappear as needed and appear as needed. I generally even do spot instances in production. All assuming you are using a cloud provider.
-
What are some must-have, can’t-live-without 3rd party apps/tools you have installed in your k8s clusters?
Volume Autoscaler - Automatically scale up your disks size, keeping your costs low and allowing you to grow over time. Also making one less thing your sysops/devops person has to do. (Shameless plug, I wrote this)
Chalice-PynamoDB-Docker-Starter-Kit
-
Is there a typical setup for building and deploying python to lambda using terraform?
If you want a starter kit to get running faster with it you might want to check out my Chalice PynamoDB starter kit which uses docker to have a great local development experience which is pretty lacking elsewhere.
-
Serverless Lambda Rest-API is good?
Check it out: https://github.com/DevOps-Nirvana/Chalice-PynamoDB-Docker-Starter-Kit
-
AWS Lambda, a good host for a rest API?
If you want to get started with this framework, I've made a simple Docker and Docker Compose starter-kit I invite you to play with. It is Python, however. Check it out if it helps: https://github.com/DevOps-Nirvana/Chalice-PynamoDB-Docker-Starter-Kit
-
How do you guys on Mac M1's get around the annoying port forwarding issues with k8s + docker?
Here's an example Docker-compose file on an open-source example/best practices repo for using AWS, Chalice, DynamoDB, PynamoDB, and more. I guarantee this will work on your mac, because this works on both of mine. Once I run it, I can jump into my browser and use http://localhost:8001 to review the admin interface for DynamoDB. This works perfectly!
-
Monthly 'Shameless Self Promotion' thread - 2023/01
(just authored yesterday) A repository that is a starter-kit for folks to get into authoring REST APIs via AWS Lambda at very low-cost with Python and DynamoDB with my Chalice PynamoDB Docker Starter-Kit. This is something I've been playing with and using at various microservices and startups recently and figured I should open source something.
What are some alternatives?
pvc-autoresizer - Auto-resize PersistentVolumeClaim objects based on Prometheus metrics
Universal-Kubernetes-Helm-Charts - Some universal helm charts used for deploying services onto Kubernetes. All-in-one best-practices
Grafana-Dashboards - A variety of open-source Grafana dashboards typically for AWS and Kubernetes
playwright-testing
SparrowCI - SparrowCI - super fun and flexible CI system with many programming languages support
kube-reqsizer - A Kubernetes controller for automatically optimizing pod requests based on their continuous usage. VPA alternative that can work with HPA.
autoscaler - Autoscaling components for Kubernetes
dyrectorio - dyrector.io is a self-hosted continuous delivery & deployment platform with version management.
Helm-Chart-Boilerplates - Example implementations of the universal helm charts
featbit - A feature flags service written in .NET
sparrowci_web - ci.sparrowhub.io website
lambda2docker - Generate a Dockerfile from an AWS Lambda function