Skip to content

Instantly share code, notes, and snippets.

@stefanprodan
Last active October 12, 2020 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanprodan/4a12b9c57d23cd0310c1fb51c8c348c5 to your computer and use it in GitHub Desktop.
Save stefanprodan/4a12b9c57d23cd0310c1fb51c8c348c5 to your computer and use it in GitHub Desktop.

Install the CLI:

brew tap fluxcd/tap
brew install gotk

# enable completion
. <(gotk completion zsh)

Install the control plane:

gotk install

Register an app repo source:

gotk create source git podinfo \
--url=https://github.com/stefanprodan/podinfo \
--tag-semver=">5.0.0"

Apply the app manifests on the cluster:

gotk create kustomization podinfo \
--source=podinfo \
--path="./kustomize/" \
--prune=true \
--interval=5m \
--validation=server \
--health-check="Deployment/podinfo.default"

Verify app:

kubectl get all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment