Code Monkey home page Code Monkey logo

kubesonde's Introduction

workflow frontend_test frontend_deployment Netlify Status

Kubesonde logo

Kubesonde

Kubesonde is a tool to probe and test network security policies in a Kubernetes.

kubesonde infra

Structure of the project

Folders are organised as follows:

  • crd: backend service and kubesonde CRD
  • docs: documentation of the project/ideas.
  • frontend: contains the UI for analysing the probe outputs
  • examples: sample output from Kubesonde

Run Kubesonde

1. Start the kubernetes engine

You can run kubernetes on the cloud, bare-metal or via minikube or kind.

2. Install the app to test

Install the application you want to test (e.g., helm install wordpress bitnami/wordpress). Make sure that the app is running with no errors.

3. Install Kubesonde

To install kubesonde run kubectl apply -f kubesonde.yaml. This creates all the required resources to run kubesonde on your cluster. After that, you can install a scanner object for kubesonde. An example one, targeting only the default namespace is available. Then, you can create a Kubesonde object, for instance:

apiVersion: security.kubesonde.io/v1
kind: Kubesonde
metadata:
  name: kubesonde-sample
spec:
  namespace: default
  probe: all

4. Fetching the results

To fetch the results, you need to use the following commands:

kubectl --namespace kubesonde port-forward deployment.apps/kubesonde-controller-manager 2709. This command creates a port mapping between your local computer and the kubesonde deployment.

curl localhost:2709/probes > <output-file>.json. This command gets the probe result and stores it to an output file.

5. View results

Navigate to the current kubesonde website and upload the generated file to see the results.

Credits

Logo from Elisabetta Russo [email protected]

kubesonde's People

Contributors

deepsourcebot avatar dependabot[bot] avatar jackap avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

simpletab

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.