Documentation for version v0.4.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
While the README pulls from the Heptio image registry, you can also build your own Heptio Ark container with the following steps:
Install with go:
go get github.com/heptio/ark
The files are installed in
You can build your Ark image locally on the machine where you run your cluster, or you can push it to a private registry. This section covers both workflows.
$REGISTRY environment variable (used in the
Makefile) if you want to push the Heptio Ark images to your own registry. This allows any node in your cluster to pull your locally built image.
$VERSION environment variables are also specified in the
Makefile, and can be similarly modified as desired.
Run the following in the Ark root directory to build your container with the tag
sudo make all
To push your image to a registry, use
When running Heptio Ark, you will need to account for the following (all of which are handled in the
See Cloud Provider Specifics for a more detailed guide.
Once your Ark deployment is up and running, you need to replace the Heptio-provided Ark image with the specific one that you built. You can do so with the following command:
kubectl set image deployment/ark ark=$REGISTRY/$PROJECT:$VERSION
$VERSION match what you used in the build step.
If you need to add or update the vendored dependencies, please see Vendoring dependencies.