- Ballerina 1.0.3 If Ballerina 1.0.3 is not installed, Cellery will execute ballerina using Docker.
Kindly note that if you freshly installed minikube, you would have to execute minikube start
, create a temporary cluster and remove it. This is due to a known issue in minikube (kubernetes/minikube#5716).
This will setup the local environment, by creating a cellery runtime on a minikube cluster.
i. Execute cellery setup
command to configure Cellery runtime. This
will prompt a list of selections. By selecting create
section users can setup the Cellery runtime:
$ cellery setup
[Use arrow keys]
? Setup Cellery runtime
Manage
➤ Create
Modify
Switch
EXIT
ii. From the selections available for environment type, select Local
to proceed with local installation:
$ ✔ Create
[Use arrow keys]
? Select an environment to be installed
➤ Local
GCP
Existing cluster
BACK
iii. For the local setup, select the preferred installation type; Basic
or Complete
:
✔ Create
✔ Local
[Use arrow keys]
? Select the type of runtime
➤ Basic
Complete (Includes Api manager, Observability)
BACK
iv. Next, the CLI will prompt for confirmation to download and install the local setup:
✔ Create
✔ Local
✔ Complete (Includes Api manager, Observability)
Use the arrow keys to navigate: ↓ ↑ → ←
? This will create a Cellery runtime on a minikube cluster. Do you want to continue:
▸ Yes
No
v. Configure host entries once the cellery system is installed.
With the non-interactive method, creating the local setup with CLI commands with one go is supported. This supports both complete and basic setups as shown below:
Configure host entries once the cellery system is installed.
Execute the following command and get the minikube ip address of cellery-local-setup
minikube ip --profile cellery-local-setup
Add below to /etc/host entries to access cellery hosts.
<MINIKUBE_IP> wso2-apim cellery-dashboard wso2sp-observability-api wso2-apim-gateway cellery-k8s-metrics idp.cellery-system pet-store.com hello-world.com my-hello-world.com
Once the installation process is completed, you can try out quick start with cellery.
Please refer readme for managing cellery runtimes for details on how to clean up the setup.
- Developing a Cell - step by step explanation on how you could define your own cells.
- Cell Specification - key concepts of Cellery.
- How to code cells? - explains how Cellery cells are written.
- CLI commands - reference for CLI commands.
- Samples - a collection of useful samples.