Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.07 KB

development.md

File metadata and controls

53 lines (36 loc) · 1.07 KB

Development guide

Building and pushing dev images

  1. 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
  2. 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

Deploying with a private image.

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