This toolkit enables deploying a three-node Kubernetes cluster on a Linux-based computer. It also deploys a Symfony application with a Mariadb database server.
Name | Version |
---|---|
Kind | ~> 0.23.0 |
kubectl | ~> 1.29 |
docker | ~> 27.0 |
- Create the cluster with namespaces, service accounts, secrets and the Nginx ingress controller:
make create-env
- Deploy the Mariadb database
make deploy-database
- Deploy the Symfony backend
make deploy-backend
- Wait one (01) minute for the ingress controller to be ready before exposing the backend via an ingress
make deploy-ingress
N.B: The command make dev
performs tasks 1, 2 and 3.
-
Once the backend is exposed, it will be reachable from the local host via http://localhost:80.
-
Clean up everything with the following command:
make clean