Skip to content

Infrastructure as a code including Tekton Pipelines

License

Notifications You must be signed in to change notification settings

markotitel/infra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure

This repo contains Terraform code for deploying Kubernetes cluster on DigitalOcean, preparing the cluster for dpeloying applications and pipeline for the Ordertracker API service.

Terraform

The Kubernetes cluster is initialized using the Terraform k8s module, based on the ENV variables saved in the .env file, a Kubernetes cluster will be launched on DigitalOcean.

Scripts

Few several scripts are presented on the repo for:

  • Initializing the infrastructure
  • Scaling the infrastructure
  • Destroying the infrastructure

Tektoncd

The Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. In the pipelines/ directory we have Kubernetes manifest files for setting up:

  • Pipeline Resources
  • Pipeline
  • Tasks
  • PipelineRun for executing the created Pipeline

Usage

For initializing the infrastructure use:

make init

For scaling the infrastructure use:

make scale NODES=<number-of-nodes> SIZE=<node-size>

For destroying the infrastructure use:

make destroy

About

Infrastructure as a code including Tekton Pipelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 71.0%
  • HCL 21.8%
  • Makefile 7.2%