Skip to content

Deploying Siddhi Applications

After creating and testing a Siddhi application, you can to deploy it in Docker and Kubernetes.

To deploy your Siddhi application in docker, follow the procedure below:

  1. Open VSCode in the directory where your Siddhi application is located.
  2. Open the command palette by pressing Ctrl + Shift + P (or Cmd + Shift + P on macOS), and type SI: Deploy Siddhi Apps to Docker. Select this command.

    Deploy to Server Docker Option

    The Siddhi App selection dialog box opens as follows.

    Deploy Siddhi Apps to Docker

  3. Enter the Docker image name.

    Docker Image Name

  4. Select the JAR files of Siddhi extensions that you want to include in the Docker image. If you do not select any JAR files, the default Siddhi extensions are included.

    Select Siddhi Extensions

  5. Provide the export file name.

    Export File Name

  6. Once completed, a zip will be created in the workspace directory with the following structure:

    .
    ├── Dockerfile
    ├── README.md
    └── siddhi-files
        ├── <SIDDHI_FILE>.siddhi
        ├── ...
        └── <SIDDHI_FILE>.siddhi