Coder Social home page Coder Social logo

dev-mountain-fest-ebpf-032022's Introduction

##### Slide for Presentation #####

#########################################################
Demo Video
#########################################################
Part 1: Setup Cilium & Hubble
Part 2: Deploy application with single namespace
Part 3: Deploy application with multiple namespace and apply security policy

#########################################################
Instruction for Operate with Hubble/Cilium
#########################################################

Pre-requiste before start lab

  1. Kubernetes farm without network "Pod network add-on" or remove this existing owner (Status will be not ready)

  2. Install cilium client (binary) for verify cilium status as detail below:
    "curl -L --remote-name-all https://github.com/cilium/cilium-cli/releases/latest/download/cilium-linux-amd64.tar.gz{,.sha256sum}"
    "sha256sum --check cilium-linux-amd64.tar.gz.sha256sum"
    "sudo tar xzvfC cilium-linux-amd64.tar.gz /usr/local/bin"
    "rm cilium-linux-amd64.tar.gz{,.sha256sum}"

  3. Install hubble cli (binary) for track in command line with command below:
    "export HUBBLE_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/hubble/master/stable.txt)"
    "curl -L --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-amd64.tar.gz{,.sha256sum}"
    "sha256sum --check hubble-linux-amd64.tar.gz.sha256sum"
    "sudo tar xzvfC hubble-linux-amd64.tar.gz /usr/local/bin"
    "rm hubble-linux-amd64.tar.gz{,.sha256sum}

  4. Install helm for package management with command below:
    "curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3"
    "chmod 700 get_helm.sh"
    ./get_helm.sh
    ###########################################################
    Example of Kubernetes Farm in Lab:
    :~$kubectl get node
    NAME STATUS ROLES AGE VERSION
    ip-X-X-X-X.ap-southeast-1.compute.internal NotReady worker 27d v1.22.1
    ip-X-X-X-X.ap-southeast-1.compute.internal NotReady control-plane,master 27d v1.22.1
    ip-X-X-X-X.ap-southeast-1.compute.internal NotReady control-plane,master 27d v1.22.1
    ip-X-X-X-X.ap-southeast-1.compute.internal NotReady control-plane,master 27d v1.22.1
    ip-X-X-X-X.ap-southeast-1.compute.internal NotReady worker 27d v1.22.1
    ip-X-X-X-X.ap-southeast-1.compute.internal NotReady worker 27d v1.22.1
    ###########################################################

dev-mountain-fest-ebpf-032022's People

Contributors

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