Deploying Action Stores to Local Runners

You bundled your custom action store? Let's get it deployed on your environment
You'll need to setup a local runner in order to deploy an action store. For more information on how to create local runners please refer to the local runners documentation
Kubiya enables easy and efficient deployment of action stores to local runners using a rolling-update deployment mechanism. The platform offers a hassle-free and user-friendly way to deploy action stores by leveraging the "action-store deploy" CLI command. This command allows you to deploy an existing action store to a single or multiple local runners with ease.
To deploy an existing action store using the CLI, follow the steps below:
  1. 1.
    Open your terminal and navigate to the directory where your Kubiya project is located. Make sure you have the latest version of Kubiya installed on your system.
  2. 2.
    Run the "action-store deploy" command followed by the name of the action store you wish to deploy. For example, if your action store is named "my-action-store", you would enter the following command:
    kubiya action-store deploy my-action-store --store-name action-store --image <image-url> --runners runner-a,runner-b,runner-c
    Optionally, you can add some flags to customize the deployment. For instance, you can specify environment variables, more then a single runner to deploy to. Here is an example of how to use these flags:
kubiya action-store deploy my-action-store --env key=value --image <image-url> --runners runner-a,runner-b,runner-cash
The "--env" flag allows you to pass environment variables to your application. The "--image" flag allows you to specify the URL of the container image to use for your application. Finally, the "--runners" flag allows you to specify the runners that you want to deploy your application to.
  1. 1.
    Kubiya will automatically detect any local runners available and begin deploying the action store to them using a rolling-update deployment mechanism. The platform will also perform health checks to ensure that the application is running smoothly.
That's it! You have now successfully deployed your application to the specified local runners using Kubiya. With Kubiya's easy-to-use CLI command and rolling-update deployment mechanism, you can enjoy a seamless and efficient deployment experience. Use the webapp to run one of those actions or go to Slack and ask Kubi to trigger one of those actions.