Skip to content

xebialabs-community/deploy-to-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploy-to-k8s

This Repo has the sample code to demonstrate how to create an automated release and deployment pipeline to deploy applications to a Kubernetes cluster in the cloud using Digital.ai Deploy and Release.

Alt text

https://www.youtube.com/watch?v=pZl7rx-v-Xo

Here's the link to the step-by-step documentation.

How to run this workflow:

  1. Fork this repo to your personal git hub repo
  2. Enable workflow in Git hub action
  3. Clone repo to your local machine
  4. Fill details in aws/release and aws/deploy secrete.xlvals and valules.xlvals
  5. Use xl-cli to apply dairelease.yaml and daideploy.yaml
  6. Make sure infra is created properly on both release and deploy server
  7. On git hub add below secret image
  8. Create a webhook and select Pull request event, do not add any secret to webhook image
  9. Create a Pull request and merge it to master and see application is deployed to aws EKS cluster using DAI Release/Deploy Pipeline.

References:

  1. https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html
  2. https://aws.amazon.com/blogs/opensource/network-load-balancer-nginx-ingress-controller-eks/
  3. https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html
  4. https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/setting-up-eksctl.html
  5. https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
  6. https://docs.xebialabs.com/v.10.2/release/how-to/install-the-xl-cli#manage-the-xl-cli-config-file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •