GithubHelp home page GithubHelp logo

onosdeploy's Introduction

ONOS DEPLOYMENT On KIND CLUSTER

Step by step onos deployment into kubernetes

Pre-requisites

  • Windows powershell
  • go
  • helm
  • kubectl
  • docker

Create a Kind Cluster with YAML file

kind create cluster --config kind-config.yml

Setup kubeconfig

   kind get kubeconfig > ~/.kube/kind

Create Namespace

kubectl create namespace micro-onos

Setup helm repos

helm repo add cord https://charts.opencord.org
helm repo add atomix https://charts.atomix.io
helm repo add onosproject https://charts.onosproject.org
helm repo update
If the above command fails, try adding one repo at a time 

Installing helm charts

Install atomix- controller

helm install -n kube-system atomix-controller atomix/atomix-controller

Install atomix-raft-storage

helm install -n kube-system atomix-raft-storage atomix/atomix-raft-storage

Install ONOS Operator

 helm install -n kube-system onos-operator onosproject/onos-operator

Install onos-umbrella

helm -n micro-onos install onos-umbrella onosproject/onos-umbrella

Validate if all pods are ruuning

kubectl get pods --all-namespaces

You can attach to:

Onos CLI pod with

$ kubectl -n micro-onos exec -it $(kubectl -n micro-onos get pods -l type=cli -o name) -- /bin/sh
  • µONOS GUI at http://<server_IP>:31191

If you are using KinD as a Kubernetes server, you will have to use a "port-forward" to access the GUI e.g.

$ kubectl -n micro-onos port-forward $(kubectl -n micro-onos get pods -l type=gui -o name) 8182:80

and then access the GUI at

All Namespaces

Namespaces

All pods running and ready

ALlpods

onosdeploy's People

Contributors

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