Skip to content

Get the Azure-Samples/aks-store-demo to Score and Humanitec

Notifications You must be signed in to change notification settings

Humanitec-DemoOrg/aks-store-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aks-store-demo

Get the Azure-Samples/aks-store-demo to Score and Humanitec.

Open in GitHub Codespaces

Local deployment

You will need to install score-compose locally.

Deploy locally:

make compose-up

Humanitec deployment

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}

About

Get the Azure-Samples/aks-store-demo to Score and Humanitec

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published