The Netops pods enforce the QoS Profile for a slice. It uses Linux TC (Traffic Control) for the slice traffic classification.
Please refer to our documentation on:
Before you begin, make sure the following prerequisites are met:
- Docker is installed and running on your local machine.
- A running
kind
cluster. kubectl
is installed and configured.- You have prepared the environment to install
kubeslice-controller
on the controller cluster andworker-operator
on the worker cluster. For more information, see Prerequisites.
To download the latest NetOps docker hub image, click here.
docker pull aveshasystems/netops:latest
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
- Clone the latest version of NetOps from the
master
branch.
git clone https://github.com/kubeslice/netops.git
cd netops
- Edit the
VERSION
variable in the Makefile to change the docker tag to be built. The image is set asdocker.io/aveshasystems/netops:$(VERSION)
in the Makefile. Modiy this if required.
make docker-build
-
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
-
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
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 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
Apache 2.0 License.