mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-11 22:50:04 +00:00
Merge pull request #202 from fluxcd/arch
Add ARM64 support to install/bootstrap
This commit is contained in:
commit
f4d78cc08e
18 changed files with 63 additions and 36 deletions
|
|
@ -9,6 +9,7 @@ The bootstrap sub-commands bootstrap the toolkit components on the targeted Git
|
|||
### Options
|
||||
|
||||
```
|
||||
--arch string arch can be amd64 or arm64 (default "amd64")
|
||||
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
|
||||
-h, --help help for bootstrap
|
||||
--image-pull-secret string Kubernetes secret name used for pulling the toolkit images from a private registry
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ gotk bootstrap github [flags]
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--arch string arch can be amd64 or arm64 (default "amd64")
|
||||
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
|
||||
--image-pull-secret string Kubernetes secret name used for pulling the toolkit images from a private registry
|
||||
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ gotk bootstrap gitlab [flags]
|
|||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
--arch string arch can be amd64 or arm64 (default "amd64")
|
||||
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
|
||||
--image-pull-secret string Kubernetes secret name used for pulling the toolkit images from a private registry
|
||||
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ gotk install [flags]
|
|||
### Options
|
||||
|
||||
```
|
||||
--arch string arch can be amd64 or arm64 (default "amd64")
|
||||
--components strings list of components, accepts comma-separated values (default [source-controller,kustomize-controller,helm-controller,notification-controller])
|
||||
--dry-run only print the object that would be applied
|
||||
--export write the install manifests to stdout and exit
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
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).
|
||||
|
||||
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`.
|
||||
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).
|
||||
|
||||
Verify that your cluster satisfies the prerequisites with:
|
||||
|
|
@ -47,6 +47,10 @@ gotk bootstrap <GIT-PROVIDER> \
|
|||
--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
|
||||
[release tag](https://github.com/fluxcd/toolkit/releases) e.g. `--version=v0.0.14`.
|
||||
|
||||
|
|
@ -169,6 +173,7 @@ Generate the toolkit manifests with:
|
|||
|
||||
```sh
|
||||
gotk install --version=latest \
|
||||
--arch=amd64 \ # on ARM64/AARCH64 clusters use --arch=arm64
|
||||
--export > ./my-cluster/gitops-system/toolkit-components.yaml
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue