Try   HackMD

Rancher - Cluster

Requisitos:

  • Ingresar a tu plataforma de Rancher

Como crear un cluster

Una vez que hayas ingresado a la plataforma de Rancher te redireccionará a la ruta principal donde se encuentra la lista de los clusters.

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 →

Para crear un nuevo cluster deberás dar clic sobre el botón Add Cluster.

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 dar clic en el botón Add Cluster te llevará a una nueva ruta en donde te pedirá que selecciones el tipo de Cluster que debes, en este caso selecciona Amazon EC2.

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 seleccionar Amazon EC2 te llevará a una ruta donde deberás colocar la información del Cluster.

En la primera sección deberás ingresar el nombre del Cluster, así como deberás ingresar los nodos de tu Cluster.

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 →

Para los nodos deberás seguir la siguiente convención:

  • Para los nodos master, deberás ingresar: <identificador-cluster>-master-<letra-zona-disponibilidad>-
  • Para los nodos workers, deberás ingresar: <identificador-cluster>-worker-<letra-zona-disponibilidad>-

En ambos casos, Rancher agregará un índice al final de cada nodo. Si quieres saber más acerca de las zonas de dispobilidad, visita la documentación de AWS Regiones y Zonas de Disponibilidad

Una vez que ingreses el nombre, deberás seleccionar el template del nodo. Además, deberás seleccionar el tipo de recurso a crear, en caso de un Master deberás seleccionar:

  • etcd
  • Control pane

En el caso de un Worker solo deberás seleccionar:

  • Worker

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 →

Para agregar un nuevo nodo, da clic sobre el botón Add Node Pool.

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, iremos a la sección de Cluster Options. Donde nos enfocaremos en dos puntos:

  • Network provider: Aquí seleccionaremos la opción Canal
  • Cloud Provider: Seleccionaremos Amazon (In Tree)

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 →

Por último, iremos a la sección de Advanced options, dentro de esta sección, identificaremos etcd Snapshot Backup Target y seleccionaremos la opción de s3.

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 →

Después de seleccionar s3 se desplegaran algunas opciones para llenar la configuración del bucket s3.

Una vez que hayas llenado la configuración podrás crear el Cluster, para ello ve al final de la página y da clic en Create.

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, Rancher te redireccionará a la página principal, en donde podrás ver la información de tu cluster, el cual tardará algunos minutos en crearse.