kube-spawn icon indicating copy to clipboard operation
kube-spawn copied to clipboard

Add a smoke test script

Open schu opened this issue 6 years ago • 3 comments

The script, for instance ./tests/smoke.sh, would

  • do a clean kubeadm-nspawn Vagrant setup,
  • use kubectl to verify the successful setup of k8s,
  • do a deploy and
  • query the deployed service to verify it's running.

schu avatar Jul 11 '17 11:07 schu

To check k8s setup? kubectl -n kube-system get nodes

What can we deploy to test? https://github.com/kubernetes/kubernetes/tree/master/examples/https-nginx minus TLS?

robertgzr avatar Jul 13 '17 11:07 robertgzr

Or maybe https://github.com/kubernetes/kubernetes/tree/master/examples/guestbook

robertgzr avatar Jul 13 '17 11:07 robertgzr

To check k8s setup?

Yes, a minimal script to test everything (that is expected to work) works as expected.

schu avatar Jul 13 '17 11:07 schu