Skip to content

Trying to do manually VPA inside of kubernetes pod.

Notifications You must be signed in to change notification settings

NYCU-AISF/minikube-VPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minikube-VPA

Trying to do manually VPA inside of kubernetes pod.

Complete

  • Create simple pod with k8s deployment technique
  • Create service for this pod and open internal port
  • Create bash script for automatically access container interactive terminal
  • Ensure that live change of VPA in single pod is not recommended and actually impossible

Research

Aliyun (or other cloud services) support modifying limit spec during runtime
https://partners-intl.aliyun.com/help/en/doc-detail/197267.htm

Trying to inject docker update command into container
https://docs.docker.com/engine/reference/commandline/update/

K8s official shows that updating limit of memory when pod is running is not recommended
kubernetes/kubernetes#39060

Recommended solution: k8s auto-scaling-extension
https://itnext.io/k8s-vertical-pod-autoscaling-fd9e602cbf81

TODO

  • Apply auto-VPA in autoscaling.k8s.io/v1beta2
  • Try to implement plugin for manually kill and recreate new pod through deployment

About

Trying to do manually VPA inside of kubernetes pod.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages