From 210cc1efa0eecfd42e4019422323729701e4a7df Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 5 Dec 2021 08:56:18 +0700 Subject: [PATCH] feat(scripts): add script to show homelab status --- docs/src/deployment/deployment.md | 8 +++++++- docs/src/deployment/dns.md | 1 + scripts/get-status | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100755 scripts/get-status diff --git a/docs/src/deployment/deployment.md b/docs/src/deployment/deployment.md index 2286545c..3e04aa9e 100644 --- a/docs/src/deployment/deployment.md +++ b/docs/src/deployment/deployment.md @@ -14,4 +14,10 @@ Build the lab: make ``` -Yes it's that simple! Continue to the next section to update your DNS before you can access the home page at . +Yes it's that simple! Check the status using the following command: + +```sh +./scripts/get-status +``` + +While waiting for all services to become healthy, continue to the next section to update your DNS. diff --git a/docs/src/deployment/dns.md b/docs/src/deployment/dns.md index 35cea782..e3f491cf 100644 --- a/docs/src/deployment/dns.md +++ b/docs/src/deployment/dns.md @@ -1,5 +1,6 @@ # DNS setup +Before you can access the home page at , you'll need to update your DNS config. Because everyone DNS setup are different, DNS automation is not in the scope of the project. Some options for DNS config (choose one): diff --git a/scripts/get-status b/scripts/get-status new file mode 100755 index 00000000..2060e908 --- /dev/null +++ b/scripts/get-status @@ -0,0 +1,7 @@ +#!/bin/sh + +export KUBECONFIG=./metal/kubeconfig.yaml + +kubectl get applicationsets --namespace argocd +kubectl get applications --namespace argocd +kubectl get ingress --all-namespaces