Giter VIP home page Giter VIP logo

k8s-workshop's Introduction

k8s-workshop

This project contains the exercises material for the kubernetes workshop by Chaima Mansouri. This will help the audience practice the deployment of a k8s application during the workshop.

Questions store application

Introduction

Questions store is a web application where a user can write their name and the question they have and all the questions will be stored in a central MangoDB deployed in Atlas cloud.

Utility

Questions store is a simple web application that will serve as an exercise for the workshop audience where the user can deploy the application, link it to a database and interact with the UI interface. The user is also able to change the application background and text color.

With that, the user can see the utility of the ConfigMaps, secrets, deployments, Pods, services and Ingress.

The application will also serve as tool for the audience of the workshop to store their questions, so we can have a cleaner, easier and more organized way of handling the Q&A session at the end of the workshop.

Docker

The application was already containerized into a docker image and pushed to the docker hub. It is publicly available and could be pulled using the following command:

 docker push chaimamnsr/questions-store:latest

The application is exposed on port 8080 and in order to run it locally using docker, you should set the database environment variables for it to work. See the following example:

 docker run -it -e DB_PASSWORD=<db_password> -e DB_USER=<db_username> -e DB_USER=<db_name> -p 8080:8080 questions-store:latest

Optional: It is possible to add BG_COLOR and TEXT_COLOR to set the background and text color of the application UI.

Questions store k8s manifests

The questions-store-k8s directory has the kubernetes manifests that will help deploying the application.

k8s-workshop's People

Contributors

chaima-mnsr avatar

Watchers

 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.