Shows you a list of nodes and their associated labels + values in the cluster.
kubectl get nodes -o go-template='{{range .items }}{{.metadata.name}}{{"\n-----------\n"}}{{range $key, $value := .metadata.labels }}{{$key}}: {{$value}}{{"\n"}}{{end}}{{"\n"}}{{end}}'
Shows you a list of nodes and their associated annotations + values in the cluster.
kubectl get nodes -o go-template='{{range .items }}{{.metadata.name}}{{"\n-----------\n"}}{{range $key, $value := .metadata.annotations }}{{$key}}: {{$value}}{{"\n"}}{{end}}{{"\n"}}{{end}}'