Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Terraform module to ease deployment of the AWS ALB Ingress Controller

License

NotificationsYou must be signed in to change notification settings

qvest-digital/terraform-kubernetes-alb-ingress-controller

Repository files navigation

This Terraform module can be used to install theAWS ALB Ingress Controllerinto a Kubernetes cluster.

Improved integration with Amazon Elastic Kubernetes Service (EKS)

This module can be used to install the ALB Ingress controller into a "vanilla" Kubernetes cluster (which is the default)or it can be used to integrate tightly with AWS-managedEKS clusters which allows the deployed pods touse IAM roles for service accounts.

It is required, that an OpenID connect providerhas already been created for your EKS cluster for this feature to work.

Just make sure that you set the variablek8s_cluster_type toeks type if running on EKS.

Examples

EKS deployment

To deploy the AWS ALB Ingress Controller into an EKS cluster, the followingsnippet might be used.

locals {# Your AWS EKS Cluster ID goes here."k8s_cluster_name" ="my-k8s-cluster"}data"aws_region""current" {}data"aws_eks_cluster""target" {name=local.k8s_cluster_name}data"aws_eks_cluster_auth""aws_iam_authenticator" {name=data.aws_eks_cluster.target.name}provider"kubernetes" {alias="eks"host=data.aws_eks_cluster.target.endpointcluster_ca_certificate=base64decode(data.aws_eks_cluster.target.certificate_authority[0].data)token=data.aws_eks_cluster_auth.aws_iam_authenticator.tokenload_config_file=false}module"alb_ingress_controller" {source="iplabs/alb-ingress-controller/kubernetes"version="3.4.0"providers={    kubernetes="kubernetes.eks"  }k8s_cluster_type="eks"k8s_namespace="kube-system"aws_region_name=data.aws_region.current.namek8s_cluster_name=data.aws_eks_cluster.target.name}

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp