Skip to content

joshgriffith1124/homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homework

Create the EKS cluster via terraform.

  • Clone the repo.
  • Hop into the repo root.
  • cd /terraform/eks
  • terraform init
  • terraform plan -var-file=./eks-mytime/eks-mytime.tfvars -state=./eks-mytime/terraform.tfstate -out=./eks-mytime/tf.plan
  • terraform apply -state-out=./eks-mytime/terraform.tfstate ./eks-mytime/tf.plan
  • Once terraform completes you will have a functioning EKS backplane but no joined workers or access to the cluster.

Configure client/cluster

Install dependencies.

AWS CLI

  • aws eks update-kubeconfig --name eks-mytime

EKS worker config - Allows workers to join cluster.

  • kubectl apply -f ./kubernetes/aws_auth.yml

Helm

Installation

Sentry Chart

  • helm install --name mytime -f ./kubernetes/sentry/values.yml stable/sentry
  • Sentry will now be running in the cluster and you can proxy the endpoint to your local machine.

Notes

  • This is not a production ready example. I skipped quite a few things in the interest of keeping the time investment reasonable.
  • The terraform is raw, I would wrap it up in a module given more time.
  • There is no ingress controller installed within the cluster. This would set up an ELB/ngnix to give external https access the Sentry endpoint.
  • External-dns is not installed so you can't handle DNS for the ingress.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages