feat(scripts): add script to get list of ingresses

This commit is contained in:
Khue Doan 2021-11-28 23:19:08 +07:00
parent 5c2a3b2360
commit 411ee69501

4
scripts/get-dns-config Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
export KUBECONFIG=./metal/kubeconfig.yaml
kubectl get ingress --all-namespaces --no-headers --output custom-columns="ADDRESS:.status.loadBalancer.ingress[0].ip,HOST:.spec.rules[0].host"