Deployment
Kubernetes
Prerequisites
- Integration apps configured
- Backend and Frontend environment variables set up
Deployment
Step 1: Setting Up Your GitHub Access Token for Cloning
1.1. Obtain Your Cloning Access Token
- Reach out to the Duckie team for your
cloning_access_token
- You can contact us at founders@duckie.ai
1.2. Set up the token on your machine
Once you have received your cloning_access_token
, follow these steps to set it up:
-
Enter the following command, replacing
your_cloning_access_token_here
with the actual token you received: -
To verify that the token has been set correctly, you can echo the variable: This should display your token.
Step 2: Cloning the Duckie Repository
To clone a Git repository, you can use the git clone
command. Follow the steps below:
-
Open your terminal or command prompt.
-
Use the following command to clone the repository:
Step 3: Create a new configmaps.yaml
file in the kube_setup
directory
- Navigate to the
kube_setup
directory - Create a new file named
configmaps.yaml
- Paste the contents of the configmaps.yaml file into your
configmaps.yaml
file using the example below as a template - Use the
default_values.yaml
file to set the default values for the configurations, or configure your own in thesuperbase-kubernetes
directory
Step 4: Deploying the Duckie Application
To deploy the Duckie application, follow the steps located in the README.md
in the kubernetes
directory.