make help
- for getting full list of commands
make docker-build
- build docker imagesmake docker-up
- up & running docker containersmake docker-down
- down docker containers
http://localhost:7373/rates
- apihttp://localhost:3000/
- ui
make create-secrets username={github_username} token={github_token}
- generate secrets for github registrymake deploy-secrets
- deployinggithub-registry.yaml
for pulling private imagesmake deploy-coin-board-dev
- deploying applications- (optional)
make deploy-monitoring-dev
- deploying infrastructure for monitoring
Applications:
kubectl port-forward <api_pod_name> 7373:7373
- for access to apihttp://localhost:7373/rates
.kubectl port-forward <ui_pod_name> 3000:3000
- for access to uihttp://localhost:3000/
.
Monitoring tools:
kubectl port-forward prometheus-stateful-set-0 9090:9090 -n monitoring
- for access to prometheushttp://localhost:9090/
kubectl port-forward grafana-stateful-set-0 3000:3000 -n monitoring
- for access to grafanahttp://localhost:3000/
make create-secrets username={github_username} token={github_token}
- generate secrets for github registrymake deploy-secrets
- deployinggithub-registry.yaml
for pulling private imagesmake deploy-ingress-controller
- deploying ingress-controllermake deploy-cert-manager
- deploying cert-managermake deploy-cluster-issuer
- deploying cluster-issuermake deploy-coin-board-prod
- deploying applicationsmake deploy-monitoring-prod
- deploying infrastructure for monitoringmake trigger-export
- for exporting currency rates immediately- Enjoy!
Applications:
https://api.coin-board.io/rates
- apihttps://coin-board.io/
- ui
Monitoring tools:
kubectl port-forward prometheus-stateful-set-0 9090:9090 -n monitoring
- for access to prometheushttp://localhost:9090/
kubectl port-forward grafana-stateful-set-0 3000:3000 -n monitoring
- for access to grafanahttp://localhost:3000/