vmware-archive / tgik

Official repository for TGI Kubernetes (TGIK)!
Apache License 2.0
834 stars 158 forks source link

Vertical Pod Autoscaling #232

Closed jbeda closed 4 years ago

jbeda commented 4 years ago

https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler

In general how to set requests/limits and what that might look like going forward.

jbeda commented 4 years ago

Monday or Tuesday:

Before episode:

After show (ideally right away but can wait until Monday):

jbeda commented 4 years ago

https://studio.youtube.com/video/p6zCzyBNhLE/livestreaming

jbeda commented 4 years ago

https://github.com/FairwindsOps/goldilocks is relevant.

jbeda commented 4 years ago

Also Google paper on autopilot: https://dl.acm.org/doi/pdf/10.1145/3342195.3387524

jbeda commented 4 years ago

From Duffie: we need to add these two lines to the components.yaml from metrics-server to support kind https://gist.github.com/mauilion/cd10204e924600c15c5c14c97c2ca66b#file-components-yaml-L91-L92 cause the hostnames of the nodes aren't resolvable from the metrics-server pod. and because the serving certs for the kubelet are self signed. (edited)

From Jorge: Office hours video talking about VPA -- https://www.youtube.com/watch?v=5kJ6tJXq-qU&feature=youtu.be&t=2558

jbeda commented 4 years ago

Also from Duffie: https://medium.com/infrastructure-adventures/vertical-pod-autoscaler-deep-dive-limitations-and-real-world-examples-9195f8422724

And folks often use the kube-prometheus and the prom adapter to populate the metrics api in kube https://github.com/coreos/kube-prometheus/tree/master/manifests

jbeda commented 4 years ago

From @embano1: https://twitter.com/embano1/status/1257779994664861696. Some analysis on Autopilot and pointer to Cindy's take.