Jump to content
Changes to the Jaspersoft community edition download ×
  • This documentation is an older version of JasperReports IO 200 At Scale User Guide. View the latest documentation.

    In order for the cluster to scale automatically based on load, it needs an autoscaler app installed and metrics to know the state of each node. Each of these features is installed in the following sections.

    Installing the Cluster Autoscaler

    The cluster autoscaler is an app that monitors utilization in the cluster and is authorized to modify the node groups to fit the current load on your cluster.

    This section relies on the Amazon document “Cluster Autoscaler” located at:

    https://docs.aws.amazon.com/eks/latest/userguide/cluster-autoscaler.html

    Open that document in a separate tab and apply it as follows:

    1. Skip cluster creation using eksctl, because we already created our cluster.
    2. Skip the node group IAM policy, because we already created the EKSNodeInstanceRole.
    3. The autoscaling group tags should already be defined, but it's best to verify them.
    a. Open the AWS web console and locate your cluster.
    b. Select your node group under your cluster.
    c. Locate the autoscaling group created automatically for the node group.
    d. Scroll down to Tags and confirm the following (where JRIOcluster is the cluster name):
    k8s.io/cluster-autoscaler/JRIOcluster owned
    k8s.io/cluster-autoscaler/enabled true
    4. Perform all steps in the section “Deploy the Cluster Autoscaler” of the Amazon document. At the time of publication, the latest version of the autoscaler is 1.7.3, giving the final command as follows:

    Deploying the Kubernetes Metrics Server

    The metrics server is needed to monitor the Kubernetes cluster and collect metrics from each node. The autoscaler uses these metrics to determine node utilization and trigger scaling the node group up or down. You must deploy the metrics server when using the autoscaler.

    The metrics server is installed using the kubectl tool as follows:

    1. Run to following command to check if the metrics server is already installed:
    2. If it's not already deployed, deploy the metrics server with the following command:
    3. Run the first command again to verify that the metrics server is installed:

    This section is based in part on the Amazon document “Tutorial: Deploy the Kubernetes Dashboard (web UI)” located at:

    https://docs.aws.amazon.com/eks/latest/userguide/dashboard-tutorial.html

    If you want to install the dashboard application to have a graphical view of your cluster, follow the remaining steps in that document.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...