Sloth
kube-state-metrics
Sloth | kube-state-metrics | |
---|---|---|
21 | 33 | |
8,162 | 5,109 | |
- | 1.2% | |
6.7 | 9.1 | |
9 days ago | 3 days ago | |
Objective-C | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
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.
Sloth
-
Why can't MacOS just TELL ME which program is using the drive I'm trying to eject rather than just have me guess?
That said, after I learned about how to use lsof, I found this little free app called =Sloth (and its github page ), which is just a nice native Mac app serving as a GUI for lsof. It'll let you know exactly which process to quit or kill so your drive can eject happily.
-
The Icelandic Saga Database
Random fact; this website is created and maintained by Sveinbjörn Þórðarson who also made Platypus (https://github.com/sveinbjornt/Platypus) and Sloth (https://github.com/sveinbjornt/Sloth) — software that Mac nerds might be familiar with.
Sveinbjörn is a ball of energy that just radiates positives for human society.
-
Really not liking Xcode these days.
git clone https://github.com/sveinbjornt/Sloth.git
-
Open Ports for macOS – Never Google “How to kill a process by port?” again
a very nice, open source, app that provides similar functionality but also shows open files is Sloth (https://sveinbjorn.org/sloth).
- Red Canary Mac Monitor
-
Is there any way to see what files are being run by applications
Sloth will do what you need.
- Sloth: macOS app that shows all open files, directories, sockets, pipes etc.
- Sloth – A Mac app that shows all open files, directories, sockets, etc.
kube-state-metrics
- Do we have any Prometheus metric to get the kubernetes cluster-level CPU/Memory requests/limits?
-
10 Kubernetes Visualization Tool that You Can't Afford to Miss
git clone https://github.com/kubernetes/kube-state-metrics.git
-
Why is the Prometheus metric 'kube_pod_completion_time' returning empty query results?
https://github.com/kubernetes/kube-state-metrics/blob/main/docs/pod-metrics.md According to this github repo completion is responsible of termination date if I correctly understood .
-
Google Kubernetes Engine's metrics vs Self-managed
kube-state-metrics
-
Prometheus node exporter and cadvisor to send metrics to central prometheus cluster
Those are entirely different types of data. You can get that from something like kube-state-metrics
-
Scaling kube-state-metrics in large cluster
I've never had a cluster of that size, so take it with a grain of salt - but maybe you could try purpose-based sharding? KSM has allowlist and denylist config flags, for configuring which metrics it exposes https://github.com/kubernetes/kube-state-metrics/blob/main/docs/cli-arguments.md
-
Questions about Kubernetes
Kubernetes itself will not notify you, the way I've seen people do this, is to use something like kube-state-metrics or node_exporter, export that to Prometheus (or preferrably VictoriaMetrics because Prometheus is terrible IMO), and then setup alarms on that with alertmanager or equivalent, or just look at dashboards regularly with Grafana. Realistically I recommend only setting alerts on disk usage and application/database latency. CPU and memory utilization isn't a great metric to alert on a lot of the time.
-
EKS scalability best practices
Another tip that you could consider spelling out a little more, is to monitor the number of resources created by Kind. This is somewhat mentioned for jobs and services, but any Kind of which thousands of resources are created will put stress on the control-plane. The total number of resources per namespace/cluster can be monitored with kube-state-metrics. KSM does not emit metrics of resources created from CRDs. These metrics can be implemented with KSM's custom resource state metrics: https://github.com/kubernetes/kube-state-metrics/blob/main/docs/customresourcestate-metrics.md
-
Observability-Landscape-as-Code in Practice
We then have various other Metrics called Kubernetes Workload Metrics. These are the dashboards with names that start with “Kubernetes / Compute Resources / Workload”. These dashboards are specific to the services you are running. They take into account the Kubernetes Workloads in your various namespaces, using kube-state-metrics. For a closer look, check out otel_demo_app_k8s_dashboard.tf.
-
Kubernetes Costs: Effective Cost Optimization Strategies To Reduce Your k8s Bill
The first step to optimizing costs is gaining visibility into your costs using tools. Kubernetes provides a Metrics Server and kube-state-metrics that can give you the overall picture of resource utilization by your cluster. There are more tools that provide more granular breakdowns and provide dashboards with business metrics, infra cost, and alerting functionalities. Here are some strategies to optimize your resource utilization and cloud bills on k8s.
What are some alternatives?
cloudprober - [Moved to cloudprober/cloudprober] An active monitoring software to detect failures before your customers do.
cadvisor - Analyzes resource usage and performance characteristics of running containers.
blueutil - CLI for bluetooth on OSX: power, discoverable state, list, inquire devices, connect, info, …
metrics-server - Scalable and efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
Platypus - Create native Mac applications from command line scripts.
php-fpm_exporter - A prometheus exporter for PHP-FPM.
mtail - extract internal monitoring data from application logs for collection in a timeseries database
k3s - Lightweight Kubernetes
MacForge - 📦 Plugin, App, and Theme store which includes plugin injection for macOS
kubespray - Deploy a Production Ready Kubernetes Cluster
yubiswitch - OSX status bar application to enable/disable Yubikey Nano
kube-metrics-adapter - General purpose metrics adapter for Kubernetes HPA metrics