Switch between runtimes

July 2, 2019 · View on GitHub

Manage command is used to uninstall Cellery from system.
This will remove the configurations from cellery-system,istio-system namespace along with persisted data.

Usage

Interactive CLI mode

  1. Run cellery setup command

    cellery setup
    
  2. Select Switch option

    cellery setup
    [Use arrow keys]
    ? Setup Cellery runtime
        ➤Manage
        Create
        Modify
        Switch
        EXIT
    
  3. Select the runtime that needs to be switched.

    cellery setup
    ✔ Switch
    [Use arrow keys]
    ? Select a Cellery Installed Kubernetes Cluster
     ➤ docker-desktop
       docker-for-desktop
       gke_vick-team_us-west1-b_cellery-cluster87
       kubernetes-admin@kubernetes
    ↓   kubernetes-admin@kubernetes-remote
    
  4. CLI will switch the kubernetes cluster context.

    cellery setup
    ✔ Switch
    Selected cluster: docker-desktop
    
    ✔ Successfully configured Cellery.
    
    What's next ?
    ======================
    To create your first project, execute the command:
      $ cellery init
    

Non Interactive mode

  1. You can get the list of clusters by executing cellery setup list clusters as shown below.
$ cellery setup list clusters
cellery-admin@cellery
docker-for-desktop
  1. Switch the current session to specific session, execute cellery setup switch <CLUSTER_NAME> as example shown below.
$ cellery setup switch cellery-admin@cellery

What's Next?

  • Installation Options - lists all installation options with Cellery.
  • Manage the setup - instructions to start/stop and cleanup the Cellery installations.
  • Modify the setup - instructions to adding and removing selected components to the current cellery installation.
  • Developing a Cell - step by step explanation on how you could define your own cells.