I'm planning to launch a Kubernetes cluster with multiple types of images in terms of how compute/memory intensive they are. Also, the same image may use varying levels of cpu/memory depending on the input parameters when running it as a container. These containers are ran in a multi tenant environment that there are multiple users, running multiple containers with different inputs. Is there a way to measure how much resource each container use during it's run so that each user can be charged for the total amount of infrastructural resources their containers use?
question from:https://stackoverflow.com/questions/65865924/measure-resource-utilization-per-container-in-a-kubernetes-cluster