Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Latest commit

 

History

History
98 lines (85 loc) · 2.82 KB

manage-setup.md

File metadata and controls

98 lines (85 loc) · 2.82 KB

Cleanup Cellery system components

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 Manage option

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

    ✔ Manage
    [Use arrow keys]
    ? Select a runtime
        Local
        GCP
        Existing cluster
      ➤ BACK
    
  4. Select cleanup option.

    cellery setup
    ✔ Manage
    ✔ Existing cluster
    [Use arrow keys]
    ? Select `cleanup` to remove an existing GCP cluster
      ➤ cleanup
        BACK
    
  5. Confirm clean up option.

    cellery setup
    ✔ Manage
    ✔ Existing cluster
    ✔ cleanup
    Use the arrow keys to navigate: ↓ ↑ → ←
    ? Do you want to delete the cellery runtime (This will delete all your cells and data):
      ▸ Yes
        No
    
  6. Select whether to remove istio or not.

    cellery setup
    ✔ Manage
    ✔ Existing cluster
    ✔ cleanup
    ✔ Yes
    Use the arrow keys to navigate: ↓ ↑ → ←
    ? Remove istio:
      ▸ Yes
        No
    
  7. Cellery will be uninstalled from the selected environment. If local vm setup is used clean up, will remove the vm.

    cellery setup
    ✔ Manage
    ✔ Existing cluster
    ✔ cleanup
    ✔ Yes
    ✔ Yes
    ✔ Cleaning up cluster 
    

Non-Interactive Mode

Cleanup

Setup Command Description
Local cellery setup cleanup local This will cleanup the local VM image that was created
GCP cellery setup cleanup gcp <CLUSTER_NAME> This will cleanup the GCP cluster and the resources that was spawned during the setup including NFS, MySQL server instances, and so on.
Existing Cluster cellery setup cleanup existing <CLUSTER_NAME> [--istio] [--ingress] This will clean up the pods in the cellery-system namespace. Additionally, users can cleanup the istio and nginx-ingress namespaces by passing --istio and --ingress flags respectively

What's Next?

  • Installation Options - lists all installation options with Cellery.
  • Modify the setup - instructions to adding and removing selected components to the current cellery installation.
  • Switch setup - steps to switch and work with multiple cellery installations.
  • Developing a Cell - step by step explanation on how you could define your own cells.