Giter Club home page Giter Club logo

hands-on-with-container-orchestration-using-docker-swarm-and-kubernetes's Introduction

DevOps playground hands on with container orchestration using Docker Swarm and kubernetes

Before we begin

Our workshops will help you to understand the basics of the container orchestration tools. It will be a ~60 minutes hands on session which should give you enough understanding to further explore one of the tools (or both) with a little help from the documentation.

If you see <something> formatted this way It either require an input from you or refers to the output specific to your environment.

You will have two instances, which will be initially configured in the same way. During the workshops We will configure one of your instances as a master/manager, and the second will be a worker. We will be performing operations on both of them during this session so please follow the instructions carefully.

Prerequisites

On both instances You have docker, kubeadm, kubectl and kubelet installed. Installation is specific for different OSes. The instructions can be found below:

Note: This content is prepared for hands-on workshops, nevertheless if you would like to recreate the environment please see the scripts directory, you will need two ubuntu instances (local i.e virtualbox or cloud hosted)

Agenda

The hands-on session will be divided to four parts:

  • Deploy web application as standalone container:
    • We will create a docker image containing simple web application using Dockerfile
    • We will run the container using previously created images
    • We will investigate and access our deployment
  • Deploy and use load-balancer:
    • We will create loda-balancer configuration
    • We will run the container using official haproxy images
    • We will mount our configuration as a volume
    • We will access our application through the load-balncer
  • Deploy application on the Swarm cluster:
    • We will initialise Swarm cluster and add worker node
    • We will deploy and scale our application
    • We will simulate the failure of one the nodes
    • We will "drain" one of the nodes to see how routing mesh works
  • Deploy application on the Kubernetes cluster:
    • We will initialise the Kubernetes cluster
    • We will deploy our application to the Kubernetes cluster
    • We will expose our deployment using NodePort resource
    • We will scale our application and investigate its behaviour

What skills/capabilities you will have after the workshop:

  • You will be able to containerise and deploy an application
  • You will be able to set up Docker Swarm and Kubernetes cluster
  • You will be able to deploy your applications using orchestration tools

hands-on-with-container-orchestration-using-docker-swarm-and-kubernetes's People

Contributors

mdanidl avatar pil3q avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.