pkosiec / Quick-Start-Big-Bang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Big Bang Quick Start

This is a mirror of a government repo hosted on Repo1 by DoD Platform One. Please direct all code changes, issues and comments to https://repo1.dso.mil/platform-one/quick-start/big-bang

This is a small repo to help quickly test basic concepts of Big Bang on a local development machine.


What you need:

Nice to haves:

Instructions

Create the file terraform.tfvars and fill out below. You will need to get your Registry1 CLI secret from the user profile screen.

registry1_username="REPLACE_ME"
registry1_password="REPLACE_ME"

Deploy Big Bang onto the new cluster

# Initialize k3d
./init-k3d.sh

# Initialize & apply terraform (type yes at prompt)
terraform init
terraform apply

# Watch the deployments
watch kubectl get kustomizations,hr,po -A

# Get a list of http endpoints
kubectl get vs -A

Teardown

# Big bang teardown (optional, takes several minutes & just reverts back to an empty cluster)
terraform destroy

# k3d teardown
k3d cluster delete big-bang-quick-start

About

License:Apache License 2.0


Languages

Language:HCL 52.8%Language:Shell 47.2%