Skip to content

AdiSchwartz869/excercise

Repository files navigation

Excercise

APP

Python3 flask - To run - python hello.py

Build and run Docker image locally -

  1. Where the Dockerfile run: docker build -t <image_name:tag> .
  2. Run - docker run -p 80:80 <image_name:tag>

Download Docker Image from dockerhub -

  1. Run - docker pull adish869/flask_proj

EKS deployment -

  1. One option to deploy EKS Cluster using eksctl (creates subnets) - eksctl create cluster -f cluster.yaml

  2. Second option to deploy using Terraform (use existing subnets) -

  3. Check deployment - kubesctl get all or kubectl get svc and get the LB external IP (DNS)

  4. Run DNS on browser to see "Hello Illusive"

  • to set EKS Run - aws eks update-kubeconfig --region region-code --name cluster-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published