A long-awaited Karpenter feature is finally here!
The latest Karpenter release supports Capacity Buffer, eliminating the need for workarounds such as balloon pods to maintain spare node capacity.
A Capacity Buffer defines virtual placeholder pods that exist only in Karpenter’s scheduling simulation — they are never created as actual Kubernetes pods.
These virtual pods tell Karpenter to provision nodes with spare capacity. They participate in each scheduling cycle to maintain the buffer and are automatically refilled as real workloads consume the pre-provisioned capacity.
Benefits over previous workarounds:
• No balloon pods: Eliminates the need for low-priority placeholder deployments and complex PriorityClass configurations.
• More efficient scaling: Capacity can be defined using fixed counts or percentages, allowing spare capacity to scale with your workload instead of over-provisioning entire node pools.
• Automatic replenishment: The buffer is automatically maintained as workloads consume the available capacity.
A much cleaner approach to keeping capacity readily available without relying on Kubernetes scheduling hacks.
-
http://Kubernetes capacity bufferballoon deployment
Buffer api in progress:
https://github.com/kubernetes-sigs/karpenter/issues/2571
https://github.com/kubernetes/autoscaler/pull/8151
Old proposal: pod headroom
-
https://kubernetes.io/docs/tasks/administer-cluster/node-overprovisioning/#:~:text=Node%20overprovisioning%20is%20a%20strategy,in%20traffic%20or%20workload%20demands.VLC permet d'ouvrir un flux réseau (http par exemple) et c'est très pratique pour regarder ses vidéos de vacances en streaming. Le buffer par défaut est un peu léger, on peut l'agrandir au moment d'ouvrir le flux avec ctrl+N, il faut cocher la case "Afficher plus d'options" puis ça se joue dans la case "Mise en cache" qui par défait est à 1000ms, en passant à 20000ms plus de problèmes!
-
https://links.infomee.fr/shaare/t0CzjgPour changer de buffer, je faisais :
:ls (pour récupérer la liste des buffers et trouver le numéro du buffer)
:b5 (pour switcher sur le buffer 5)
Pas trop pratique, du coup une alternative sympa :
Put the following in your vimrc:
set wildchar=<Tab> wildmenu wildmode=full
Ensuite il suffit de faire :
:b <tab>
Pour avoir la liste des buffers et itérer dessus avec tab jusqu'à être sur le bon puis <Enter>
-
http://vim.wikia.com/wiki/Easier_buffer_switchingPresentation des buffer en java du package nio
-
http://monge.univ-mlv.fr/~duris/RESEAU/nioX4.pdf