Get the Azure-Samples/aks-store-demo to Score and Humanitec.
Deploy and test locally with Docker compose:
make compose-up
make compose-test
Deploy and test locally with Kind cluster:
make kind-create-cluster
make k8s-up
make k8s-test
You will need to install humctl
locally.
Deploy to Humanitec:
export HUMANITEC_ORG=FIXME
export HUMANITEC_APPLICATION=store-front
export HUMANITEC_ENVIRONMENT=development
humctl login
humctl create app ${HUMANITEC_APPLICATION} \
--name ${HUMANITEC_APPLICATION}
humctl apply \
-f resources/in-cluster-rabbitmq.yaml
humctl apply \
-f resources/in-cluster-mongodb.yaml
make humanitec-deploy
Get the generated DNS one the deployment is done:
humctl get active-resources \
--app ${HUMANITEC_APPLICATION} \
--env ${HUMANITEC_ENVIRONMENT} \
-o json \
| jq -c '.[] | select(.metadata.type | contains("dns"))' \
| jq -r .status.resource.host
Here is the associated resource graph generated by Humanitec:
humctl resources graph \
--app ${HUMANITEC_APPLICATION} \
--env ${HUMANITEC_ENVIRONMENT}