Giter VIP home page Giter VIP logo

k8s-training's Introduction

Using Kubernetes Training

In this course, you'll learn:

  • The origin, architecture, primary components, and building blocks of Kubernetes
  • How to set up and access a Kubernetes cluster using Kind
  • Ways to run applications on the deployed Kubernetes environment and access the deployed applications

K8s Training with Lets-Chat

In this training we will deploy and scale let's chat application on kubernetes cluster. Let's Chat is a persistent messaging application that runs on Node.js and MongoDB with Nginx at the front.

Let's Chat

Screenshot

Let's Chat Architecture

image

Tasks

  1. Deploy and Explore Lets-Chat-Web
  2. Expose and Scale Lets-Chat-Web
  3. Rolling-Update Lets-Chat-Web
  4. Discover all Lets-Chat microservices
  5. Set Health-Checks and Self-Healing to Containers
  6. Get ENV Values from ConfigMap and Secrets
  7. Inject Files to Containers Using configMap and secret Volumes
  8. Share Directory Between 2 Containers in a Pod Using emptyDir Volume.
  9. Persist Lets-Chat-DB into the Node File-System Using hostPath Volume
  10. Persist Lets-Chat-APP into External Shared File-System Using persistentVolumeClaim Volume
  11. Expose Lets-Chat on FQDN:80 Using Ingress and Nginx-Controller
  12. Write Helm Chart for Lets-Chat-Web
  13. Use Lets-Chat chart-of-charts To Install/Upgrade

Installations

Requirements

Run

vagrant init navivi/k8s-training --box-version 1
vagrant up

Show the desktop VM from VirtualBox,

Login Credentials are:

  • Username: vagrant

  • Password: vagrant

image

Open the Terminal, by clicking the 'Show Applications' at the left bottom and search 'Terminal'

image

In the terminal, run:

./kube-ssh
kind create cluster --config kind.yaml

It may take few minutes to create the kubernetes cluster...

Once it is done, check the cluster is up and ready by runinng:

kubectl get nodes

image

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.