Skip to content

Repositorio para la presentación en el evento Sloth 2019

Notifications You must be signed in to change notification settings

EnriqueTejeda/EKS-SLOTH2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SLOTH 2019 DEMO

Requisitos

  • aws-cli y configurar accesos (aws configure) Instalar
  • aws-iam-authenticator Instalar
  • kubectl Instalar
  • maven
  • jre runtime (Java)

Docker

Crear Fat-Jar de nuestra aplicacion Vert.X

mvn package

Construir Imagen Docker

docker build -t sample/vertx-java-fat .

Terraform

Getting Started

terraform init

Deploy

terraform plan
terraform apply

Setting Up kubectl

mkdir ~/.kube/
terraform output kubeconfig>~/.kube/config

Setting Up ConfigMap

terraform output config_map_aws_auth > configmap.yml
kubectl apply -f configmap.yml

Kubernetes

Creamos namespace

kubectl apply -f sloth-namespace.yml

Instalacion ALB Ingress Controller y RBAC Roles

kubectl apply -f ALB/alb-ingress-controller.yaml
kubectl apply -f ALB/rbac-role.yaml

Deployment FrontEnd

kubectl apply -f FRONTEND/front.yml

Deployment FrontEnd Service

kubectl apply -f FRONTEND/front-service.yml

Deployment Ingress (Balanceador de Aplicacion)

kubectl apply -f INGRESS/ingress.yml

Borrar pods, services, deployments

# delete all pods
kubectl delete --all pods --namespace=default

# delete all deployments
 kubectl delete --all deployments --namespace=default

 # delete all services
kubectl delete --all services --namespace=default

Resources

About

Repositorio para la presentación en el evento Sloth 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published