/Knative-Temp

This repository is a boilerplate code for Knative projects. Knative is a Kubernetes-based platform for running serverless.

Primary LanguageHCL

Knative-Temp

This repository is a boilerplate code for Knative projects. Knative is a Kubernetes-based platform for running serverless. Serverless means you can scale your application to 0 running instances but those instances to quickly scale up to N number of instances within a few seconds. Anyone who wants to use Knative for their projects can use this repository for reference.

Requirements

Running the code

1. Clone this repo

git clone https://github.com/aritra1804/Knative-Temp.git
cd Knative-Temp

2. Initialize Terraform

Create an account on Linode and get an API Key in your Linode account here.

Once you have a key, do the following:

echo "linode_api_token=\"YOUR_API_KEY\"" >> terraform.tfvars
echo "k8s_node_type=\"g6-standard-2\"" >> terraform.tfstate

Now run

terraform init

Now you can run the different scripts needed as per requirement to add services to your project.