issm-mec-cnmp-5g-operator

command module
v0.0.0-...-52300d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

issm-mec-cnmp-5g-operator

This project acts as a VNFM for free5gc network functions.

It implements the Kubernetes Operator which is based on operator-sdk and is responsible to deploy and manage Free 5GC NF components by using declarative Kubernetes Custom Resource Definitions.

Prerequisites

Installation

Log into kubernetes master

golang

Install golang v1.16: https://golang.org/doc/install

then issue

source ~/.profile

validate

go version
operator-sdk

Install operator-sdk v1.8.0 from install-from-github-release

5g-operator

Clone

cd ~
git clone https://github.com/5GZORRO/issm-mec-cnmp-5g-operator.git
cd issm-mec-cnmp-5g-operator
git checkout v3.0.6-dynamic-load

Deploy the operator

make generate
make manifests
make deploy

Wait for controller pod to start

kubectl get pod -n 5g

Notes:

  • before using 'make', load your profile: source ~/.profile
  • to un-install the operator: make undeploy

Build (relevant for developers only)

  1. Edit Makefile with VERSION ?= temp so that the resulted image tag does not collide with the existing one.

  2. Edit Makefile with IMAGE_TAG_BASE with the proper image registry. Note: current version uses an internal registry to hold the operator and 5G network function images.

  3. Build and push the image.

    make generate
    
    make manifests
    
    make docker-build docker-push
    
  4. Deploy the operator

    make deploy
    

Maintainers

Avi Weit - weit@il.ibm.com

David Breitgand - davidbr@il.ibm.com

Licensing

This 5GZORRO component is published under Apache 2.0 license. Please see the LICENSE file for further details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the 5g v1alpha1 API group +kubebuilder:object:generate=true +groupName=5g.ibm.com
Package v1alpha1 contains API Schema definitions for the 5g v1alpha1 API group +kubebuilder:object:generate=true +groupName=5g.ibm.com
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL