Code Monkey home page Code Monkey logo

container-observation-analysis's Introduction

container-observation-analysis

This project is intended to test an application's resiliency through various chaos experiments. The chosen testing application is taken from https://github.com/mreferre/yelb. You can refer to the original documentation for understanding of Yelb's functions and architecture.

This picture shows the overall setup:

namespace

Project Setup

Create the kubernetes cluster in minikube

Using minikube, create the cluster with 3 nodes and with sufficient memory. Below shows the kubernetes cluster architecture.

kubernetes-cluster

minikube start --driver=virtualbox --no-vtx-check --nodes 3 -p test --memory 3086

Enable Addons

Enable the respective addons to the minikube cluster.

minikube -p test addons enable ingress
minikube -p test addons enable metrics-server

Kubernetes Dashboard

Apply the dashboard and create a service account and rbac for dashboard admin.

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
kubectl apply -f dashboard-admin.yaml

Access the dashboard at :

http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login

Yelb

The picture below shows the architecture of Yelb:

yelb-architecture

Deploy Yelb to the cluster in the application namespace

kubectl create ns application
kubectl apply -f .\Kubernetes\yaml\ -n application

Ingress

Edit hosts file to add yelb.domain.com

kubectl get ing -n application

container-observation-analysis's People

Contributors

cxllieee 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.