Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History

k8s-the-hard-way

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

example stackql-deploy stack

Based upon the Kubernetes the Hard Way project.

about stackql-deploy

stackql-deploy is a multi cloud deployment automation and testing framework which is an alternative to Terraform or similar IaC tools. stackql-deploy uses a declarative model/ELT based approach to cloud resource deployment (inspired by dbt). Advantages of stackql-deploy include:

  • declarative framework
  • no state file (state is determined from the target environment)
  • multi-cloud/omni-cloud ready
  • includes resource tests which can include secure config tests

instaling stackql-deploy

stackql-deploy is installed as a python based CLI using...

pip install stackql-deploy

getting started with stackql-deploy

Once installed, use the init command to scaffold a sample project directory to get started:

stackql-deploy init k8s-the-hard-way

this will create a directory named k8s-the-hard-way which can be updated for your stack, as you can see in this project.

deploying using stackql-deploy

export GOOGLE_CREDENTIALS=$(cat ./creds.json)
# deploy a stack
stackql-deploy build \
k8s-the-hard-way \
dev \
-e GOOGLE_PROJECT=stackql-k8s-the-hard-way-demo \
--dry-run \
--log-leve DEBUG

# test a stack
stackql-deploy test \
examples/k8s-the-hard-way \
dev \
-e GOOGLE_PROJECT=stackql-k8s-the-hard-way-demo \
--dry-run

# teardown a stack
stackql-deploy teardown \
k8s-the-hard-way \
dev \
-e GOOGLE_PROJECT=stackql-k8s-the-hard-way-demo \
--dry-run