Rancher - Scale Down
En Rancher es posible realizar una técnica de Scale down, a continuación te mostraremos cómo realizarlo.
Scale Down
Lo primero que debes hacer es seleccionar tu Cluster en el que aplicarás el Scale down.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Posteriormente, seleccionaremos los nodos que se eliminarán del Cluster y daremos clic en el botón Cordon.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Una vez que hayas dado clic en Cordon, ele nodo cambiará su estado a Cordoned, después da clic en el botón Drain.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Posteriormente, aparecerá una ventana donde seleccionarás Delete Empty Dir Data, 30 segundos en Ignore the defaults and give each pod, y 300 segundos a Give up after. Una vez que tengas esa configuración, da clic en el botón Drain.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Una vez que el nodo se haya drenado, daremos clic en el botón de los 3 puntitos del pool, para abrir un submenú.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Al abrir el submenú, daremos clic en el bóton Delete.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Rancher pedirá que confirmes el proceso de eliminar.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Scale Down para Pool con más de un nodo
En el escenario en el que el uno de los Pool contenga más de un nodo, se puede realizar un Scale down para que se elimine solo uno de los nodos.
Veamos el siguiente ejemplo de un Pool con dos nodos.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Lo primero que deberás hacer es seleccionar el nodo que quieras eliminar y dar clic en el botón Cordon.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Una vez que el nodo este en estatus Cordoned, deberás dar clic en el botón Drain.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Rancher te pedirá que confirmes la eliminación del nodo. Deberás seleccionar, Delete Empty Dir Data, colocar 30 segundos en Ignore the defaults and give each pod y 300 segundos en Give up after. Una vez que tengas esta configuración, da clic en Drain.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Una vez que el nodo se encuentre en estatus Drained, deberás dar clic en el botón Uncordon.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Con esto, el nodo pasará a un estado activo, pero se encontrará vacío. Posteriormente, da clic en el botón con el símbolo de menos (-).
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Finalmente, el nodo se comenzará a eliminar y después de unos segundos se eliminará.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →