1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Just wanted to understand how are you scaling instances ? Are you not leveraging Cluster Autoscaler or Karpenter which takes care of scale in and out automatically. If none of this is implemented, you can try safely draining the node. https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a un an
Just to clarify my question: we have a k8s cluster for development purposes, and we have many apps (each app running on a pod) running on different nodes. our strategy is to first run an instance and fill it with as many applications as possible, then scale up a new instance if needed. Until there everything is working fine. Sometimes we need to stop an app (eg the app is running on node1), and now we have node1 which can handle an additional pod. My question is if Cluster Autoscaler or Karpenter can move a pod from node2 to node1 so if node2 is empty of pods can be scaled down?