Coder Social home page Coder Social logo

aks-efk's Introduction

aks-logging

This contains the sourcecodes for 3 types of logging which are easy to implement when using Azure Kubernetes Service.

  • The default out of the box logging, using log analytics and needs no additional configuration. Usage of this is shown in my youtube channel. No sourcecode for this.
  • EFK stack; stands for ElesticSearch FluentD and Kibana and is excellent for centralized application logging. Demo is using the Game of Thrones voting app, results are directly visible in Kibana.

Steps

  • Create your ResourceGroup: az group create -n aks-demo-rg -l westeurope
  • Create your AKS cluster with the following command: az aks create --node-vm-size Standard_D2s_v3 -g aks-demo-rg -n aks-demo-cluster ( we need machines with more than 4GB mem )
  • az aks get-credentials -g aks-demo-rg -n aks-demo-cluster
  • git clone this repo: git clone https://github.com/pariwesh06/aks-efk.git
  • cd elastic-fluentd-kibana
  • 1_labelNodes.sh
  • 2_elasticSearch.sh
  • 3_fluentd.sh
  • 4_kibana.sh
  • Switch to namespace used in scripts efk_demo: kubectl config use-context aks-demo-cluster --namespace efk-demo
  • Please be patient when accessing kibinan...initialization can takeup 15 minutes or so... once you changed the context and namepspace, do: kubectl get svc and access the public ip for accessing Kibana
  • cd ../got-webapp
  • 1_redis.sh
  • 2_helloworld.sh
  • Check the public IP for the got webapp: kubectl get svc --namespace got-webapp

aks-efk's People

Watchers

James Cloos 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.