Skip to content

bygui86/k8s-jx-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End-to-End Continuous Delivery on Kubernetes - Preliminary steps

We are looking forward to working with you at the Workshop Tage 2018 at the ETH Zurich!

1. Required accounts

First of all we need a couple of FREE accounts:

  1. A free GitHub account. If you don't have it already, open it here

  2. A free Google account. If you don't have it already, open it here

  3. Once your Google account is active, you have to activate the Google Cloud Platform (GCP) free trial. To activate it, follow the instrcutions on this site


2. Configuring local environment

  1. [OPTIONAL] [MAC-OS-X-USERS] If you are using MacOsX, please install homebrew following official instructions. This is going to be really useful from now on. Linux users should have already by default apt-get or yum.

  2. Install the Google Cloud SDK using these instructions. Before install, have a look on prerequisites.

  3. Install the Kubectl command line interface following these instructions

  4. As a worst case backup install the Minikube following official instructions.

PLEASE NOTE: We will try to work on the GCP, but if for any reason this is not going to work, the Minikube is a pretty good alternative.


3. Workshop

  • If you landed directly on GitHub, open this document to follow the steps of the workshop

  • If you come from the workshop steps document, go back to it and proceed ;)


4. Sample applications

We have already prepared a repo with a couple of sample applications:

  • producer-service

    This is a simple stand-alone service exposing 2 endpoints:

    • "/greetings": returning a greeting string
    • "/info": return a json object with application name, id and datetime of the response
  • consumer-service

    This is simple service depending on the producer-service, exposing 4 endpoints:

    • "/greetings": returning a greeting string
    • "/greetings/all": returning a list of greeting strings, from current application and from the producer-service
    • "/info": return a json object with application name, id and datetime of the response
    • "/info/all": return a list of json objects, from current application and from the producer-service