vmware-archive / kind-on-c

Make it easy to run kind as a concourse task -- hopefully!
MIT License
24 stars 8 forks source link

kind-on-c should not use the deprecated `--loglevel` flag for kind #4

Closed hoegaarden closed 5 years ago

hoegaarden commented 5 years ago

As stated e.g. in the "kind master with k8s-master" test in the deprecation message, we should move to using -v & -q instead of --loglevel:

  [...]
[INF] /tmp/build/f541ec31/bin/kubectl: Client Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.0-alpha.0.1809+ff8716f4cf6180", GitCommit:"ff8716f4cf6180771615865428fe45f529add46b", GitTreeState:"clean", BuildDate:"2019-09-25T23:11:25Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
[INF] kmsg-linker starting in the background
WARNING: --loglevel is deprecated, please switch to -v and -q!
Creating cluster "kind" ...
 ✓ Ensuring node image (kind/local-image:v1.17.0-alpha.0-1809-gff8716f4cf) 🖼
 ✓ Preparing nodes 📦📦📦 
 ✓ Creating kubeadm config 📜 
  [...]