We use Civo for our production kubernetes hosting. We do this because their pricing is/was the most competitive at the time of development. As the project scales up, our host is subject to change.
By default, Civo uses Traefik as the proxy into our cluster. Our Ingress serves as the main entrypoint to our application.
We use a staging ingress that uses staging based TLS keys. These keys are, for all intents and purposes, useless outside of testing.
You can deploy the ingress using the following:
cd build
make k_deploy_ingress_staging
kubectl apply -f k8s/ingress-traefik-staging.yml
You can deploy the ingress using the following:
cd build
make k_deploy_ingress_prod
kubectl apply -f k8s/ingress-traefik-prod.yml
Confirm your ingress is up and running:
kubectl get ing ## Confirm you see 3 entries # 1. cultivate-finance-base-ingress # 2. cultivate-finance-ingress-www # 3. cultivate-finance-ingress-base-dns
You can find the guide for deploying our web application to our kubernetes cluster here: Building and Running the Webapp in Kubernetes production
You can find the guide for deploying our Wiki documentation to our kubernetes cluster here: Building and Running the Wiki in Kubernetes production