代码语言:javascript
复制. <(flux completion bash)
代码语言:javascript
复制flux check --pre
代码语言:javascript
复制flux bootstrap github
--owner=$GITHUB_USER
--repository=fleet-infra
--branch=main
--path=./clusters/private-cloud
--personal
代码语言:javascript
复制flux create source git podinfo
--url=https://github.com/stefanprodan/podinfo
--branch=master
--interval=1m
--export > ./clusters/private-cloud/podinfo-source.yaml
代码语言:javascript
复制flux create kustomization podinfo
--target-namespace=default
--source=podinfo
--path="./kustomize"
--prune=true
--wait=true
--interval=30m
--retry-interval=2m
--health-check-timeout=3m
--export > ./clusters/private-cloud/podinfo-kustomization.yaml
代码语言:javascript
复制flux get kustomizations --watch
代码语言:javascript
复制suspend: true
or
flux suspend kustomization argocd
代码语言:javascript
复制suspend: false
or
flux resume kustomization argocd
代码语言:javascript
复制flux get all
ref
- https://fluxcd.io/flux/get-started/