Klopac is a tool that let's you easily provision your infrastructure and applications. Cloud or on-premise it can schedule its runners anywhere so its extendable and scalable. Making job easier with default configurations but also lets users fine tune with YAML formatted configuration files.
Current and upcoming releases listed below.
Release | Release Date |
---|---|
1.0-beta | 18.04.2023 |
0.1-alpha | 17.05.2022 |
- Clone klopac repository
- Set your working dir as repository folder
- Create two folders named 'bundle' and 'inputs'
- Create a file named 'input.yaml' under 'inputs' folder (You can use example input.yaml content below for AWS)
---
# inputs.yaml example
engine:
enabled: true
gitops:
enabled: true
img:
enabled: true
ins:
enabled: true
int:
enabled: true
platform:
environment: <environment name>
name: <platform name>
provider:
auth:
id: ''
key: ''
type: id
aws: #aws specific variables
iam:
policy: <user policy>
role:
arn: <role resource name>
ec2:
master:
instanceType: <instance type>
worker:
instanceType: <instance type>
vpc:
id: <vpc-id>
subnet:
id1: <subnet1-id>
id2: <subnet2-id>
name: <provider> #like aws
region1: <region1-id>
region2: <region2-id>
type: <type> #like ec2
sourceimg: <image-id>
- Execute command below. Whole platform creation should take 20-23 minutes after that.
docker run --rm -v $PWD/inputs:/data/inputs -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/data/repo -v $PWD/bundle:/data/bundle kloiadocker/klopac-runner:latest entrypoint --valuesFile=/data/inputs/input.yaml
- If command doesn't encounter any errors files below should get created under 'bundle' folder.
-rw-r--r-- 1 user staff 27K date bundle.tar.gz
-rw-r--r--@ 1 user staff 2.9K date klopac-dev.kubeconfig
-rw-r-----@ 1 user staff 584B date output.md
-rwxr-x---@ 1 user staff 674B date output.yaml
-rw-r--r--@ 1 user staff 70K date terraform.tfstate
Klopac repository licensed under MIT. Such contributions are always welcome. To fill a bug, suggest an improvement or request a new feature open an issue against Klopac repository.
Refer to our contribution guideline for more information about how you can get involved.
This repository (Klopac) licensed under MIT.