SKE (STACKIT Kubernetes Engine)
Pre-requisites
The following pre-requisites are required to deploy Scrumlr using SKE:
- STACKIT Project
- Service Account with a valid Token for the STACKIT API
Deployment
Clone the Repository
Deploy SKE and Postgres Flex using Terraform
In order to gurantee the correct deployment of SKE and Postgres Flex, you can use our premade Terraform code.
You need to create a terraform.tfvars
file with the following variables:
Now you can deploy SKE and Postgres Flex using Terraform.
Deploy Scrumlr
Now that you have successfully deployed SKE and Postgres Flex, you can deploy Scrumlr.
We have created a bash script which will bootstrap the deployment of Scrumlr.
For this to work you need an active kubectl
context.
If you used the terraform code above, we recommend using kubecm
for managing your kubectl contexts.
You can install kubecm from here.
Switch to the external cluster context:
Now you can deploy Scrumlr using the following command:
Make sure to replace <DB_URL>
with the URL of your Postgres Flex instance.
You can view the url by running the following command:
DNS Configuration
During Execution the script will ask you to enter the domain you want to use for Scrumlr. This requires a DNS entry pointing to the LoadBalancer IP of the Ingress Controller. You can either use your own DNS provider or use the STACKIT DNS service. STACKIT provides free DNS subdomains you can use. You need to create the following A records:
www.<your-domain>
pointing to the LoadBalancer IP<your-domain>
pointing to the LoadBalancer IP After creating the necessary A record simply enterwhen prompted by the script and press enter.