Onit create
onit create
Setup a test resource on Kubernetes
Synopsis
Setup a test resource on Kubernetes
Examples
# Setup a cluster with a given name that contains one instance of each subsystem (e.g. onos-config, onos-topo) onit create cluster -c my-cluster # Setup a cluster with default name (onos) and enale onos-cli onit create cluster --set onos-cli.enabled=true # Setup a cluster that contains two instances of onos-config subsystem and two instances of onos-topo subsystem onit create cluster --set onos-topo.replicas=2 --set onos-config.replicas=2 # Setup a cluster that has two database partitions onit create cluster --set database.partitions=2 # Setup a cluster to deploy topo and config subsystems using the images with custom tags onit create cluster --set onos-topo.image=onosproject/onos-topo:mytag --set onos-config.image=onosproject/onos-config:latest
Options
-h, --help help for create
Options inherited from parent commands
-c, --cluster string the cluster on which to execute the command -v, --verbose Enable verbose output
SEE ALSO
- onit - Setup test clusters and run integration tests on Kubernetes
- onit create cluster - Setup a test cluster on Kubernetes