Add ARM64 to install docs and script
This commit is contained in:
@@ -26,7 +26,7 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
|
|||||||
```
|
```
|
||||||
|
|
||||||
The install script downloads the gotk binary to `/usr/local/bin`.
|
The install script downloads the gotk binary to `/usr/local/bin`.
|
||||||
Binaries for macOS and Linux AMD64 are available for download on the
|
Binaries for macOS and Linux AMD64/ARM64 are available for download on the
|
||||||
[release page](https://github.com/fluxcd/toolkit/releases).
|
[release page](https://github.com/fluxcd/toolkit/releases).
|
||||||
|
|
||||||
To configure your shell to load gotk completions add to your bash profile:
|
To configure your shell to load gotk completions add to your bash profile:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
|
|||||||
```
|
```
|
||||||
|
|
||||||
The install script downloads the gotk binary to `/usr/local/bin`.
|
The install script downloads the gotk binary to `/usr/local/bin`.
|
||||||
Binaries for macOS and Linux AMD64 are available for download on the
|
Binaries for macOS and Linux AMD64/ARM64 are available for download on the
|
||||||
[release page](https://github.com/fluxcd/toolkit/releases).
|
[release page](https://github.com/fluxcd/toolkit/releases).
|
||||||
|
|
||||||
Verify that your cluster satisfies the prerequisites with:
|
Verify that your cluster satisfies the prerequisites with:
|
||||||
@@ -47,6 +47,10 @@ gotk bootstrap <GIT-PROVIDER> \
|
|||||||
--version=latest
|
--version=latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
!!! hint "ARM64"
|
||||||
|
When deploying to a Kubernetes cluster with ARM 64-bit architecture,
|
||||||
|
you can use `--arch=arm64` to pull the linux/arm64 toolkit container images.
|
||||||
|
|
||||||
If you wish to install a specific version, use the toolkit
|
If you wish to install a specific version, use the toolkit
|
||||||
[release tag](https://github.com/fluxcd/toolkit/releases) e.g. `--version=v0.0.14`.
|
[release tag](https://github.com/fluxcd/toolkit/releases) e.g. `--version=v0.0.14`.
|
||||||
|
|
||||||
@@ -169,6 +173,7 @@ Generate the toolkit manifests with:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
gotk install --version=latest \
|
gotk install --version=latest \
|
||||||
|
--arch=amd64 \ # on ARM64/AARCH64 clusters use --arch=arm64
|
||||||
--export > ./my-cluster/gitops-system/toolkit-components.yaml
|
--export > ./my-cluster/gitops-system/toolkit-components.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,9 @@ setup_verify_arch() {
|
|||||||
ARCH=$(uname -m)
|
ARCH=$(uname -m)
|
||||||
fi
|
fi
|
||||||
case ${ARCH} in
|
case ${ARCH} in
|
||||||
|
arm64)
|
||||||
|
ARCH=arm64
|
||||||
|
;;
|
||||||
amd64)
|
amd64)
|
||||||
ARCH=amd64
|
ARCH=amd64
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user