Installation
Install CNOCTL
The CLI can be installed with a curl script, brew or by downloading the binary from the releases page. Once installed you'll get the cnoctl command.
Install with curl:
$ curl -sSL https://raw.githubusercontent.com/beopencloud/cno/main/scripts/cnoctl.sh | sh
Install with brew on MacOs:
$ brew tap beopencloud/cno
$ brew install cnoctl
Install from release:
In the cnoctl release page (https://github.com/beopencloud/cno/releases) download, unarchive the version needed and move the binary to your system PATH.
Example for version v0.0.1 on MacOs:
$ wget https://github.com/beopencloud/cno/releases/download/v0.0.1/cnoctl_0.0.1_Darwin_x86_64.tar.gz
$ tar -xzf cnoctl_0.0.1_Darwin_x86_64.tar.gz
$ mv cnoctl /usr/local/bin/
Verify cnoctl installation
Check that cnoctl is properly installed by getting the command help:
Example for version v0.0.1 on MacOs:
$ cnoctl --help
Quick Installation CNO with CNOCTL
To install CNO you need Kubernetes v1.16 or higher.
Once cnoctl is installed, to install CNO run the following command:
$ cnoctl init --type aks --domain cno-dev.beopenit.com --ingress-type nginx
--domain
: The wirldcard domain configured in the cluster--ingress-type
: The ingress type used in the cluster: nodeport, nginx, router, loadbalancer--namespace
: cno install namespace (default "cno-system")--type
: The kubernetes in which cno is been install type: vanilla, aks, eks, gke (default "vanilla")--version
: cno version to install (default "1.0.0-rc")--with-dataplane
: install cno with a default dataplane (default true)