Giter Site home page Giter Site logo

distributed_system_nccu_6ssz's Introduction

What's in the folder

  • K8s: deploy K8s and nfs server VM environment
  • EFK-kubernetes: deploy EFK to k8s
  • Frontend: Vue frontend package with DockerFile
  • Backend: Express backend package
  • k8s-config: yaml file for deployment
    We separate this project into two parts, frontend and backend.

Install

Kubernetes & Kubernetes Dashboard

  • you can see the README file in the 'K8s' folder and follow the descrptions.

Prometheus, Grafana

  • helm install prometheus stable/prometheus-operator
  • Then, you can use 'kubectl port-forward deployment/prometheus-grafana 3000' to forward port and use 'http://localhost:3000' to open Grafana.

Fluentd

  • you can see the README file in the 'EFK-kubernetes' folder and follow the descrptions.

Docker Image (Frontend)

  • docker build -t frontend .
  • docker tag ds_frontend gokudera17/ds_fronted
  • docker push gokudera17/ds_frontend

Deploy

In this section, you can use yaml file in 'k8s-config' to deploy service.

Kubernetes deploy (Frontend)

  • kubectl create -f myweb-frontend.yaml

Kubernetes deploy (Backend)

  • kubectl apply -f myweb-backend.yaml
  • kubectl apply -f servicemonitor-web.yaml

Kubernetes deploy (Mysql)

  • kubectl apply -f mysql.yaml
  • kubectl apply -f mysql-secret.yaml
  • kubectl apply -f mysql-init-configmap.yaml
  • kubectl apply -f mysql-configmap.yaml

Kubernetes deploy (Ingress)

  • kubectl apply -f backend-ingress.yaml

distributed_system_nccu_6ssz's People

Contributors

gokudera17 avatar trellixvulnteam avatar patchtester avatar det23hat avatar dwindlet 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.