Giter Club home page Giter Club logo

netops's Introduction

NetOps

The Netops pods enforce the QoS Profile for a slice. It uses Linux TC (Traffic Control) for the slice traffic classification.

Get Started

Please refer to our documentation on:

Prerequisites

Before you begin, make sure the following prerequisites are met:

Build and Deploy Netops on a Kind Cluster

To download the latest NetOps docker hub image, click here.

docker pull aveshasystems/netops:latest

Set up Your Helm Repo

If you have not added avesha helm repo yet, add it.

helm repo add avesha https://kubeslice.github.io/charts/

Upgrade the avesha helm repo.

helm repo update

Build docker images

  1. Clone the latest version of NetOps from the master branch.
git clone https://github.com/kubeslice/netops.git
cd netops
  1. Edit the VERSION variable in the Makefile to change the docker tag to be built. The image is set as docker.io/aveshasystems/netops:$(VERSION) in the Makefile. Modiy this if required.
make docker-build

Run Locally on a Kind Cluster

  1. You can load the netops image on your kind cluster using the following command:

    kind load docker-image my-custom-image:unique-tag --name clustername

Example

kind load docker-image aveshasystems/netops:1.2.1 --name kind
  1. Check the loaded image in the cluster. Modify the node name if required.

    docker exec -it <node-name> crictl images

    Example

    docker exec -it kind-control-plane crictl images

Deploy NetOps on a Cluster

Update the chart values file called yourvaluesfile.yaml that you have previously created. Refer to the values.yaml to create yourvaluesfiel.yaml and update the Netops image subsection to use the local image.

From the sample:

netop:
  image: docker.io/aveshasystems/netops
  tag: 0.1.0

Change it to:

netop:
  image: <my-custom-image>
  tag: <unique-tag>

Deploy the updated chart.

make chart-deploy VALUESFILE=yourvaluesfile.yaml

Verify the Installation

Verify the installation of NetOps by checking the status of pods belonging to the kubeslice-system namespace.

kubectl get pods -n kubeslice-system | grep netop

Example output

avesha-netop-pnbbr                         1/1     Running   0          4d23h

License

Apache 2.0 License.

netops's People

Contributors

nishantsingh10 avatar rahul-d78 avatar uma-kt avatar richiesebastian avatar veenamj-avesha avatar kranthi0918 avatar kmjayadeep avatar gourishkb avatar krishsastry avatar srinivas-avesha avatar kon3m avatar bagulm123 avatar rajendra-avesha avatar bharath-avesha avatar pnavali avatar rahulii 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.