From a6e29d336d1a169a8d601a0272a6be7ade0424c5 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Wed, 29 Sep 2021 08:59:07 -0400 Subject: [PATCH] chore: move debugging docs to wiki Signed-off-by: Devin Buhl --- README.md | 54 +----------------------------------------------------- 1 file changed, 1 insertion(+), 53 deletions(-) diff --git a/README.md b/README.md index 250f1af4..49847e84 100644 --- a/README.md +++ b/README.md @@ -328,59 +328,7 @@ It will automatically decrypt you SOPS secrets when you click on the file in the ### :point_right:  Debugging -Manually sync Flux with your Git repository - -```sh -flux --kubeconfig=./kubeconfig reconcile source git flux-system -# ► annotating GitRepository flux-system in flux-system namespace -# ✔ GitRepository annotated -# ◎ waiting for GitRepository reconciliation -# ✔ GitRepository reconciliation completed -# ✔ fetched revision main/943e4126e74b273ff603aedab89beb7e36be4998 -``` - -Show the health of you kustomizations - -```sh -kubectl --kubeconfig=./kubeconfig get kustomization -A -# NAMESPACE NAME READY STATUS AGE -# flux-system apps True Applied revision: main/943e4126e74b273ff603aedab89beb7e36be4998 3d19h -# flux-system core True Applied revision: main/943e4126e74b273ff603aedab89beb7e36be4998 4d6h -# flux-system crds True Applied revision: main/943e4126e74b273ff603aedab89beb7e36be4998 4d6h -# flux-system flux-system True Applied revision: main/943e4126e74b273ff603aedab89beb7e36be4998 4d6h -``` - -Show the health of your main Flux `GitRepository` - -```sh -flux --kubeconfig=./kubeconfig get sources git -# NAME READY MESSAGE REVISION SUSPENDED -# flux-system True Fetched revision: main/943e4126e74b273ff603aedab89beb7e36be4998 main/943e4126e74b273ff603aedab89beb7e36be4998 False -``` - -Show the health of your `HelmRelease`s - -```sh -flux --kubeconfig=./kubeconfig get helmrelease -A -# NAMESPACE NAME READY MESSAGE REVISION SUSPENDED -# cert-manager cert-manager True Release reconciliation succeeded v1.5.2 False -# default hajimari True Release reconciliation succeeded 1.1.1 False -# networking ingress-nginx True Release reconciliation succeeded 3.30.0 False -``` - -Show the health of your `HelmRepository`s - -```sh -flux --kubeconfig=./kubeconfig get sources helm -A -# NAMESPACE NAME READY MESSAGE REVISION SUSPENDED -# flux-system bitnami-charts True Fetched revision: 0ec3a3335ff991c45735866feb1c0830c4ed85cf 0ec3a3335ff991c45735866feb1c0830c4ed85cf False -# flux-system hajimari-charts True Fetched revision: 1b24af9c5a1e3da91618d597f58f46a57c70dc13 1b24af9c5a1e3da91618d597f58f46a57c70dc13 False -# flux-system ingress-nginx-charts True Fetched revision: 45669a3117fc93acc09a00e9fb9b4445e8990722 45669a3117fc93acc09a00e9fb9b4445e8990722 False -# flux-system jetstack-charts True Fetched revision: 7bad937cc82a012c9ee7d7a472d7bd66b48dc471 7bad937cc82a012c9ee7d7a472d7bd66b48dc471 False -# flux-system k8s-at-home-charts True Fetched revision: 1b24af9c5a1e3da91618d597f58f46a57c70dc13 1b24af9c5a1e3da91618d597f58f46a57c70dc13 False -``` - -Flux has a wide range of CLI options available be sure to run `flux --help` to view more! +If you are stuck be sure to check out the [template-cluster-k3s/wiki](https://github.com/k8s-at-home/template-cluster-k3s/wiki) or start a new thread in the #support channel on our [Discord](https://digcord.gg/k8s-at-home). ### :robot:  Automation