eii-operator

command module
v0.0.0-...-e06b190 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

README

EII Operator

EII operator has been developed by looking into the consul-operator: https://github.com/nokia/industrial-application-framework using the golang operator SDK.

Steps to deploy EII operator

Pre-requisite:

  1. Have an existent single node k8s cluster
  2. Operator SDK installated with below operator sdk and go versions:
$ operator-sdk version
 operator-sdk version: "v1.12.0", commit: "d3b2761afdb78f629a7eaf4461b0fb8ae3b02860", kubernetes version: "1.21", go version: "go1.16.7", GOOS: "linux", GOARCH: "amd64"
$ go version
 go version go1.16.7 linux/amd64

Steps to deploy EII operator is as below:

cd eii-operator/
make docker-build IMG=docker-registry.vepro.nsn-rdnet.com/appfw/eii-operator:0.1
make deploy IMG=docker-registry.vepro.nsn-rdnet.com/appfw/eii-operator:0.1

If the eii-operator pod is not successfully deployed and running, we can undeploy the eii operator w/ below command:

make undeploy

If we face issues where eii-operator-system namespace is not been getting deleted successfully, please run the below command additionally after make undeploy:

kubectl get namespace eii-operator-system -o json \
  | tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
  | kubectl replace --raw /api/v1/namespaces/eii-operator-system/finalize -f -![image](https://user-images.githubusercontent.com/19564820/160636297-3fa487f5-35a4-4b78-9ae4-9d9d662f71ac.png)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the app.dac.nokia.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.dac.nokia.com
Package v1alpha1 contains API Schema definitions for the app.dac.nokia.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.dac.nokia.com
the purpose of this module to filter every event which doesn't have any meaning for the applications.
the purpose of this module to filter every event which doesn't have any meaning for the applications.
libs
pkg

Jump to

Keyboard shortcuts

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