Introduction
Installing the Operator
To install the image-builder
, run the following commands. This will ensure you're always pulling the latest stable release from the operator’s GitHub repository.
LATEST="$(curl -s 'https://api.github.com/repos/anza-labs/image-builder/releases/latest' | jq -r '.tag_name')"
kubectl apply -k "https://github.com/anza-labs/image-builder/?ref=${LATEST}"
This command:
- Fetches the latest release tag using the GitHub API.
- Applies the corresponding version of the
image-builder
to your Kubernetes cluster usingkubectl
.
Once installed, the operator will begin monitoring the appropriate resources in your cluster based on the CRDs defined.