Skip to content

Discover a complete AKS Cloud Solution with Azure AD Roles, RBAC, and a customizable NGINX Ingress for secure, scalable container orchestration.

Notifications You must be signed in to change notification settings

brandongallagher1999/k8s-terraform-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👋 Terraform, Helm, Azure AD Boilerplate

What is this?

This boilerplate providers you with an autoscaling Kubernetes Cluster, NGINX Ingress Controler, SRE & Developer Azure AD Group, and pre-made Helm boilerplate.

💻 Technologies

  • Terraform
  • Kubernetes
  • Azure

🤔 Why?

Have you ever started up a new project and found yourself wasting hours of your time trying to bootstrap a basic K8s Cluster?

This repo contains all the essentials you need for starting a Kubernetes project with simple permissions. Straight to the point.

Prerequisites

✅ Services Available

📚 Configuration

For each /live/ folder, you must provider a variables.auto.tfvars file to fill out the relavant parameters to your cluster configuration. Each folder contains a variables.tf with a description for each relevant variable you need to provide.

🚀Deployment

Since the Kubernetes & Helm Terraform provider is reliant upon a cluster already being up and running, it is not possible to couple each component of the Cluster in a single Terraform module. This is why it's essential to deploy certain resources in order.

#1. Deploy the cluster.

cd ./infrastructure/live/cluster
terraform init
terraform plan
terraform apply

#2. Deploy the Nginx Ingress Helm chart
cd ./infrastructure/live/helm
terraform init
terraform plan
terraform apply

#3. Deploy the SRE AAD Group & K8s RBAC Binding
cd ./infrastructure/live/ad
terraform init
terraform plan
terraform apply

About

Discover a complete AKS Cloud Solution with Azure AD Roles, RBAC, and a customizable NGINX Ingress for secure, scalable container orchestration.

Resources

Stars

Watchers

Forks

Packages

No packages published