Skip to content

srideok2/content-eks-deepdive-sample-api-service-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EKS Deep Dive - Continuous Deployment sample API service

A sample Kubernetes service used in the EKS Deep Dive Continuous Deployment lesson.

The Dockerfile is a multi-stage build that compiles the Go application and then packages it in a minimal image that pulls from scratch. The size of this Docker image is ~ 3.2 MiB.

The buildspec.yml file is used by the AWS CodeBuild stage. In this file, it pulls down kubectl, builds the container image, pushes the image to Amazon ECR and then deploys the change to the Amazon EKS Cluster.

In the hello-k8s.yml file, you will find the Kubernetes service and deployment definitions. The service is configured with a LoadBalancer which prompts Kubernetes to launch an external load balancer using an AWS ELB.

About

Sample Kubernetes service used in the EKS Deep Dive Continuous Deployment lesson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 61.4%
  • Dockerfile 38.6%