System requirements
Supported Kubernetes Version
CNO is an open source project mainly made up of several components and divided into:
Minimal Sizing
- CNO
- 4 GB or more of RAM.
- 2 CPUs or more.
- Data Plane:
- 100MB
- 100m CPU
Network Considerations
Depending on the installation type, CNO uses service types NodePort or LoadBalancer or Ingress to expose the User Interface.
Disconnected Installation
Depending on the installation type, CNO uses service types NodePort or LoadBalancer or Ingress to expose the User Interface.
- Pulling CNO images
- Getting CNO Manifests
Pulling CNO images:
The images to pull for cno install:
#Setting registry images
KEYCLOAK_OPERATOR_IMAGE= "quay.io/keycloak/keycloak-operator:12.0.1"
KEYCLOAK_IMAGE= "quay.io/keycloak/keycloak:12.0.1"
KEYCLOAK_POSTGRESQL_IMAGE= "registry.access.redhat.com/rhscl/postgresql-10-rhel7:1"
KAFKA_OPERATOR_IMAGE= "strimzi/operator:0.20.0"
KAFKA_TOPIC_OPERATOR_IMAGE= "strimzi/operator:0.20.0"
KAFKA_USER_OPERATOR_IMAGE= "strimzi/operator:0.20.0"
KAFKA_TLS_SIDECAR_ENTITY_OPERATOR_IMAGE= "strimzi/kafka:0.20.0-kafka-2.5.0"
KAFKA_BROKER_IMAGE= "strimzi/kafka:0.20.0-kafka-2.5.0"
KAFKA_ZOOKEEPER_IMAGE= "strimzi/kafka:0.20.0-kafka-2.5.0"
MYSQL_OPERATOR_ORCHESTRATOR_IMAGE= "quay.io/presslabs/mysql-operator-orchestrator:0.4.0"
MYSQL_IMAGE= "percona@sha256:713c1817615b333b17d0fbd252b0ccc53c48a665d4cfcb42178167435a957322"
MYSQL_SIDECAR_IMAGE= "quay.io/presslabs/mysql-operator-sidecar:0.4.0"
MYSQL_EXPORTER_IMAGE= "prom/mysqld-exporter:v0.11.0"
CNO_API_IMAGE= "beopenit/cno-api:latest"
CNO_NOTIFICATION_IMAGE= "beopenit/cno-notification:v0.0.1-alpha"
CNO_UI_IMAGE= "beopenit/cno-ui:latest"
These images must be pushed in a private registry for cno to be able to used them.
Getting CNO Manifests:
Clone the cno repository:
$ git clone https://github.com/beopencloud/cno.git
The repository must be put in a private git server.
Editing scripts
To perform the installation, edit the following scripts, depending on the exposition type:
cno -> scripts -> control-plane -> install*.sh
cno -> scripts -> data-plane -> install*.sh
The set the new private RAW git repo for the files to be downloaded, as shown in the following example:
CNO_RAW_REPOSITORY= "https://raw.githubusercontent.com/beopencloud/cno"
Then set the new image urls, as shown in the previous paragraph.