Skip to content

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.envaws_access_key="..."aws_secret_access_key="..."grafana_domain=spotlight.o11y.coolgrafana_admin_password="..."grafana_secret_key="..."EOF
kubectl create namespace o11y-cool
kubectl create configmap spotlight-dashboard \
--namespace=o11y-cool \
--from-file=aws-spot-price-dashboard.json \
--dry-run=client -o yaml | kubectl apply -f -
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

0 stars

Watchers

1 watching

Forks

Used by

Contributors