Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Select Git revision
  • 98209d09006f64e37c641893fe376baf3a9641bf
  • v4.32.1-EBSI default
  • fix_v4_chine
  • gh-pages
  • main protected
  • upgrade_bluegreen_on_gitops_bridge
  • feat/example-update
  • feat/p5-1_23
  • feat/p5-distributed
  • blueprints-workshops
  • v4
  • argo-multi-cluster
  • v4.32.1-EBSI-patch3
  • v4.32.1-EBSI-patch2
  • EBSI-1
  • v5.0.0
  • v4.32.1
  • v4.32.0
  • v4.31.0
  • v4.30.0
  • v4.29.0
  • v4.28.0
  • v4.27.0
  • v4.26.0
  • v4.25.0
  • v4.24.0
  • v4.23.0
  • v4.22.0
  • v4.21.0
  • v4.20.0
  • v4.19.0
  • v4.18.1
32 results

add-ons

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Vara Bonthu authored and GitHub committed
    * precommit format applied
    
    * terraform-docs: automated action
    
    * Updated Keda docs
    
    * Files formatted with terraform fmt
    
    * Updated docs and prometheus default values
    
    * precommit format applied
    
    * terraform-docs: automated action
    
    * fixed the documentatio
    
    Co-authored-by: default avatargithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
    98209d09
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    Kubernetes Addons Module

    The kubernetes-addons module within this framework allows you to deploy Kubernetes add-ons using both the Terraform Helm and Kubernetes providers with simple true/false flags.

    The framework currently provides support for the following add-ons.

    Add-on Description
    Agones Deploys Agones into an EKS cluster.
    AWS for Fluent Bit Deploys Fluent Bit into an EKS cluster.
    AWS Load Balancer Controller Deploys the AWS Load Balancer Controller into an EKS cluster.
    AWS Distro for Open Telemetry Deploys the AWS Open Telemetry Collector into an EKS cluster.
    cert-manager Deploys cert-manager into an EKS cluster.
    Cluster Autoscaler Deploys the standard cluster autoscaler into an EKS cluster.
    Fluent Bit for Fargate Adds Fluent Bit support for EKS Fargate
    EKS Managed Add-ons Enables EKS managed add-ons.
    Metrics Server Deploys the Kubernetes Metrics Server into an EKS cluster.
    Nginx Deploys the NGINX Ingress Controller into an EKS cluster.
    Prometheus Deploys Prometheus into an EKS cluster.
    Traefik Deploys Traefik Proxy into an EKS cluster.
    Windows VPC Controller

    Usage

    In order to deploy add-ons with the default configuration, simply enable the add-ons via Terraform properties.

    metrics_server_enable = true            # Deploys Metrics Server Addon
    
    cluster_autoscaler_enable = true        # Deploys Cluster Autoscaler Addon
    
    prometheus_enable = true                # Deploys Prometheus Addon

    The following demonstrates how you can supply optional Helm configuration, including a dedicated values.yaml file.

    metrics_server_helm_chart = {
        name           = "metrics-server"
        repository     = "https://kubernetes-sigs.github.io/metrics-server/"
        chart          = "metrics-server"
        version        = "3.5.0"
        namespace      = "kube-system"
        timeout        = "1200"
    
        # (Optional) Example to pass metrics-server-prometheus-values.yaml from your local repo
        values = [templatefile("${path.module}/k8s_addons/metrics-server-values.yaml", {
            operating_system                = "linux"
        })]
    }

    By default, the module is configured to fetch Helm Charts from Open Source repositories and Docker images from Docker Hub/Public ECR repositories. This requires outbound Internet connection from your EKS Cluster.

    Alternatively you can download the Docker images for each add-on and push them to an AWS ECR repo and this can be accessed within an existing VPC using an ECR endpoint. For instructions on how to do so download existing images, and push them to ECR, see ECR instructions. Each individual add-on directory contains a README.md file with info on the Helm repositories each add-on uses.