feat(scripts): add script to show homelab status

This commit is contained in:
Khue Doan 2021-12-05 08:56:18 +07:00
parent c64842743b
commit 210cc1efa0
3 changed files with 15 additions and 1 deletions

View File

@ -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 <https://home.example.com>.
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.

View File

@ -1,5 +1,6 @@
# DNS setup
Before you can access the home page at <https://home.example.com>, 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):

7
scripts/get-status Executable file
View File

@ -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