Skip to content

Sample Kubernetes service used in the EKS Workshop CI/CD CodePipeline module

Notifications You must be signed in to change notification settings

aidofitz/eks-workshop-sample-api-service-go

This branch is 1 commit ahead of rnzsgh/eks-workshop-sample-api-service-go:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3c311a6 · Jun 30, 2021

History

16 Commits
Oct 18, 2018
Oct 26, 2018
Oct 26, 2018
Nov 28, 2019
Oct 26, 2018
Jun 30, 2021

Repository files navigation

eks-workshop-sample-api-service-go

A sample Kubernetes service used in the EKS Workshop CI/CD Pipeline module.

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 Workshop CI/CD CodePipeline module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 64.9%
  • Dockerfile 35.1%