Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.64 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.64 KB
  • Setup the following secrets for secret as env variables when running the bootstrap script

    1. DOCKER_USERNAME - to push/pull image to docker hub
    1. DOCKER_PASSWORD - to push/pull image to docker hub

image

-- bootstrap.sh steps:-

  • Docker login
  • Build JAVA image using Dockerfile in java-app folder
  • Push to DOCKER HUB
  • Remove local copy
  • Build GOLANG image using Dockerfile in golang-app folder
  • Push to DOCKER HUB
  • Remove local copy
  • kubectl apply JAVA Deployment, Service
  • kubectl apply GOLANG Deployment, Service
  • kubectl apply INGRESS and CANARY INGRESS for JAVA Service with 30% weight

  • Prereq:
  • minikube with nginx ingress controller installed

Validation:

  • JAVA and GOLANG APP service available with LB image image

image


  • Ingress:

image