Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Idea to Production - with Gitlab and Kubernetes

542 views

Published on

Setting up a continuous delivery pipeline form scratch with gitlab.com and Kubernetes (Google Container Service GKE) on Google Cloud Platform.

The entire source code is available at https://github.com/Pindar/gcloud-k8s-express-app
Blog post https://www.itnotes.de/gitlab/kubernetes/k8s/gke/gcloud/2017/03/05/idea-to-production-with-gitlab-and-kubernetes/

Published in: Technology
  • Be the first to comment

Idea to Production - with Gitlab and Kubernetes

  1. 1. …with Gitlab and Kubernetes
  2. 2. Simon Dittlmann Saving the world from toil since 1998 Developer/Ops, technology nerd #IoT, #docker, #js, #frontend, #infrastructure, #kubernetes Contact SimonDittlmann github.com/Pindar dittlmann.com
  3. 3. Gitlab CI Kubernetes Google Cloud Platform One review app per feature branch
  4. 4. Code Push to Gitlab Build / Test Deploy to Kubernetes / GKE Push to Google Container Registry
  5. 5. Master Feature Branch deployed to own namespace Master is always deployed to staging Tagged commits can be deployed to production v1.0.3
  6. 6. ☁ 1. Create your Google Cloud Platform Account 2. Create project and enable billing 3. Create GKE (Kubernetes) cluster and a service account
  7. 7. 1. Configure »Secret Variables« 2. Configure »Specific Runners« 3. Run pipeline
  8. 8. 1. Get ingress IP kubectl --namespace=production get ing and update your DNS ;; ANSWER SECTION:citeststaging.example.com. 119 IN A 130.211.45.XXX 2. Check your staging and production URL
  9. 9.
  10. 10. https://www.flickr.com/photos/njhaupt/14062838908/sizes/l https://www.flickr.com/photos/97577184@N04/10996006714/ http://devopsreactions.tumblr.com/post/79448238067/manual-failover

×