make help
- for getting full list of commands
make docker-build
- build docker imagesmake docker-up
- up & running docker containers make docker-down
- down docker containershttp://localhost:7373/rates
- apihttp://localhost:3000/
- uimake create-secrets username={github_username} token={github_token}
- generate secrets for github registrymake deploy-secrets
- deploying github-registry.yaml
for pulling private imagesmake deploy-coin-board-dev
- deploying applicationsmake deploy-monitoring-dev
- deploying infrastructure for monitoringApplications:
kubectl port-forward <api_pod_name> 7373:7373
- for access to api http://localhost:7373/rates
.kubectl port-forward <ui_pod_name> 3000:3000
- for access to ui http://localhost:3000/
.Monitoring tools:
kubectl port-forward prometheus-stateful-set-0 9090:9090 -n monitoring
- for access to prometheus http://localhost:9090/
kubectl port-forward grafana-stateful-set-0 3000:3000 -n monitoring
- for access to grafana http://localhost:3000/
make create-secrets username={github_username} token={github_token}
- generate secrets for github registrymake deploy-secrets
- deploying github-registry.yaml
for pulling private imagesmake deploy-ingress-controller
- deploying ingress-controller make deploy-cert-manager
- deploying cert-manager make 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 immediatelyApplications:
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 prometheus http://localhost:9090/
kubectl port-forward grafana-stateful-set-0 3000:3000 -n monitoring
- for access to grafana http://localhost:3000/