Skip to content

observabilitystack/spotlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐞 AWS Spotlight Infrastructure As Code

This is the source code for spotlight.o11y.cool, the quick and easy comparism site for AWS spot prices for the last couple of years.

πŸš€ Deployment

Deploy the following YAML spaghetti to the Kubernetes cluster of your choice. We utilize envsubst as our poor mans templating engine:

cat << EOF > secrets.env
aws_access_key="..."
aws_secret_access_key="..."
grafana_domain=spotlight.o11y.cool
grafana_admin_password="..."
EOF
kubectl create namespace o11y-cool
kubectl create configmap spotlight-dashboard --namespace=o11y-cool --from-file=aws-spot-price-dashboard.json
set -a; source secrets.env;set +a;
envsubst < manifests/configuration.yaml | kubectl apply -f -
envsubst < manifests/deployment.yaml | kubectl apply -f -

About

Infrastructure for spotlight.o11y.cool

Topics

Resources

Stars

Watchers

Forks