2 min read
If we need to write some script to retrieve a certain information that kubectl can provide, we can always add the option to remove headers and use something like awk to narrowit down. There's also a better way than doing this:
kubectl get ns --no-headers | awk '{ print $1 }'
31/08/2022
Read more...