-
To build images with custom tags, run the
make docker-build
as follows:export REGISTRY="<container-registry>" export MANAGER_IMAGE_TAG="<image-tag>" # optional - defaults to `dev`. make docker-build
-
Push your docker images:
2.1. Login to your container registry using
docker login
.e.g.,
docker login quay.io
2.2. Push to your custom image registry:
REGISTRY="<container-registry>" MANAGER_IMAGE_TAG="<image-tag>" make docker-push
Set your docker credentials as envvars
export DOCKER_USERNAME=<CR_USERNAME>
export DOCKER_PASSWORD=<CR_PASSWORD>
Set the following envvars
export AZURESTACKHCI_CLOUDAGENT_FQDN=<>
export AZURESTACKHCI_BINARY_LOCATION=<>
When you are ready to test your change, just run:
make deployment
That will take care of bringing everything up for you.
Once you are done testing with the cluster, it can be fully removed by running...
make kind-reset