Cellery allows you to enable/disable different system components so that you can modify your runtime for your requirements.
Note: You may need to redeploy the cells which uses OIDC Dynamic client registration when you enable/disable API Management
-
Run
cellery setup
command.cellery setup
-
Select modify option.
cellery setup [Use arrow keys] ? Setup Cellery runtime Create Manage ➤ Modify Switch EXIT
If you want to enable/disable API Management with Global gateway, go into API Manager
option and select enable
or disable
. Select Yes, Apply changes
to apply the change.
See inline commands to perform this with one step.
cellery setup
✔ Modify
✔ API Manager
✔ Disable
[Use arrow keys]
? Have you finished modifying the runtime
➤ Yes, Apply changes
No, Modify another component
If you want to enable/disable Observability, go into Observability
option and select enable
or disable
. Select Yes, Apply changes
to apply the change.
See inline commands to perform this with one step.
cellery setup
✔ Modify
...
✔ Observability
[Use arrow keys]
? Observability
➤ Enable
BACK
If you want to enable/disable Autoscaler, go into Zero-Scaling
and/or Horizontal Pod Autoscaler
options and select enable
or disable
. Select Back
after the selection. You can select either Zero-Scaling
or Horizontal Pod Autoscaler
or enable both at the same time.
Once this is enabled, based on the configurations provided in the components, the scaling policies will be applied. Select Yes, Apply changes
to apply the change.
and come to modify command main menu options. See inline commands to perform this with one step.
cellery setup
✔ Modify
....
✔ Autoscaler
[Use arrow keys]
? Select a runtime component
➤ Scale-to-Zero
Horizontal Pod Autoscaler
BACK
- Once you select a change you will be asked whether to apply the change or whether to modify another component. Select
Yes, Apply changes
to apply the changes.
cellery setup
✔ Modify
✔ API Manager
✔ Disable
[Use arrow keys]
? Have you finished modifying the runtime
➤ Yes, Apply changes
No, Modify another component
- The prompt will be appearing with components that is being enabled and disabled, and asking a confirmation to continue.
Validate your changes by reviewing the list, and select
yes
to continue.
✔ Modify
✔ API Manager
✔ Disable
✔ No, Modify another component
✔ Observability
✔ Disable
✔ No, Modify another component
✔ Autoscaler
✔ Scale-to-Zero
✔ Disable
✔ Yes, Apply changes
Following modifications to the runtime will be applied
Disabling : API Manager, Observability, Scale-to-Zero
Use the arrow keys to navigate: ↓ ↑ → ←
? Do you wish to continue:
▸ Yes
No
-
Run
cellery setup modify --help
to see the available optionsModify Cellery runtime Usage: cellery setup modify <command> [flags] Examples: cellery setup modify --apim=enable --observability=disable Flags: --apim string enable or disable API Management in the runtime -h, --help help for modify --hpa string enable or disable hpa in the runtime --observability string enable or disable observability in the runtime --scale-to-zero string enable or disable scale to zero in the runtime Global Flags: -k, --insecure Allow insecure server connections when using SSL -v, --verbose Run on verbose mode
-
Use appropriate flags to enable/disable system components
# Enable API Management and Observability cellery setup modify --apim=enable --observability=enable # Enable horizontal autoscaler and disable scale to zero cellery setup modify --hpa=enable --scale-to-zero=disable
- Developing a Cell - step by step explanation on how you could define your own cells.
- Scale up/down - scalability of running cell instances with zero scaling and horizontal autoscaler.
- Observability - provides the runtime insight of cells and components.