зеркало из https://github.com/Azure/ARO-RP.git
1.6 KiB
1.6 KiB
Hive
Version
The commit sha is used to specify the image tag and also used during config generation to checkout the correct version of the config files. The config files are subsequently used by the hack/hive-dev-install.sh
script during installation or during config updates.
- You can either
- Provide the hive image commit has as an argument to
hack/hive-generate-config.sh
. This is useful for testing new hive images before hive releases.- Example:
./hack/hive-generate-config.sh d7ead609f4
- Example:
- Accept the default version by providing no arguments, which should be the latest.
- Example:
./hack/hive-generate-config.sh
- Example:
- Provide the hive image commit has as an argument to
Generating config
In order to generate config for a dev environment you need to ensure you have the correct LOCATION
is set in your env file. Once this is done you can simply run the config generation script.
# source your environment file
. ./env
# run the config generation
./hack/hive-generate-config.sh
This will download the latest source, reset to the hash specified in HIVE_IMAGE_COMMIT_HASH, and build the config using kustomise.
Installing
- Connect to the appropriate aks vpn
- vpn-aks-westeurope.ovpn
- vpn-aks-australiaeast.ovpn
- vpn-aks-australiaeast.ovpn
- Ensure you have the latest AKS kubeconfig
# get the AKS kubeconfig . ./env make aks.kubeconfig
- Set KUBECONFIG to the aks.kubeconfig file, for example:
export KUBECONFIG="$PWD/aks.kubeconfig"
- Installing then simply requires the running of the install script.
./hack/hive-dev-install.sh